/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_proc.c | 241 name_addr_entry_t *entry; local 260 * Locate the entry with the name in the NSM_ADDR_REG request if 261 * it exists. If it doesn't, create a new entry to hold this name. 265 for (entry = name_addr; entry; entry = entry->next) { 266 if (strcmp(regargs->name, entry->name) == 0) { 269 entry->name); 275 if (entry 407 name_addr_entry_t *entry; local 896 name_addr_entry_t *entry; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | clusters.c | 809 " to overwrite existing directory entry with\nthe marker." 819 makeNewEndOfDirectory(struct pcdir *entry, int32_t secondToLast, argument 836 updateDirEnt_Start(entry, newCluster); 844 createNewEndOfDirectory(int fd, struct pcdir *entry, int32_t secondToLast) argument 859 makeNewEndOfDirectory(entry, secondToLast, 887 * Given a directory entry and a cluster number, search through 888 * the cluster chain for the entry and make the cluster previous 895 truncAtCluster(int fd, struct pcdir *entry, int32_t cluster) argument 899 int dir = (entry->pcd_attr & PCA_DIR); 902 follow = extractStartCluster(entry); [all...] |
H A D | dir.c | 194 * Make sure the size in the directory entry matches what is 281 * Do a sanity check on the file size in the directory entry. 287 * The pre-existing directory entry has been truncated, 376 * we've got a bogus directory entry. 398 * its directory entry reusable) 437 * entry has the filename and extension, the file's attributes, the 440 * you start at the starting cluster entry in the FAT, and follow the 471 * used to return pointer to a directory entry that matches 480 * new directory entry could be appended to existing directory 504 * A directory entry wher 814 insertDirEnt(struct pcdir *slot, struct pcdir *entry, int32_t clusterWithSlot) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | dlfcns.c | 97 * External entry for dlerror(3dl). Returns a pointer to the string describing 105 int entry; local 107 entry = enter(0); 116 if (entry) 566 * Argument checking for dlclose. Only called via external entry. 589 * External entry for dlclose(3dl). Returns 0 for success, non-zero otherwise. 594 int error, entry; local 597 entry = enter(0); 603 if (entry) 970 * Argument checking for dlopen. Only called via external entry 1018 int entry; local 1043 int entry; local 1516 int entry; local 1564 int entry, ret; local 1599 int entry, ret = 1; local 1719 int error, entry; local 2185 int error, entry; local 2300 int entry; local [all...] |
/illumos-gate/usr/src/cmd/krb5/slave/ |
H A D | kpropd.c | 274 * 1 entry. 751 krb5_keytab_entry entry; local 842 0, 0, &entry)) { 843 com_err(progname, retval, gettext("while retrieving entry %s " 933 * Get the most recent ulog entry sno + ts, which
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | stat.c | 42 /* cause_id -> stat entry */ 275 lt_stat_entry_t *entry = NULL; local 285 entry = (lt_stat_entry_t *)g_hash_table_lookup( 294 if (entry == NULL) { 295 entry = (lt_stat_entry_t *)lt_zalloc(sizeof (lt_stat_entry_t)); 296 entry->lt_se_string = string; 300 entry->lt_se_type = STAT_CAUSE; 301 entry->lt_se_tsdata.lt_se_t_cause.lt_se_c_id = cause_id; 302 entry->lt_se_tsdata.lt_se_t_cause.lt_se_c_flags = 306 if ((entry [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | restarter.c | 2432 timeout_entry_t *entry; local 2452 entry = startd_alloc(sizeof (timeout_entry_t)); 2453 entry->te_timeout = timeout; 2454 entry->te_ctid = cid; 2455 entry->te_fmri = safe_strdup(inst->ri_i.i_fmri); 2456 entry->te_logstem = safe_strdup(inst->ri_logstem); 2457 entry->te_fired = 0; 2460 (void) uu_list_find(timeouts->tq_list, entry, NULL, &idx); 2461 uu_list_node_init(entry, &entry [all...] |
/illumos-gate/usr/src/cmd/trapstat/sun4/ |
H A D | trapstat.c | 330 "dec", "entry name", "description"); 353 select_entry(char *entry) argument 359 * The entry may be specified as a number (e.g., "0x68", "104") or 362 entno = strtoul(entry, &end, 0); 377 if (strcmp(entry, gtp->tent_name) == 0) 386 fatal("TSTATIOC_ENTRY failed for entry 0x%x", entno); 392 (void) fprintf(stderr, TSTAT_COMMAND ": invalid entry '%s'", entry);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_hw_access.c | 52 so we don't use it. Also, iSCSI has a reserved entry in the NIG, so 184 * Initialize a NIG mirror entry to a given MAC address. Note - 188 * @param offset the index of the NIG entry 199 lm_nig_mirror_entry_t* entry = &pdev->vars.nig_mirror.entries[offset]; local 200 DbgBreakIf(entry->refcnt != 0); 201 mm_memcpy(entry->addr, addr, ARRSIZE(entry->addr)); 206 * Find a NIG entry that's not in use. Entry 0 and 15 are never 212 * @return an index to a usable NIG entry, or INVALID_NIG_OFFSET 232 * Find the entry fo 311 lm_nig_mirror_entry_t* entry = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | modsubr.c | 529 * Create an entry for the given (name, major, bind_name) tuple in the 662 "!Device entry \"%s %d\" conflicts with previous entry \"%s %d\" " 684 * If there is not an entry at b_num already, 870 struct hwc_spec *entry = NULL; local 875 (mod_hash_val_t)&entry) != 0) { 891 while (entry->hwc_hash_next) 892 entry = entry->hwc_hash_next; 893 entry 904 struct hwc_spec *entry; local 1004 hwc_spec_add(struct hwc_spec **listp, struct hwc_spec *entry, major_t match_major) argument [all...] |
H A D | msg.c | 194 * up the right entry far exceeds any potential pay back (too many 253 * an error), the first entry on the copyout queue is woken 260 * success the next entry on the copyout queue is 897 * no entry present. 1404 msg_rcvq_sleep(list_t *queue, msgq_wakeup_t *entry, kmutex_t **lock, argument 1409 cv_init(&entry->msgw_wake_cv, NULL, 0, NULL); 1411 list_insert_tail(queue, entry); 1414 cvres = cv_wait_sig(&entry->msgw_wake_cv, *lock); 1418 if (list_link_active(&entry->msgw_list)) { 1422 list_remove(queue, entry); [all...] |
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_page_tables.c | 73 cmn_err(CE_WARN, "No IVHD entry for 0x%x", bdf); 331 uint64_t entry[4] = {0}; local 353 /* New devtbl entry for this domain. Bump up the domain ref-count */ 356 entry[3] = 0; 357 entry[2] = 0; 358 AMD_IOMMU_REG_SET64(&(entry[1]), AMD_IOMMU_DEVTBL_EX, 1); 359 AMD_IOMMU_REG_SET64(&(entry[1]), AMD_IOMMU_DEVTBL_SD, 0); 360 AMD_IOMMU_REG_SET64(&(entry[1]), AMD_IOMMU_DEVTBL_CACHE, 0); 361 AMD_IOMMU_REG_SET64(&(entry[1]), AMD_IOMMU_DEVTBL_IOCTL, 1); 362 AMD_IOMMU_REG_SET64(&(entry[ [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_tdc_hw.h | 256 * Entry where the next valid descriptor will be added (one entry 732 * DMA channel of entry to read or write 745 uint32_t entry:4; member in struct:__anon5879::__anon5880 747 uint32_t entry:4; 830 uint32_t entry:12; member in struct:__anon5885::__anon5886 832 uint32_t entry:12; 914 uint32_t entry:8; member in struct:__anon5891::__anon5892 916 uint32_t entry:8;
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ucma/ |
H A D | sol_ucma.c | 70 /* entry point function prototype declarations */ 79 /* Driver entry points */ 527 genlist_entry_t *entry; local 555 entry = remove_genlist_head(&filep->file_id_list); 556 while (entry) { 560 chanp = (sol_ucma_chan_t *)entry->data; 576 entry = remove_genlist_head(&filep->file_id_list); 587 entry = remove_genlist_head(&filep->file_evt_list); 588 while (entry) { 589 evtp = (sol_ucma_event_t *)entry 873 genlist_entry_t *entry; local 1317 genlist_entry_t *entry; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_umad/ |
H A D | sol_umad.c | 1092 const struct ibmf_class_to_mad_type *entry; local 1094 for (entry = &ibmf_class_to_mad_types[0]; 1095 entry->ibmf_class != 0; 1096 ++entry) { 1097 if (ibmf_class == entry->ibmf_class) 1098 return (entry->mad_types); 1108 llist_head_t *entry; local 1113 list_for_each(entry, &uctx->uctx_agent_list) { 1114 agent = entry->ptr; 1128 llist_head_t *entry; local 1159 llist_head_t *entry; local 1690 genlist_entry_t *entry; local 2264 llist_head_t *entry; local 2383 genlist_entry_t *entry; local 2491 llist_head_t *entry; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs.c | 210 llist_head_t *entry; local 319 list_for_each(entry, &sol_uverbs_hca_list) { 320 temp = (sol_uverbs_hca_t *)entry->ptr; 322 "HCA list: entry: %p, handle: %p, " 323 "GUID: 0x%016llX", (void *)entry, (void *)temp->hdl, 744 * Driver entry point to report the values of certain properties of the 886 genlist_entry_t *entry, *new_entry; local 986 entry = remove_genlist_head(&uctxt->ah_list); 987 while (entry) { 988 uverbs_uah_uobj_t *uah = (uverbs_uah_uobj_t *)entry [all...] |
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_utils.c | 73 * hcap - HCA entry ptr 78 * IBCM_LOOKUP_EXISTS - found an existing entry 79 * IBCM_LOOKUP_FAIL - No lookup entry found 136 /* matching entry found !! */ 153 * find a matching entry. We will create a new entry in avl tree, 539 * Finds an entry based on lid, gid and grh exists fields 552 * IBCM_LOOKUP_EXISTS - found an existing entry 553 * IBCM_LOOKUP_FAIL - failed to find an entry 554 * IBCM_LOOKUP_NEW - created a new entry 1376 ibcm_qp_list_t *entry; local 1497 ibcm_qp_list_t *entry, *freed; local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsid.c | 70 entry_t *entry); 157 * Make an entry for the boot target. 162 iscsid_make_entry(ib_boot_prop_t *boot_prop_entry, entry_t *entry) argument 164 if (entry == NULL || boot_prop_entry == NULL) { 176 entry->e_vers = ISCSI_INTERFACE_VERSION; 179 entry->e_oid = iscsi_oid++; 182 entry->e_tpgt = ISCSI_DEFAULT_TPGT; 185 entry->e_u.u_in4.s_addr = 187 entry->e_insize = sizeof (struct in_addr); 191 entry 1686 entry_t entry; local 1738 entry_t entry; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_register.c | 514 usb_client_dev_data_list_t *entry = kmem_zalloc( local 515 sizeof (*entry), KM_SLEEP); 521 entry->cddl_dip = dip; 522 entry->cddl_dev_data = usb_reg; 523 entry->cddl_ifno = usba_get_ifno(dip); 525 entry->cddl_next = 527 if (entry->cddl_next) { 528 entry->cddl_next->cddl_prev = entry; 530 entry 565 usb_client_dev_data_list_t *next, *prev, *entry; local [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_principal.c | 202 kadm5_principal_ent_t entry, long mask, 206 kadm5_create_principal_3(server_handle, entry, mask, 211 kadm5_principal_ent_t entry, long mask, 239 if (entry == (kadm5_principal_ent_t) NULL || password == NULL) 245 ret = kdb_get_entry(handle, entry->principal, &kdb, &adb); 267 * entry). 282 if ((ret = kadm5_get_policy(handle->lhandle, entry->policy, 291 &polent, entry->principal))) { 313 * entry->attributes, but also the generic params.flags 318 kdb.attributes |= entry 201 kadm5_create_principal(void *server_handle, kadm5_principal_ent_t entry, long mask, char *password) argument 210 kadm5_create_principal_3(void *server_handle, kadm5_principal_ent_t entry, long mask, int n_ks_tuple, krb5_key_salt_tuple *ks_tuple, char *password) argument 510 kadm5_modify_principal(void *server_handle, kadm5_principal_ent_t entry, long mask) argument 754 kadm5_get_principal(void *server_handle, krb5_principal principal, kadm5_principal_ent_t entry, long in_mask) argument 2160 kadm5_decrypt_key(void *server_handle, kadm5_principal_ent_t entry, krb5_int32 ktype, krb5_int32 stype, krb5_int32 kvno, krb5_keyblock *keyblock, krb5_keysalt *keysalt, int *kvnop) argument [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 1040 Stores the *"nentries" entry structures pointed to by "entries" in the 1052 int *nentries, /* number of entry structs to update */ 1186 krb5_db_entry entry; local 1254 memset((char *) &entry, 0, sizeof(entry)); 1257 retval = krb5_decode_princ_contents(context, &contdata, &entry); 1263 for (i = 0; i < entry.n_key_data; i++) { 1264 if (entry.key_data[i].key_data_length[0]) { 1265 memset((char *) entry.key_data[i].key_data_contents[0], 0, 1266 (unsigned) entry 1840 krb5_db2_free_policy(krb5_context kcontext, osa_policy_ent_t entry) argument [all...] |
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 787 /* add new entry */ 1043 free_entry(adutils_entry_t *entry) argument 1048 if (entry == NULL) 1050 if (entry->attr_nvpairs == NULL) { 1051 free(entry); 1054 for (i = 0; i < entry->num_nvpairs; i++) { 1055 ap = &entry->attr_nvpairs[i]; 1076 free(entry->attr_nvpairs); 1077 free(entry); 1110 adutils_getattr(const adutils_entry_t *entry, cons argument 1137 make_entry(adutils_q_t *q, adutils_host_t *adh, LDAPMessage *search_res, adutils_entry_t **entry) argument 1273 adutils_entry_t *entry = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans_streams.c | 414 /* kbtrans_keyreleased resets downs entry */ 1350 "entry in downs table (%d,%d)!\n", 1375 * Remove entry from the downs table 1672 uint_t entry) 1682 * specific post processing. Note that the translated entry 1692 keyid = entry & 0xFF; 1709 if (entry >= TOPFUNC && 1710 entry < (TOPFUNC + KB_NR_FUNCKEYS)) { 1716 keyid = (entry & 0xF) + 1; 1729 (uint_t)((entry 1668 kbtrans_ascii_keypressed( struct kbtrans *upper, uint_t entrytype, kbtrans_key_t key, uint_t entry) argument 1857 kbtrans_trans_event_keypressed( struct kbtrans *upper, uint_t entrytype, kbtrans_key_t key, uint_t entry) argument 2114 register ushort_t entry; local 2212 register ushort_t entry; local [all...] |
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | i915_gem.c | 1741 struct drm_i915_gem_exec_object *entry) 1749 ret = i915_gem_object_pin(obj, (uint32_t) entry->alignment); 1754 entry->offset = obj_priv->gtt_offset; 1757 (uintptr_t) entry->relocs_ptr; 1761 for (i = 0; i < entry->relocation_count; i++) { 1879 /* Write the updated presumed offset for this entry back out 1739 i915_gem_object_pin_and_relocate(struct drm_gem_object *obj, struct drm_file *file_priv, struct drm_i915_gem_exec_object *entry) argument
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fchba.c | 475 map->entry[mapIndex].FcpId.NodeWWN.wwn) || 477 map->entry[mapIndex].FcpId.PortWWN.wwn)) { 483 map->entry[mapIndex].ScsiId.OSDeviceName, 582 map->entry[mapIndex].ScsiId.OSDeviceName, 583 sizeof (map->entry[mapIndex].ScsiId.OSDeviceName)); 585 map->entry[mapIndex].FcpId.NodeWWN.wwn, 589 map->entry[mapIndex].ScsiId.OSDeviceName)) { 599 map->entry[mapIndex].ScsiId.OSDeviceName, 600 sizeof (map->entry[mapIndex].ScsiId.OSDeviceName)); 602 map->entry[mapInde 1335 HBA_FCPSCSIENTRYV2 entry = lun->map; local [all...] |