/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 64 int entry; member in struct:menu_entry 164 struct menu_entry *entry; local 170 STAILQ_FOREACH(entry, menu, next) { 171 size_t bootfs_len = strlen(entry->bootfs); 184 struct menu_entry *entry; local 193 STAILQ_FOREACH(entry, menu, next) { 197 if (strcmp(be_node->be_root_ds, entry->bootfs) == 0) 203 entry->bootfs, entry->title); 209 hdr->cols[2].width, entry 321 struct menu_entry *entry; local 569 struct menu_entry *entry; local 663 bam_mount_be(struct menu_entry *entry, char **dir) argument 750 list_menu_entry(struct menu_entry *entry, char *setting) argument 931 struct menu_entry *entry; local 1135 int entry = -1; local [all...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | disk_link.c | 713 dvlist_t *entry; local 716 entry = *pp; 717 *pp = entry->dv_next; 718 assert(entry->dv_link); 719 free(entry->dv_link); 720 free(entry); 729 dvlist_t *entry = NULL; local 731 entry = calloc(1, sizeof (dvlist_t)); 732 if (entry == NULL) { 759 entry 784 dvlist_t *entry; local [all...] |
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_activate.c | 76 * grub menu to the entry corresponding to the entry for the named 224 int entry, ret = BE_SUCCESS; local 259 if (!be_has_menu_entry(root_ds, cb.obe_zpool, &entry)) { 272 "change the default entry in menu.lst\n"));
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | btxld.c | 75 uint32_t entry; /* Program entry point */ member in struct:hdr 81 "kernel: ver=%u.%02u size=%x load=%x entry=%x map=%uM " 84 "client: fmt=%s size=%x text=%x data=%x bss=%x entry=%x\n"; 86 "output: fmt=%s size=%x text=%x data=%x org=%x entry=%x\n"; 100 static uint32_t centry; /* Client entry address */ 101 static uint32_t lentry; /* Loader entry address */ 103 static int Eflag; /* Client entry option */ 238 ohdr.entry = lentry; 255 btx.btx_entry = Eflag ? centry : ihdr.entry; [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | part.c | 77 STAILQ_ENTRY(pentry) entry; 211 DEBUG("invalid entry size or number of entries"); 253 struct pentry *entry; local 337 entry = malloc(sizeof(*entry)); 338 if (entry == NULL) 340 entry->part.start = ent->ent_lba_start; 341 entry->part.end = ent->ent_lba_end; 342 entry->part.index = i + 1; 343 entry 388 struct pentry *e1, *entry; local 467 struct pentry *entry; local 547 struct pentry *entry; local 635 struct pentry *entry; local 701 struct pentry *entry; local 832 struct pentry *entry; local 852 struct pentry *entry; local 887 struct pentry *entry, *best; local 949 struct pentry *entry; local [all...] |
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | fcode.c | 283 /* Now form the entry in the dictionary */ 517 fcode_token *entry; local 528 entry = &env->table[token]; 529 apf = entry->apf; 535 ((env->state && (entry->flags & IMMEDIATE) == 0)) ? 538 entry->name ? entry->name : "???", entry->flags)); 542 DEBUGF(TOKEN_USAGE, entry->usage++); 545 ((entry [all...] |
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi.c | 710 * 20 entries, where each entry's parameter code is its index in the log. We 957 analyze_one_logpage(ds_scsi_info_t *sip, logpage_validation_entry_t *entry) argument 970 result = scsi_log_sense(sip, entry->ve_code, 978 result = entry->ve_analyze(sip, lphp, log_length);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 254 * It opens the keytab file, and either retrieves the entry or returns 261 krb5_enctype enctype, krb5_keytab_entry *entry) 407 *entry = cur_entry; 479 krb5_ktfile_get_next(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument 501 *entry = cur_entry; 542 * Serialization entry for this type. 853 krb5_ktfile_add(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) 868 retval = krb5_ktfileint_write_entry(context, id, entry); 879 krb5_ktfile_remove(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) 904 if ((entry 259 krb5_ktfile_get_entry(krb5_context context, krb5_keytab id, krb5_const_principal principal, krb5_kvno kvno, krb5_enctype enctype, krb5_keytab_entry *entry) argument 850 krb5_ktfile_add(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) argument 876 krb5_ktfile_remove(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) argument 1459 krb5_ktfileint_write_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) argument 1600 krb5_ktfileint_size_entry(krb5_context context, krb5_keytab_entry *entry, krb5_int32 *size_needed) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 582 static void plant_face (const char *name, struct face *entry) argument 584 entry->name = strdup(name); 585 if (entry->name == NULL) 589 entry->next = krb5int_fac.data; 590 entry->expiration = time(0) + CACHE_ENTRY_LIFETIME; 591 krb5int_fac.data = entry; 593 printf("added cache entry '%s' at %p: %d ipv4, %d ipv6; expire %d\n", 594 name, entry, entry->naddrs4, entry 598 find_face(const char *name, struct face **entry) argument [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 238 struct mnttab entry; local 244 while (getmntent(fp, &entry) == 0) { 246 if (entry.mnt_fstype == NULL || 247 strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0) 250 if (strcmp(entry.mnt_mountp, path) == 0) { 252 (void) strlcpy(mountpoint, entry.mnt_mountp, 255 (void) strlcpy(dataset, entry.mnt_special,
|
/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_inittab.c | 116 * inittab_getbyname(): returns an inittab entry with the specified criteria 120 * char *: the name of the inittab entry the consumer wants 132 * inittab_getbycode(): returns an inittab entry with the specified criteria 136 * uint16_t: the code of the inittab entry the consumer wants 152 * const char *: the name of the entry the caller is interested 167 dhcp_symbol_t entry; local 218 * parse the entry out into fields. 249 * find out whether this entry of interest to our consumer, 267 * looks like a match. allocate an entry and fill it in 281 entry 319 parse_entry(char *entry, char **fields) argument [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlbridge.c | 531 scf_transaction_entry_t *entry; local 534 if ((entry = scf_entry_create(handle)) == NULL) 539 if (scf_transaction_property_new(tran, entry, propname, 541 scf_transaction_property_change(tran, entry, propname, 545 if (scf_entry_add_value(entry, value) == 0) 552 scf_entry_destroy_children(entry); 553 scf_entry_destroy(entry); 562 scf_transaction_entry_t *entry; local 565 if ((entry = scf_entry_create(handle)) == NULL) 570 if (scf_transaction_property_new(tran, entry, propnam 594 scf_transaction_entry_t *entry; local [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_vc.c | 728 struct entry { struct 730 struct entry *next; 742 struct entry *head = NULL; 743 struct entry *tail = NULL; 744 struct entry *e; 879 e = malloc(sizeof (struct entry));
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | crypt.c | 328 "specified, using first entry in file.", POLICY_CONF_FILE, 334 "using first entry file.", POLICY_CONF_FILE, value); 441 char *entry; local 465 while ((entry = strtok_r(NULL, ",", &lasts)) != NULL) { 466 if (strcmp(entry, algname) == 0) {
|
H A D | getutx.c | 130 static struct futmpx fubuf; /* Copy of last entry read in. */ 131 static struct utmpx ubuf; /* Last entry returned to client */ 181 * "getutxent_frec" gets the raw version of the next entry in the utmpx file. 224 * Try to read in the next entry from the utmpx file. 255 * "getutxent" gets the next entry in the utmpx file. 269 * "getutent" gets the next entry in the utmp file. 293 * "getutxid" finds the specified entry in the utmpx file. If 297 getutxid(const struct utmpx *entry) argument 311 * Start looking for entry. Look in our current buffer before 316 * If there is no entry i 387 getutid(const struct utmp *entry) argument 412 getutxline(const struct utmpx *entry) argument 450 getutline(const struct utmp *entry) argument 612 pututxline(const struct utmpx *entry) argument 702 pututline(const struct utmp *entry) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext_gnu.c | 169 * parse the header entry of the GNU MO file and 237 gprintf(0, "no plural entry\n"); 624 /* first checks if header entry has been processed */ 1001 struct gnu_dynamic_ent *entry; local 1032 entry = d_info->entry; 1036 mlen = SWAP(p, entry->len); 1037 didx = SWAP(p, entry->idx); 1073 entry++; /* to next entry */ [all...] |
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_lan.c | 335 ipmi_rq_entry_t *entry; local 374 entry = ipmi_req_lookup_entry(ihp, rsp->ir_ihdr.imh_seq, 376 if (entry) { 426 ipmi_rq_entry_t *entry; local 432 if ((entry = ipmi_req_add_entry(ihp, req)) == NULL) 485 entry->ire_rq_seq = curr_seq++; 486 msg_hdr.imh_seq = entry->ire_rq_seq << 2; 507 entry->ire_msg_len = off; 508 entry->ire_msg_data = msg; 510 return (entry); 518 ipmi_rq_entry_t *entry = NULL; local [all...] |
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | ctags.c | 78 char *entry; /* function or type name */ member in struct:nd_st 458 np->entry = savestr(name); 624 * will be removed when the actual entry for the tag 985 dif = strcmp(node->entry, cur_node->entry); 990 gettext("Duplicate entry in file %s, line %d: %s\n"), 991 node->file, lineno, node->entry); 993 gettext("Second entry ignored\n")); 1000 "entry in files %s and %s: %s " 1003 node->entry); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa.c | 214 struct rsn_pmksa_cache *entry) 217 if (wpa_s->cur_pmksa == entry) { 218 wpa_printf(MSG_DEBUG, "RSN: removed current PMKSA entry"); 221 free(entry); 233 struct rsn_pmksa_cache *entry = wpa_s->pmksa; local 234 wpa_s->pmksa = entry->next; 235 wpa_printf(MSG_DEBUG, "RSN: expired PMKSA cache entry for " 236 MACSTR, MAC2STR(entry->aa)); 237 pmksa_cache_free_entry(wpa_s, entry); 260 struct rsn_pmksa_cache *entry, *pre local 213 pmksa_cache_free_entry(struct wpa_supplicant *wpa_s, struct rsn_pmksa_cache *entry) argument 277 struct rsn_pmksa_cache *entry = wpa_s->pmksa; local 294 struct rsn_pmksa_cache *entry; local 319 struct rsn_pmksa_candidate *entry, *prev; local 754 struct wpa_ssid *entry; local [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.file.c | 533 tchar *entry; local 557 for (numitems = 0; entry = getentry(dir_fd, looking_for_lognames); ) { 558 if (!is_prefix(name, entry)) 561 if (name_length == 0 && entry[0] == '.' && 574 items[numitems] = (tchar *)xalloc((unsigned)(strlen_(entry) + 1) * sizeof (tchar)); 575 copyn(items[numitems], entry, MAXNAMLEN); 578 if (ignoring && ignored(entry)) 581 entry, name_length, ++numitems)) 630 * On first match, copy full entry (assume it'll be the only match) 632 * character mismatch between extended_name and entry 636 recognize(tchar *extended_name, tchar *entry, int name_length, int numitems) argument 799 ignored(tchar *entry) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | findstack.c | 770 uintptr_t *entry = bsearch(&sp->se_thread, local 773 if (entry != NULL) { 775 seen[entry - p.pipe_data]++; 785 continue; /* no match, skip entry */
|
/illumos-gate/usr/src/cmd/fm/modules/common/ses-log-transport/ |
H A D | ses_log_transport.c | 76 * other data which is held by FMD and retrieved whenever an entry point 279 * instance number on the FMRI for a given hc-list entry. It is also 280 * used to pull the value of an hc-list entry. In all cases, the function 281 * returns the value of the hc-list entry found, NULL if no value was found. 471 * Determines the error class type based on the severity of the entry. 473 * severity: A severity level from a log entry. 498 * Allocates and adds an entry for a given expander to the expander list. 542 * entry is created with default values. 546 * expdata: A pointer to a pointer for the last log entry data for this 557 * entry wil 679 handle_log_entry(ses_log_monitor_t *slmp, nvpair_t *entry, expander_t *expander, char *format_time, FILE *fp) argument 872 nvpair_t *entry = NULL; local [all...] |
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | symtab.c | 62 ENTRY entry[1]; /* Actually entry[n_entries]. */ member in struct:entry_head_t 630 * ENTRYs -- access functions to contents of an entry. 786 * set_entry -- set a passed-in entry, using 788 * symtab entry 830 * free_entry -- really just mark an entry as invalid 884 (void) set_entry(&t->entry[t->used], 899 return (&(t->entry[index])); 917 (void) memset(&t->entry[i], 0, sizeof (ENTRY));
|
/illumos-gate/usr/src/cmd/chmod/ |
H A D | chmod.c | 763 * remove a single entry 765 * if last entry just adjust acl_cnt 1195 * Parses the entry and assigns the appropriate action (either '+' or '-' in 1201 * If the entry is an attribute name, then the A_SET_OP action is to be 1202 * performed for this attribute. If the entry is an attribute name proceeded 1204 * attribute. If the entry is one or more attribute option letters, then step 1208 * Returns 0 if the entry was a valid attribute(s) and the action to be 1212 parse_entry(char *entry, char action, char atype, int len, char *attractptr) argument 1219 if ((attr = name_to_attr(entry)) != F_ATTR_INVAL) { 1223 } else if ((len > 2) && (strncmp(entry, "n 1289 char *entry; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_trans.c | 54 * How long should an entry stay in the list before being forced 55 * out and a trans log entry printed 65 timestruc32_t lastupdate; /* last operation for this entry */ 172 struct transentry *entry) 179 switch (entry->optype) { 184 if (strcmp(pte->pathname, entry->pathname) == 0) { 195 if (entry->nfsvers == NFS_VERSION) { 196 if (bcmp(&(pte->fh_u.fh), &(entry->fh_u.fh), 198 switch (entry->optype) { 201 if (pte->uid == entry 170 insert_te( struct transentry *te_list, struct transentry *entry) argument [all...] |