/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_device_cache.c | 168 * PURPOSE: Frees memory associated with an entry in the 213 * PURPOSE: Adds an entry to the descriptor cache using the input 230 ENTRY entry; local 248 * there is no existing entry corresponding to desc since the 252 entry.key = dcp->name; 253 entry.data = (void *)dcp; 254 (void) hsearch(entry, ENTER); 311 * PURPOSE: Frees memory associated with an entry in the 358 * PURPOSE: Adds an entry to the name cache using the input 369 ENTRY entry; local 612 ENTRY entry; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_msg.c | 38 static void emlxs_msg_sprintf(char *buffer, emlxs_msg_entry_t *entry); 49 if (log->entry) { 59 log->entry = (emlxs_msg_entry_t *)kmem_zalloc(size, KM_SLEEP); 92 if (!log->entry) { 117 if (!log->entry) { 130 kmem_free(log->entry, size); 145 emlxs_msg_entry_t *entry; local 156 if (log->entry == NULL) { 162 /* Get the pointer to the last log entry */ 168 entry 604 emlxs_msg_sprintf(char *buffer, emlxs_msg_entry_t *entry) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | zone.c | 307 /* entry)? */ 309 uint_t found; /* Was the specific ZSD entry found? */ 321 struct zsd_entry entry; local 324 if (mdb_vread(&entry, sizeof (entry), addrp) == -1) { 331 * Are we looking for a single entry specified by a key? Then make sure 334 if (cbdp->keygiven == TRUE && cbdp->key != entry.zsd_key) 337 mdb_printf("%?x %0?p %8x\n", entry.zsd_key, entry.zsd_data, 338 entry [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ksetpwd.c | 98 * keytab entry). 369 krb5_keytab_entry entry; local 388 if (krb5_kt_get_entry(ctx, kt, princ, 0, 0, &entry) == 0) { 390 (void) krb5_kt_free_entry(ctx, &entry); 411 krb5_keytab_entry *entry; local 425 if ((entry = (krb5_keytab_entry *) malloc(sizeof (*entry))) == NULL) { 431 (void) memset((char *)entry, 0, sizeof (*entry)); 441 free(entry); [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | smfcfg.c | 115 scf_transaction_entry_t *entry = NULL; local 149 entry = scf_entry_create(handle); 152 val == NULL|| tran == NULL || entry == NULL || inst == NULL) { 183 entry, prop_name, SCF_TYPE_INTEGER) == 0) { 185 if (scf_entry_add_value(entry, val) < 0) { 192 if (scf_transaction_property_change(tran, entry, 196 if (scf_entry_add_value(entry, 215 if (scf_transaction_property_change(tran, entry, 218 if (scf_entry_add_value(entry, val) != 0) { 233 if (entry ! [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_ad.c | 55 directory_entry_rpc *entry; member in struct:cbinfo 79 * Add an entry to a NULL-terminated list, if it's not already there. 187 * If this entry has already been handled, one way or another, 243 * entry from the right domain, because there's no 304 cbinfo.entry = pent; 365 * Process a single entry returned by an LDAP callback. 368 * Given an LDAP response, populate the directory entry for return to 381 directory_entry_rpc *pent = cbinfo->entry; 528 * Return the domain associated with the specified entry.
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | siena_nvram.c | 244 siena_parttbl_entry_t *entry = &siena_parttbl[i]; local 246 if (entry->port == emip->emi_port && entry->nvtype == type) { 247 *partnp = entry->partn; 263 siena_parttbl_entry_t *entry; local 272 entry = &siena_parttbl[i]; 274 if (entry->port != emip->emi_port || 275 !(enp->en_u.siena.enu_partn_mask & (1 << entry->partn))) 278 if ((rc = efx_mcdi_nvram_test(enp, entry->partn)) != 0) { 489 siena_parttbl_entry_t *entry; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | disk.c | 68 STAILQ_ENTRY(dentry) entry; 80 struct dentry *entry; local 84 STAILQ_FOREACH(entry, &opened_disks, entry) { 85 if (entry->d_dev != dev->d_dev || 86 entry->d_unit != dev->d_unit) 88 dev->d_opendata = entry->od; 89 if (entry->d_slice == dev->d_slice && 90 entry->d_partition == dev->d_partition) { 91 dev->d_offset = entry 107 struct dentry *entry; local 136 struct dentry *entry; local 436 struct dentry *entry, *tmp; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | multiboot.c | 409 vm_offset_t modulep, kernend, entry; local 459 entry = fp->f_addr; 609 __exec((void *)VTOP(multiboot_tramp), (void *)entry,
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | space_map.c | 58 uint64_t *entry, *entry_map, *entry_map_end; local 101 for (entry = entry_map; entry < entry_map_end; entry++) { 102 uint64_t e = *entry; 217 * All space_maps always have a debug entry so account for it here. 244 uint64_t *entry, *entry_map, *entry_map_end; local 273 entry = entry_map; 275 *entry++ = SM_DEBUG_ENCODE(1) | 296 if (entry [all...] |
/illumos-gate/usr/src/lib/nsswitch/ad/common/ |
H A D | getpwnam.c | 127 * delimiter for the passwd entry. 175 const adutils_entry_t *entry; local 190 entry = adutils_getfirstentry(result); 198 name_v = adutils_getattr(entry, _PWD_SAN); 203 dn_v = adutils_getattr(entry, _PWD_DN); 209 sid_v = adutils_getattr(entry, _PWD_OBJSID); 230 pgid_v = adutils_getattr(entry, _PWD_PRIMARYGROUPID); 236 * GID for the entry. 256 gecos_v = adutils_getattr(entry, _PWD_CN); 260 homedir_v = adutils_getattr(entry, _PWD_HOMEDIRECTOR [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getexecattr.c | 116 _exec_ldap_exec2ent(ns_ldap_entry_t *entry, nss_XbyY_args_t *argp) argument 141 for (i = 0; i < entry->attr_count; i++) { 142 attrptr = entry->attr_pair[i]; 281 name = __ns_ldap_getAttr(result->entry, _EXEC_NAME); 288 policy = __ns_ldap_getAttr(result->entry, _EXEC_POLICY); 295 type = __ns_ldap_getAttr(result->entry, _EXEC_TYPE); 301 res1 = __ns_ldap_getAttr(result->entry, _EXEC_RES1); 307 res2 = __ns_ldap_getAttr(result->entry, _EXEC_RES2); 313 id = __ns_ldap_getAttr(result->entry, _EXEC_ID); 319 attr = __ns_ldap_getAttr(result->entry, _EXEC_ATTR 361 ns_ldap_entry_t *entry; local [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | obj_mgr.c | 522 // add the new map entry to the list 1752 TOK_OBJ_ENTRY *entry = NULL; local 1778 entry = &global_shm->priv_tok_objs[index]; 1789 entry = &global_shm->publ_tok_objs[index]; 1792 entry->count_lo = obj->count_lo; 1793 entry->count_hi = obj->count_hi; 1804 TOK_OBJ_ENTRY * entry = NULL; local 1810 entry = &global_shm->priv_tok_objs[ 1813 entry = &global_shm->publ_tok_objs[ 1816 entry 1900 TOK_OBJ_ENTRY * entry = NULL; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | eventlog_log.c | 141 logr_priority_t *entry; local 152 entry = &logr_pri_names[i]; 154 if (strstr(token, entry->p_name) != NULL) { 155 le->le_pri = entry->p_value; 162 * Parse a syslog entry into a log_entry_t structure. A typical syslog 163 * entry has one of the following formats: 273 logr_entry_t *entry; local 284 entry = &log->li_entry[i]; 286 if (logr_syslog_parse_entry(node->ln_logline, entry) != 0) {
|
/illumos-gate/usr/src/lib/fm/libseslog/common/ |
H A D | libseslog.c | 234 nvlist_t *entry; local 248 * Initialize log parameter pointer to point to first log entry. 257 * contain the same log entry as the last entry we read last time. 262 * We have a valid log entry from a previous read log 268 * Start walking each log entry in response buffer looking for 269 * a duplicate entry. 273 * Calculate log entry length 281 * Only header information in this entry 282 * process next log entry [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 187 gettext("Illegal entry in '%s' on " 207 gettext("Illegal entry in '%s' on " 826 ns_ldap_entry_t *entry; local 863 entry = result->entry; 864 for (l = 0; l < entry->attr_count; l++) { 865 attr = entry->attr_pair[l]; 891 for (l = 0; l < entry->attr_count; l++) { 892 attr = entry->attr_pair[l]; 1101 * Version 1 skipped this entry becaus [all...] |
/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_symbol.c | 356 * entry in the internal category table. 359 * dsym_cat_t *: the return location for the pointer to the table entry 365 dsym_get_cat_by_name(const char *cat, dsym_cat_t **entry, boolean_t cs) argument 414 *entry = entryp; 433 dsym_cat_t *entry; local 436 ret = dsym_get_cat_by_name(field, &entry, B_TRUE); 443 if (entry->dc_dhcptab) { 444 *cat = entry->dc_id; 498 * Find the category entry from the internal table. 501 dsym_cat_t *entry; local 548 dsym_get_type_by_name(const char *type, dsym_type_t **entry, boolean_t cs) argument 583 dsym_type_t *entry; local 846 dsym_cat_t *entry; local 873 dsym_cat_t *entry; local 898 dsym_type_t *entry; local [all...] |
/illumos-gate/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 182 scf_transaction_entry_t *entry = NULL; local 209 ((entry = scf_entry_create(handle)) == NULL) || 267 if (scf_transaction_property_new(tran, entry, FCOE_PORT_LIST, 280 if (scf_transaction_property_change(tran, entry, 350 if (scf_entry_add_value(entry, valueSet[i]) == -1) { 381 * Now create the new entry 406 if (scf_entry_add_value(entry, valueSet[i]) == -1) { 441 if (entry != NULL) { 442 scf_entry_destroy(entry); 837 scf_transaction_entry_t *entry local [all...] |
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_dfstab.c | 405 * fs_add_DFStab_ent - adds an entry to dfstab and to the list of dfstab 406 * entries. Returns a pointer to the head of the dfstab entry list. 431 * set_DFStab_ent - adds an entry to dfstab and to the list of dfstab entries. 432 * returns a pointer to the head of the dfstab entry list. 490 * Accessor function for path element of dfstab entry. 493 fs_get_DFStab_ent_Path(void *entry) argument 495 dfstab_entry_t *entryptr = (dfstab_entry_t *)entry; 503 * Accessor function for fstype element of dfstab entry. 506 fs_get_DFStab_ent_Fstype(void *entry) argument 508 dfstab_entry_t *entryptr = (dfstab_entry_t *)entry; 519 fs_get_DFStab_ent_Options(void *entry) argument 532 fs_get_DFStab_ent_Desc(void *entry) argument 545 fs_get_DFStab_ent_Res(void *entry) argument [all...] |
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | comb.c | 60 uintptr_t entry; member in struct:comb_calltmpl 345 size = (size_t) (calltmpl[type].end - calltmpl[type].entry); 364 tptr = (char *) calltmpl[type].entry; 584 calltmpl[op].end - calltmpl[op].entry); 588 size = calltmpl[op].end - calltmpl[op].entry; 605 (void) memcpy(buffer_p, (void *) calltmpl[op].entry, size); 608 offset = calltmpl[op].down - calltmpl[op].entry; 626 offset = calltmpl[op].next - calltmpl[op].entry;
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svcauth_des.c | 80 struct cache_entry *prev; /* prev entry on LRU list */ 81 struct cache_entry *next; /* next entry on LRU list */ 99 /* find an entry in the cache */ 102 static void invalidate(char *); /* invalidate entry in cache */ 126 struct cache_entry *entry; local 255 /* actually check that the entry is not null */ 256 entry = &_rpc_authdes_cache[sid]; 257 if (entry->rname == NULL) { 437 entry = &_rpc_authdes_cache[sid]; 438 entry [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | workfile.c | 261 picl_prophdl_t entry; local 276 entry = tbl_hdl; 277 while (picl_get_next_by_row(entry, &entry) == 0) 291 entry = tbl_hdl; 293 err = picl_get_next_by_row(entry, &entry); 305 err = picl_get_propval(entry, &((*device_array)[i]),
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | hsearch.c | 113 typedef struct entry { /* Hash table entry */ struct 151 ENTRY *new; /* Test entry */
|
/illumos-gate/usr/src/common/fs/ |
H A D | ufsops.c | 317 * get next entry in a directory. 796 struct cache *entry = bkmem_alloc(sizeof (*entry)); local 797 entry->key = key; 798 entry->data = data; 799 entry->size = size; 801 entry->next = icache; 802 icache = entry; 804 icache = entry; 805 entry 812 struct cache *entry = icache; local 824 struct cache *next, *entry = icache; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | stage2.c | 102 /* Print an entry in a line of the menu box. */ 104 print_entry (int y, int highlight, char *entry) argument 118 if (*entry && x <= 72) 123 grub_putchar (*entry++); 283 /* If GRUB_TIMEOUT is expired, boot the default entry. */ 316 Use the %c and %c keys to select which entry is highlighted.\n", 350 grub_printf ("\n\nThe selected entry is %d ", entryno); 380 grub_printf ("The highlighted entry will be booted automatically in %d seconds. ", 395 /* Key was pressed, show which entry is selected before GETKEY, 399 grub_printf ("\r Highlighted entry i [all...] |