/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcplugin/ |
H A D | psvcplugin.c | 221 picl_prophdl_t entry; local 226 err = ptree_get_next_by_row(assoctbl, &entry); 230 err = ptree_get_propval(entry, &tach_switch,
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 134 char *entry; local 138 for (entry = strtok(cf, "\n"); entry != NULL; 139 entry = strtok(NULL, "\n")) { 143 if ((entry[0] >= 'a') && (entry[0] <= 'z') && 144 (copies_set == 0) && (previous == entry[0])) 148 previous = entry[0]; 151 switch (entry[0]) { 155 "job-name", ++entry); [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | ip_anon_rcm.c | 106 static int deletereg(ip_status_t *entry); 415 * If the entry is registered and clustered, then 585 deletereg(ip_status_t *entry) argument 589 if (entry == NULL) 592 if (entry == ip_list) { 594 free(entry); 597 while ((tlist->next != NULL) && (tlist->next != entry)) 600 if (tlist->next != entry) 602 tlist->next = entry->next; 603 free(entry); [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/ufs/ |
H A D | ufs.c | 480 char entry[40]; local 485 len = mdb_snprintf(entry, sizeof (entry), "%d", i); 490 len += mdb_snprintf(entry + len, 491 sizeof (entry) - len, "-%d", i); 494 /* first entry */ 495 mdb_printf("%s", entry); 498 /* subsequent entry on same line */ 499 mdb_printf(", %s", entry); 503 mdb_printf(",\n%s", entry); [all...] |
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | i86mmu.c | 530 size_t entry = (addr - htable->ht_vaddr); local 532 entry >>= mmu.level_shift[htable->ht_level]; 533 return (entry & HTABLE_NUM_PTES(htable) - 1); 726 int entry; local 785 for (entry = 0; 786 entry < HTABLE_NUM_PTES(&htable); 787 ++entry) { 789 base = htable.ht_vaddr + entry * 800 paddr + entry * mmu.pte_size); 866 int entry; local [all...] |
/illumos-gate/usr/src/cmd/modload/ |
H A D | plcysubr.c | 101 * leading up to the file and the entry as found in the file 102 * - orgentry, pointer in rawbuf to the start of the entry proper. 103 * - entry, a pre-parsed entry, escaped newlines removed. 123 if (fe.entry != NULL) { 124 free(fe.entry); 125 fe.orgentry = fe.entry = NULL; 144 /* Newline, escaped or not yet processing an entry */ 151 /* Found start of entry */ 160 p = fe.entry 250 delete_one_entry(const char *filename, const char *entry) argument 435 delete_plcy_entry(const char *filename, const char *entry) argument 535 check_plcy_entry(char *entry, const char *driver, boolean_t todel) argument 627 update_device_policy(const char *filename, const char *entry, boolean_t repl) argument [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_fhistory.c | 99 * Add a file history path entry to the buffer. 120 ndmp_fh_unix_path *entry; local 127 * for the current entry, send the buffered data to the client. 167 entry = &session->ns_fh.fh_path_entries[session->ns_fh.fh_path_index]; 168 ndmpd_get_file_entry_type(file_stat->st_mode, &entry->fstat.ftype); 170 entry->name = &session-> 172 (void) strlcpy(entry->name, name, PATH_NAMEBUF_SIZE); 174 entry->fstat.mtime = (ulong_t)file_stat->st_mtime; 175 entry->fstat.atime = (ulong_t)file_stat->st_atime; 176 entry 212 ndmp_fh_unix_dir *entry; local 300 ndmp_fh_unix_node *entry; local [all...] |
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcadm-list.c | 145 scf_transaction_entry_t *entry = NULL; local 173 ((entry = scf_entry_create(handle)) == NULL) || 220 if (scf_transaction_property_new(tran, entry, NPIV_PORT_LIST, 233 if (scf_transaction_property_change(tran, entry, 300 if (scf_entry_add_value(entry, valueSet[i]) == -1) { 331 * Now create the new entry 356 if (scf_entry_add_value(entry, valueSet[i]) == -1) { 391 if (entry != NULL) { 392 scf_entry_destroy(entry); 848 scf_transaction_entry_t *entry local [all...] |
/illumos-gate/usr/src/cmd/file/ |
H A D | magicutils.c | 80 * Structure of magic file entry 83 struct entry { struct 99 typedef struct entry Entry; 109 static Entry *mend1; /* one past last-allocated entry in mtab1 */ 110 static Entry *mend2; /* one past last-allocated entry in mtab2 */ 112 static Entry *ep1; /* current entry in mtab1 */ 113 static Entry *ep2; /* current entry in mtab2 */ 226 Entry *ep; /* current magic table entry */ 227 Entry *mend; /* one past last-allocated entry of mtab */ 271 * ensure we have one extra entry allocate [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | dm_platform.c | 189 ipmi_cache_entry_t *entry; local 240 /* find a cache entry or create one if necessary */ 241 for (entry = uu_list_first(g_ipmi_cache); entry != NULL; 242 entry = uu_list_next(g_ipmi_cache, entry)) { 243 if (entry->ic_type == IPMI_CACHE_FRU && 244 entry->ic_data.ic_fru.isf_type == gid && 245 entry->ic_data.ic_fru.isf_id == hdd) 249 if (entry 266 ipmi_cache_entry_t *entry; local 417 ipmi_cache_entry_t *entry; local 476 ipmi_cache_entry_t *entry; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_response.c | 89 struct smf_uuid_cache_ent entry[1]; /* Cache entries */ member in struct:smf_uuid_cache 116 bcopy(&uuid_cache->entry[0], &newcache->entry[0], oldsz); 136 * we do not need an entry for. If a case is not resolved but the 151 entp = &uuid_cache->entry[i]; 221 * If we somehow already have an entry for this uuid then 225 if (strcmp(uuid, uuid_cache->entry[i].uuid) == 0) 231 if (uuid_cache->entry[i].uuid[0] == '\0') { 232 entp = &uuid_cache->entry[i]; 253 entp = &uuid_cache->entry[old [all...] |
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 61 struct entry { struct 70 static struct entry *entry; variable in typeref:struct:entry 82 static int hcompare(const struct entry *, const struct entry *); 83 static int icompare(const struct entry *, const struct entry *); 84 static int ucompare(const struct entry *, const struct entry *); 110 entry [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/ |
H A D | modify.c | 955 conf_entry_t *entry = NULL; local 1033 entry = get_keystore_entry(keystore_name); 1034 if (entry == NULL) { 1041 if ((entry->option == NULL && option == NULL) || 1042 (entry->option != NULL && option != NULL && 1043 strcmp(entry->option, option) == 0)) { 1091 * Loop thru the config file and update the entry. 1123 /* found the entry */ 1127 CONF_MODULEPATH, entry->modulepath); 1131 CONF_MODULEPATH, entry [all...] |
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | dsr.c | 325 * Find/create a disk_list entry for given a kstat name. 350 disk_list_t *entry; local 363 /* parse ks_name to create new entry */ 396 /* hash by instunit and search for existing entry */ 398 for (entry = *dlhp; entry; entry = entry->next) { 399 if (strcmp(entry->ks_name, ks_name) == 0) { 400 return (entry); [all...] |
/illumos-gate/usr/src/cmd/krb5/klist/ |
H A D | klist.c | 136 fprintf(stderr, gettext("\t\t-t shows keytab entry timestamps\n")); 137 fprintf(stderr, gettext("\t\t-K shows keytab entry DES keys\n")); 304 krb5_keytab_entry entry; local 357 while ((code = krb5_kt_next_entry(kcontext, kt, &entry, &cursor)) == 0) { 358 if ((code = krb5_unparse_name(kcontext, entry.principal, &pname))) { 363 printf("%4d ", entry.vno); 365 printtime(entry.timestamp); 370 printf(" (%s) " , etype_string(entry.key.enctype)); 375 for (i = 0; i < entry.key.length; i++) 376 printf("%02x", entry [all...] |
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | table.c | 104 lt_cause_t *entry; local 108 entry = (lt_cause_t *)lt_malloc(sizeof (lt_cause_t)); 109 entry->lt_c_flags = flags; 110 entry->lt_c_name = name; 111 entry->lt_c_cause_id = causes_array_len; 113 g_ptr_array_add(causes_array, entry); 116 return (entry); 289 /* We already have a higher entry. Ignore this. */ 333 * <priority> <entry probe> <return probe> <cause> 351 * 10 syscall::pread:entry syscal [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | instvol.c | 127 * all there is). Upon entry, the extlist is entirely correct: 243 * Set ept to the first entry in extlist 798 * Description: For the specified class, review each entry and return the array 1215 struct cfent *ept; /* entry from the internal list */ 1216 struct cfextra entry; /* entry from the package database */ local 1248 * At this point the only difference between the entry 1249 * in the contents file and the entry in extlist[] is 1254 n = srchcfile(&(entry.cf_ent), temppath, pkgserver); 1260 entry [all...] |
/illumos-gate/usr/src/cmd/tsol/tnchkdb/ |
H A D | tnchkdb.c | 78 struct tsol_name_list *entry; local 80 entry = malloc(sizeof (struct tsol_name_list)); 81 if (entry == NULL) { 89 (void) strlcpy(entry->name, name, sizeof (entry->name)); 90 entry->next = *head; 91 entry->linenum = linenum; 92 *head = entry; 98 struct tsol_name_list *entry; local 100 for (entry 111 struct tsol_addr_list *entry; local 132 struct tsol_addr_list *entry; local [all...] |
/illumos-gate/usr/src/uts/common/idmap/ |
H A D | idmap_cache.c | 323 sid2pid_t entry; local 329 entry.sid_prefix = sid_prefix; 330 entry.rid = rid; 334 result = avl_find(&cache->sid2pid.tree, &entry, &where); 353 sid2pid_t entry; local 359 entry.sid_prefix = sid_prefix; 360 entry.rid = rid; 364 result = avl_find(&cache->sid2pid.tree, &entry, &where); 383 sid2pid_t entry; local 389 entry 421 pid2sid_t entry; local 451 pid2sid_t entry; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.c | 42 * NAT source entry garbarge collection timeout. The actual timeout value 110 * to an entry. Then it calls vmem_alloc() on the associated vmem arena to 115 * existing entry which matches this source address:back end server address: 290 * Timer routine for garbage collecting unneeded NAT source entry. We 309 * reference on an entry. But there may still be 346 ilb_nat_src_entry_t *entry; local 353 * Set each entry to be condemned and the garbarge collector will 357 entry = src->src_list[i]; 358 mutex_enter(entry->nse_nsh_lock); 359 entry [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_cache.c | 93 struct name_entry *entry; local 102 entry = (struct name_entry *)item->hi_data; 103 (void) mutex_lock(&entry->mtx); 104 iter->nbc_entry = smb_netbios_name_dup(entry, 1); 105 (void) mutex_unlock(&entry->mtx); 116 struct name_entry *entry; local 125 entry = (struct name_entry *)item->hi_data; 126 (void) mutex_lock(&entry->mtx); 127 iter->nbc_entry = smb_netbios_name_dup(entry, 1); 128 (void) mutex_unlock(&entry 147 struct name_entry *entry = NULL; local 196 struct name_entry *entry = 0; local 229 struct name_entry *entry; local 310 struct name_entry *entry; local 332 struct name_entry entry; local 354 smb_netbios_cache_update_entry(struct name_entry *entry, struct name_entry *name) argument 569 struct name_entry *entry; local 602 smb_netbios_name_freeaddrs(struct name_entry *entry) argument 663 smb_netbios_name_dump(FILE *fp, struct name_entry *entry) argument 690 smb_netbios_name_logf(struct name_entry *entry) argument 719 smb_netbios_name_dup(struct name_entry *entry, int alladdr) argument 770 smb_strname(struct name_entry *entry, char *buf, int bufsize) argument 790 struct name_entry *entry; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_acpi.c | 77 /* 4 byte entry */ 297 "entry in ACPI IVRS table's IVHD entry", 529 /* All range type entries are put on hash entry 0 */ 618 * A device entry may be declared implicitly as a source device ID 619 * in an alias entry. This routine adds it to the hash 638 /* Fake a SELECT entry */ 654 cmn_err(CE_NOTE, "Added implicit IVHD entry " 775 /* Last hash entry is for deviceid ranges including "all" */ 796 set_deventry(amd_iommu_t *iommu, int entry, amd_iommu_acpi_ivhd_ argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge_flash.c | 527 ql_flt_entry_t *entry; local 575 cmn_err(CE_WARN, "read flt table entry error"); 579 entry = (ql_flt_entry_t *)qlge->flt.ql_flt_entry_ptr; 581 LITTLE_ENDIAN_32(&entry->size); 582 LITTLE_ENDIAN_32(&entry->begin_addr); 583 LITTLE_ENDIAN_32(&entry->end_addr); 584 entry++; 589 entry = (ql_flt_entry_t *)qlge->flt.ql_flt_entry_ptr; 592 if (entry->region == FLT_REGION_FDT) { 594 qlge->flash_fdt_addr = entry [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/ |
H A D | sol_ofs_common.h | 165 static inline void llist_del(llist_head_t *entry) argument 167 entry->nxt->prv = entry->prv; 168 entry->prv->nxt = entry->nxt; 211 void delete_genlist(genlist_t *list, genlist_entry_t *entry); 215 void insert_genlist_tail(genlist_t *list, genlist_entry_t *entry);
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getdev.c | 89 * IGNORE Ignore this entry 90 * ENDLIST This entry ends the list 128 * addtodevicelist() Adds an entry to the linked list of devices 217 char *entry; /* Pointer to alias in record */ local 246 while (!errflag && (entry = getnextmatch(searchlist, options))) { 247 if (entry = oktoaddtolist(entry, devices, aliases, options)) { 248 errflag = addtodevicelist(entry); 255 * - Free the entry space we've allocated. 362 struct deviceent *pdevice; /* Pointer to current entry */ [all...] |