/illumos-gate/usr/src/uts/common/io/hotplug/hpcsvc/ |
H A D | hpcsvc.c | 117 hpc_slot_entry_t *slotp; member 323 hpc_slot_entry_t *slotp; in hpc_nexus_register_bus() local 370 for (slotp = busp->bus_slot_list; slotp; in hpc_nexus_register_bus() 371 slotp = slotp->slot_next) { in hpc_nexus_register_bus() 372 (void) callback(dip, slotp, &slotp->slot_info, in hpc_nexus_register_bus() 387 hpc_slot_entry_t *slotp; in hpc_nexus_unregister_bus() local 425 for (slotp = busp->bus_slot_list; slotp != NULL; in hpc_nexus_unregister_bus() 426 slotp = slotp->slot_next) { in hpc_nexus_unregister_bus() 427 slotp->slot_event_handler = NULL; in hpc_nexus_unregister_bus() 428 slotp->slot_event_handler_arg = NULL; in hpc_nexus_unregister_bus() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11Sessionlist.c | 45 pkcs11_session_add(pkcs11_slot_t *slotp, CK_SLOT_ID slot_id, in pkcs11_session_add() argument 59 (void) pthread_mutex_lock(&slotp->sl_mutex); in pkcs11_session_add() 62 if (slotp->sl_sess_list == NULL) { in pkcs11_session_add() 63 slotp->sl_sess_list = newhandle; in pkcs11_session_add() 67 slotp->sl_sess_list->se_prev = newhandle; in pkcs11_session_add() 68 newhandle->se_next = slotp->sl_sess_list; in pkcs11_session_add() 70 slotp->sl_sess_list = newhandle; in pkcs11_session_add() 76 (void) pthread_mutex_unlock(&slotp->sl_mutex); in pkcs11_session_add() 90 pkcs11_session_delete(pkcs11_slot_t *slotp, pkcs11_session_t *sessp) in pkcs11_session_delete() argument 94 (void) pthread_mutex_lock(&slotp->sl_mutex); in pkcs11_session_delete() [all …]
|
H A D | pkcs11Session.c | 170 pkcs11_slot_t *slotp; in C_CloseAllSessions() local 197 slotp = slottable->st_slots[fw_st_id]; in C_CloseAllSessions() 209 (void) pthread_mutex_lock(&slotp->sl_mutex); in C_CloseAllSessions() 210 sessp = slotp->sl_sess_list; in C_CloseAllSessions() 226 (void) pthread_mutex_unlock(&slotp->sl_mutex); in C_CloseAllSessions() 235 pkcs11_sessionlist_delete(slotp); in C_CloseAllSessions()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_dir.c | 1011 struct ufs_slot *slotp, /* slot structure */ in ufs_dircheckforname() argument 1034 slotstat_t initstat = slotp->status; in ufs_dircheckforname() 1103 slotp->offset = offset; in ufs_dircheckforname() 1104 slotp->size = 0; in ufs_dircheckforname() 1105 slotp->ep = ep; in ufs_dircheckforname() 1122 slotp->offset = offset + ep->d_reclen; in ufs_dircheckforname() 1123 slotp->size = ep->d_reclen; in ufs_dircheckforname() 1124 slotp->ep = nep; in ufs_dircheckforname() 1126 slotp->status = EXIST; in ufs_dircheckforname() 1127 slotp->fbp = fbp; in ufs_dircheckforname() [all …]
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_dir.c | 901 struct pcslot *slotp, in pc_findentry() argument 914 slotp->sl_status = SL_NONE; in pc_findentry() 926 slotp->sl_bp = NULL; in pc_findentry() 935 if (boff == 0 || slotp->sl_bp == NULL || in pc_findentry() 936 boff >= slotp->sl_bp->b_bcount) { in pc_findentry() 937 if (slotp->sl_bp != NULL) { in pc_findentry() 938 brelse(slotp->sl_bp); in pc_findentry() 939 slotp->sl_bp = NULL; in pc_findentry() 941 error = pc_blkatoff(dp, offset, &slotp->sl_bp, &ep); in pc_findentry() 942 if (error == ENOENT && slotp->sl_status == SL_NONE) { in pc_findentry() [all …]
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.c | 1114 acc = softs->sync_ac.slotp->fib_acc_handle; in aac_shutdown() 1116 cc = (struct aac_close_command *)&softs->sync_ac.slotp->fibp->data[0]; in aac_shutdown() 1221 aac_send_command(struct aac_softstate *softs, struct aac_slot *slotp) in aac_send_command() argument 1234 (uint32_t)(slotp->fib_phyaddr & 0xfffffffful)); in aac_send_command() 1236 PCI_MEM_PUT32(softs, device, (uint32_t)(slotp->fib_phyaddr >> 32)); in aac_send_command() 1238 PCI_MEM_PUT32(softs, device, slotp->acp->fib_size); in aac_send_command() 1249 if (acp->slotp) { /* outstanding cmd */ in aac_end_io() 1251 aac_release_slot(softs, acp->slotp); in aac_end_io() 1252 acp->slotp = NULL; in aac_end_io() 1299 struct aac_slot *slotp; in aac_handle_io() local [all …]
|
H A D | aac.h | 293 struct aac_slot *slotp; /* slot used by this command */ member
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_reloc_symbolic.c | 69 struct Dwarf_Relocation_Data_s *slotp; in _dwarf_pro_reloc_name_symbolic() local 75 slotp = (struct Dwarf_Relocation_Data_s *) relrec_to_fill; in _dwarf_pro_reloc_name_symbolic() 76 slotp->drd_type = type; in _dwarf_pro_reloc_name_symbolic() 77 slotp->drd_length = reltarget_length; in _dwarf_pro_reloc_name_symbolic() 78 slotp->drd_offset = offset; in _dwarf_pro_reloc_name_symbolic() 79 slotp->drd_symbol_index = symidx; in _dwarf_pro_reloc_name_symbolic()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_dir.c | 877 char *namep, int32_t namelen, struct slot *slotp, in ud_dircheckforname() argument 902 if (slotp->status != FOUND) { in ud_dircheckforname() 952 slotp->status = EXIST; in ud_dircheckforname() 953 slotp->offset = offset; in ud_dircheckforname() 954 slotp->size = FID_LEN(fid); in ud_dircheckforname() 955 slotp->fbp = fbp; in ud_dircheckforname() 956 slotp->ep = fid; in ud_dircheckforname() 957 slotp->endoff = 0; in ud_dircheckforname() 966 if ((slotp->status != FOUND) || (matched == 0)) { in ud_dircheckforname() 969 slotp->status = FOUND; in ud_dircheckforname() [all …]
|
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/ |
H A D | pcie_hp.c | 474 pcie_hp_slot_t *slotp = NULL; in pcie_hp_create_occupant_props() local 482 slotp = (ctrl_p && (pci_dev == 0)) ? in pcie_hp_create_occupant_props() 492 slotp = ctrl_p->hc_slots[slot_num]; in pcie_hp_create_occupant_props() 494 slotp = NULL; in pcie_hp_create_occupant_props() 498 if (slotp == NULL) in pcie_hp_create_occupant_props() 507 cn_cfg.slotp = (void *)slotp; in pcie_hp_create_occupant_props() 1122 (pcie_hp_slot_t *)cn_cfg_p->slotp; in pcie_hp_list_occupants()
|
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_info.c | 911 const smb_slot_t *slotp; in smbios_info_slot_peers() local 919 slotp = (const smb_slot_t *)stp->smbst_hdr; in smbios_info_slot_peers() 925 slotp->smbsl_npeers == 0) { in smbios_info_slot_peers() 935 minlen = slotp->smbsl_npeers * sizeof (smb_slot_peer_t) + in smbios_info_slot_peers() 941 if ((peer = smb_alloc(slotp->smbsl_npeers * in smbios_info_slot_peers() 946 for (i = 0; i < slotp->smbsl_npeers; i++) { in smbios_info_slot_peers() 947 peer[i].smblp_group = slotp->smbsl_peers[i].smbspb_group_no; in smbios_info_slot_peers() 948 peer[i].smblp_bus = slotp->smbsl_peers[i].smbspb_bus; in smbios_info_slot_peers() 949 peer[i].smblp_device = slotp->smbsl_peers[i].smbspb_df >> 3; in smbios_info_slot_peers() 950 peer[i].smblp_function = slotp->smbsl_peers[i].smbspb_df & 0x7; in smbios_info_slot_peers() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_command.c | 471 xhci_command_enable_slot(xhci_t *xhcip, uint8_t *slotp) in xhci_command_enable_slot() argument 478 VERIFY(slotp != NULL); in xhci_command_enable_slot() 499 *slotp = slot; in xhci_command_enable_slot()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf/ |
H A D | stmf.c | 977 struct fct_cmd_slot *slotp; in outstanding_cmds_on_lport() local 996 slotp = iport.iport_cmd_slots; in outstanding_cmds_on_lport() 999 (uintptr_t)slotp) != sizeof (struct fct_cmd_slot)) { in outstanding_cmds_on_lport() 1009 slotp ++; in outstanding_cmds_on_lport()
|
/illumos-gate/usr/src/uts/common/sys/hotplug/pci/ |
H A D | pcie_hp.h | 382 void *slotp; member
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_proc.c | 308 struct gssd_ctx_slot **slotp) in gssd_convert_context_handle() argument 314 if (slotp != NULL) in gssd_convert_context_handle() 315 *slotp = NULL; in gssd_convert_context_handle() 333 if (slotp != NULL) in gssd_convert_context_handle() 334 *slotp = slot; in gssd_convert_context_handle()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_nexus.c | 2951 ddi_ufm_slot_t *slotp) in t4_ufm_fill_slot() argument 2970 ddi_ufm_slot_set_version(slotp, buf); in t4_ufm_fill_slot() 2998 ddi_ufm_slot_set_misc(slotp, misc); in t4_ufm_fill_slot() 2999 ddi_ufm_slot_set_attrs(slotp, DDI_UFM_ATTR_ACTIVE | in t4_ufm_fill_slot()
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 5463 uint_t slotno, ddi_ufm_slot_t *slotp) in igb_ufm_fill_slot() argument 5474 ddi_ufm_slot_set_version(slotp, ver); in igb_ufm_fill_slot() 5477 ddi_ufm_slot_set_version(slotp, "unknown"); in igb_ufm_fill_slot() 5480 ddi_ufm_slot_set_attrs(slotp, DDI_UFM_ATTR_ACTIVE | in igb_ufm_fill_slot() 5482 ddi_ufm_slot_set_imgsize(slotp, igb->hw.nvm.word_size * 2); in igb_ufm_fill_slot()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 6789 uint_t slotno, ddi_ufm_slot_t *slotp) in ixgbe_ufm_fill_slot() argument 6801 ddi_ufm_slot_set_version(slotp, "unknown"); in ixgbe_ufm_fill_slot() 6802 ddi_ufm_slot_set_attrs(slotp, DDI_UFM_ATTR_ACTIVE | in ixgbe_ufm_fill_slot() 6804 ddi_ufm_slot_set_imgsize(slotp, ixgbe->hw.eeprom.word_size * 2); in ixgbe_ufm_fill_slot()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 935 proc_fdinfo_t *slotp; in process_hash_insert() local 943 slotp = process_hash_find(&sie, ph->ph_type, ph->ph_family); in process_hash_insert() 945 if (slotp == NULL) { in process_hash_insert() 949 ph->ph_next_proc = slotp->ph_next_proc; in process_hash_insert() 950 slotp->ph_next_proc = ph; in process_hash_insert()
|