/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdma/ |
H A D | ibdma.c | 152 int slot; in _fini() local 168 for (slot = 0; slot < IBDMA_MAX_IOC; slot++) { in _fini() 767 if (slot == 0 || slot > IBDMA_MAX_IOC) { in ibdma_get_ioc_profile() 773 slot--; in ibdma_get_ioc_profile() 802 slot = (slot >> 16) & 0x0FFFF; in ibdma_get_ioc_services() 803 if (slot == 0 || slot > IBDMA_MAX_IOC) { in ibdma_get_ioc_services() 809 slot--; in ibdma_get_ioc_services() 902 slot, hca->ih_iou.iou_ctrl_list[slot >> 1]); in ibdma_set_ioc_state() 937 int slot; in ibdma_ioc_register() local 965 for (slot = 0; slot < IBDMA_MAX_IOC; slot++) { in ibdma_ioc_register() [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.c | 273 if (slot < 24) { in hpi_pfc_mac_addr_enable() 274 bit = 1 << slot; in hpi_pfc_mac_addr_enable() 277 bit = 1 << (slot - 24); in hpi_pfc_mac_addr_enable() 296 if (slot < 24) { in hpi_pfc_mac_addr_disable() 297 bit = 1 << slot; in hpi_pfc_mac_addr_disable() 300 bit = 1 << (slot - 24); in hpi_pfc_mac_addr_disable() 476 offset = PFC_HASH_ADDR(slot); in hpi_pfc_clear_multicast_hash_table() 491 offset = PFC_HASH_ADDR(slot); in hpi_pfc_set_multicast_hash_table() 499 int slot) in hpi_pfc_set_l2_class_slot() argument 517 offset = PFC_L2_CONFIG(slot); in hpi_pfc_set_l2_class_slot() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/ |
H A D | piclfrutree.info | 77 NODE power-supply-slot location 81 NODE disk-slot location 85 NODE disk-slot location 89 NODE cpu-fan-slot location 93 NODE system-fan-slot location 116 name:/frutree/chassis/disk-slot?Slot=0 117 PROP SlotType string r 0 "disk-slot" 119 name:/frutree/chassis/disk-slot?Slot=1 120 PROP SlotType string r 0 "disk-slot" 125 name:/frutree/chassis/disk-slot?Slot=0 [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4x_srv.c | 762 slotid4 slot; in rfs4x_find_session() local 769 slot = sargs->sa_slotid; in rfs4x_find_session() 798 if (slot->se_seqid == seqid || slot->se_seqid + 1 == seqid) { in check_slot_seqid() 823 rfs4_slot_t *slot; in rfs4x_sequence_prep() local 845 cs->slot = slot; in rfs4x_sequence_prep() 846 *resp = slot->se_buf; in rfs4x_sequence_prep() 852 cs->slot = slot; in rfs4x_sequence_prep() 854 mutex_exit(&slot->se_lock); in rfs4x_sequence_prep() 867 rfs4_slot_t *slot = cs->slot; in rfs4x_sequence_done() local 871 ASSERT(slot != NULL); in rfs4x_sequence_done() [all …]
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_dir.c | 77 struct pcslot slot; in pc_dirlook() local 114 slot.sl_blkno, slot.sl_offset, slot.sl_ep); in pc_dirlook() 115 brelse(slot.sl_bp); in pc_dirlook() 134 struct pcslot slot; in pc_direnter() local 177 pc_getnode(fsp, slot.sl_blkno, slot.sl_offset, in pc_direnter() 178 slot.sl_ep); in pc_direnter() 181 brelse(slot.sl_bp); in pc_direnter() 393 struct pcslot slot; in pc_dirremove() local 415 slot.sl_blkno, slot.sl_offset, slot.sl_ep); in pc_dirremove() 595 slot.sl_blkno, slot.sl_offset, slot.sl_ep); in pc_rename() [all …]
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | nhm_init.c | 135 int slot; in dimm_label() local 144 if (slot >= last_slot) in dimm_label() 146 dimmp = nhm_dimms[slot]; in dimm_label() 156 slot = (dsp->controller * in dimm_label() 160 if (slot >= last_slot) in dimm_label() 163 dimmp = nhm_dimms[slot]; in dimm_label() 172 slot = (dsp->controller * in dimm_label() 177 if (slot >= last_slot) in dimm_label() 179 dimmp = nhm_dimms[slot]; in dimm_label() 323 int slot; in nhm_init() local [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/ |
H A D | sw_main_cmn.c | 122 int slot, chosen = -1; in sw_timer_install() local 141 for (slot = 0; slot < SW_TIMER_MAX; slot++) { in sw_timer_install() 143 chosen = slot; in sw_timer_install() 167 int slot; in subtimer_find() local 169 for (slot = 0; slot < SW_TIMER_MAX; slot++) { in subtimer_find() 172 msinfo->swms_timers[slot].swt_ownerid == who) && in subtimer_find() 174 return (slot); in subtimer_find() 186 int slot; in sw_timer_remove() local 200 msinfo->swms_timers[slot].swt_state = SW_TMR_RMVD; in sw_timer_remove() 214 int slot; in sw_timeout() local [all …]
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 137 srbdp = &rgep->sw_rbds[slot]; in rge_rx_refill() 182 srbdp = &rgep->sw_rbds[slot]; in rge_receive_packet() 320 uint32_t slot; in rge_receive_ring() local 329 slot = rgep->rx_next; in rge_receive_ring() 346 slot = NEXT(slot, RGE_RECV_SLOTS); in rge_receive_ring() 350 rgep->rx_next = slot; in rge_receive_ring() 387 uint32_t slot; in rge_send_claim() local 391 slot = rgep->tx_next; in rge_send_claim() 408 return (slot); in rge_send_claim() 486 uint32_t slot; in rge_send_copy() local [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_xhci.c | 584 assert(slot > 0 && slot <= XHCI_MAX_DEVS); in pci_xhci_get_dev_ctx() 831 *slot = i; in pci_xhci_cmd_enable_slot() 1028 slot)); in pci_xhci_cmd_config_ep() 1377 uint32_t slot; in pci_xhci_complete_commands() local 1406 slot = 0; in pci_xhci_complete_commands() 1928 if (slot == 0 || slot > XHCI_MAX_SLOTS) { in pci_xhci_device_doorbell() 2706 int slot; in pci_xhci_legacy_config() local 2712 slot = 1; in pci_xhci_legacy_config() 2723 slot++; in pci_xhci_legacy_config() 2747 long slot; in pci_xhci_parse_devices() local [all …]
|
/illumos-gate/usr/src/uts/common/sys/sata/adapters/si3124/ |
H A D | si3124reg.h | 242 #define PORT_LRAM(si_ctlp, port, slot) \ argument 243 (PORT_OFFSET(si_ctlp, port) + 0x0 + slot*0x80) 265 #define PORT_COMMAND_ACTIVATION(si_ctlp, port, slot) \ argument 266 (PORT_OFFSET(si_ctlp, port) + 0x1c00 + slot*0x8) 268 #define PORT_SIGNATURE_MSB(si_ctlp, port, slot) \ argument 269 (PORT_OFFSET(si_ctlp, port) + slot*0x80 + 0x0c) 270 #define PORT_SIGNATURE_LSB(si_ctlp, port, slot) \ argument 271 (PORT_OFFSET(si_ctlp, port) + slot*0x80 + 0x14) 295 slot * sizeof (si_prb_t), \ 300 slot * sizeof (si_sgblock_t) * si_dma_sg_number, \ [all …]
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 59 uint64_t slot; in bge_refill() local 63 slot = brp->rf_next; in bge_refill() 64 brp->rf_next = NEXT(slot, brp->desc.nslots); in bge_refill() 65 bge_mbx_put(bgep, brp->chip_mbx_reg, slot); in bge_refill() 287 uint64_t slot; in bge_receive_ring() local 316 slot = rrp->rx_next; in bge_receive_ring() 320 if ((mp = bge_receive_packet(bgep, &hw_rbd_p[slot], rrp)) in bge_receive_ring() 326 rrp->rx_next = slot = NEXT(slot, rrp->desc.nslots); in bge_receive_ring() 356 uint64_t slot; in bge_poll_ring() local 387 slot = rrp->rx_next; in bge_poll_ring() [all …]
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_dir.c | 85 struct slot { struct 339 struct slot slot; in ud_direnter() local 386 slot.offset = 0; in ud_direnter() 387 slot.size = 0; in ud_direnter() 388 slot.fbp = NULL; in ud_direnter() 389 slot.ep = NULL; in ud_direnter() 549 if (slot.fbp) { in ud_direnter() 611 struct slot slot; in ud_dirremove() local 652 slot.size = 0; in ud_dirremove() 654 slot.ep = NULL; in ud_dirremove() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_ufm.c | 100 if (slot->ufms_version != NULL) in ufm_cache_invalidate() 101 strfree(slot->ufms_version); in ufm_cache_invalidate() 102 nvlist_free(slot->ufms_misc); in ufm_cache_invalidate() 214 ufmh->ufmh_arg, i, s, slot); in ufm_cache_fill() 220 slot->ufms_version != NULL); in ufm_cache_fill() 243 slot->ufms_attrs); in ufm_cache_fill() 244 if (slot->ufms_attrs & DDI_UFM_ATTR_EMPTY) in ufm_cache_fill() 247 if (slot->ufms_imgsize != 0) { in ufm_cache_fill() 250 slot->ufms_imgsize); in ufm_cache_fill() 254 slot->ufms_version); in ufm_cache_fill() [all …]
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_info.c | 120 tlm_slot_t *slot = NULL; in tlm_slot() local 124 slot = library->tl_slot; in tlm_slot() 125 while (slot != NULL) { in tlm_slot() 126 if (slt == slot->ts_number) { in tlm_slot() 127 return (slot); in tlm_slot() 129 slot = slot->ts_next; in tlm_slot() 370 tlm_slot_t *slot = ndmp_malloc(sizeof (tlm_slot_t)); in tlm_insert_new_slot() local 379 slot->ts_library = library; in tlm_insert_new_slot() 380 slot->ts_number = library->tl_slot_count; in tlm_insert_new_slot() 381 *p_slot = slot; in tlm_insert_new_slot() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandoc_xr.c | 42 unsigned int slot; in mandoc_xr_clear() local 46 for (xr = ohash_first(xr_hash, &slot); xr != NULL; in mandoc_xr_clear() 47 xr = ohash_next(xr_hash, &slot)) in mandoc_xr_clear() 70 unsigned int slot; in mandoc_xr_add() local 92 slot = ohash_lookup_memory(xr_hash, xr->hashkey, tsz, hv); in mandoc_xr_add() 93 if ((oxr = ohash_find(xr_hash, slot)) == NULL) { in mandoc_xr_add() 94 ohash_insert(xr_hash, slot, xr); in mandoc_xr_add()
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 60 uint32_t slot; in nge_tx_recycle_all() local 66 for (slot = 0; slot < nslots; ++slot) { in nge_tx_recycle_all() 68 ssbdp = srp->sw_sbds + slot; in nge_tx_recycle_all() 155 uint32_t slot; in nge_tx_recycle() local 181 slot = srp->tc_next; in nge_tx_recycle() 208 for (free = 0; used-- != 0; slot = NEXT(slot, nslots), ++free) { in nge_tx_recycle() 248 srp->tc_next = slot; in nge_tx_recycle() 435 uint32_t slot; in nge_send_mapped() local 475 slot = 0; in nge_send_mapped() 510 ++slot != end_index; in nge_send_mapped() [all …]
|
/illumos-gate/usr/src/uts/sun4u/daktari/io/ |
H A D | hpc3130_dak.c | 69 #define HPC3130_REG(offset, slot) ((offset) + ((slot)*8)) argument 1097 slot, value)); in hpc3130_set_led() 1207 int slot; in hpc3130_init() local 1223 for (slot = 0; slot < HPC3130_MAX_SLOT; slot++) { in hpc3130_init() 1259 uint8_t slot; in hpc3130_hard_intr() local 1272 for (slot = 0; slot < HPC3130_MAX_SLOT; slot++) { in hpc3130_hard_intr() 1308 slot, in hpc3130_hard_intr() 1315 slot, in hpc3130_hard_intr() 1357 slot, in hpc3130_hard_intr() 1362 slot, in hpc3130_hard_intr() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sysiosbus.c | 1014 int slot, size; in sbusmem_initchild() local 1019 if (slot == -1) { in sbusmem_initchild() 1107 int slot; in sbus_initchild() local 1156 if (slot < 0 || slot >= MAX_SBUS_SLOT_ADDR) { in sbus_initchild() 1165 slot = (slot > 3) ? slot - 9 : slot; in sbus_initchild() 1533 int slot = -1; in find_sbus_slot() local 1548 return (slot); in find_sbus_slot() 1651 int slot; in sbus_add_intr_impl() local 1658 if (slot >= MAX_SBUS_SLOT_ADDR || slot < 0) { in sbus_add_intr_impl() 1660 slot); in sbus_add_intr_impl() [all …]
|
/illumos-gate/usr/src/lib/lib9p/common/ |
H A D | hashtable.c | 148 ssize_t slot = hash % h->ht_nentries; in ht_remove_locked() local 150 entry = &h->ht_entries[slot]; in ht_remove_locked() 182 ssize_t slot; in ht_iter_advance() local 192 slot = iter->htit_slot; in ht_iter_advance() 193 while (++slot < h->ht_nentries) { in ht_iter_advance() 194 next = TAILQ_FIRST(&h->ht_entries[slot].hte_items); in ht_iter_advance() 198 iter->htit_slot = slot; in ht_iter_advance() 213 ssize_t slot; in ht_remove_at_iter() local 227 slot = iter->htit_slot; in ht_remove_at_iter() 229 TAILQ_REMOVE(&h->ht_entries[slot].hte_items, item, hti_link); in ht_remove_at_iter()
|
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vcosf.S | 205 ! delay slot 216 ! delay slot 227 ! delay slot 258 ! delay slot 264 ! delay slot 270 ! delay slot 276 ! delay slot 300 ! delay slot 359 ! delay slot 363 ! delay slot [all …]
|
H A D | __vsinf.S | 205 ! delay slot 216 ! delay slot 227 ! delay slot 258 ! delay slot 264 ! delay slot 270 ! delay slot 276 ! delay slot 300 ! delay slot 355 ! delay slot 359 ! delay slot [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/frutree/ |
H A D | piclfrutree.info | 70 NODE power-supply-slot location 71 PROP Label string r 0 "power-supply-slot" 74 NODE disk-slot location 78 NODE system-fan-slot location 79 PROP Label string r 0 "system-fan-slot" 92 * add the power-supply fru to the power-supply-slot 94 name:/frutree/chassis/power-supply-slot 101 name:/frutree/chassis/disk-slot?Slot=0 102 PROP SlotType string r 0 "disk-slot" 107 name:/frutree/chassis/disk-slot?Slot=0 [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ufm/ |
H A D | topo_ufm.c | 101 topo_ufm_slot_info_t slot = { 0 }; in topo_ufm_devinfo_image() local 105 slot.usi_slotid = i; in topo_ufm_devinfo_image() 115 slot.usi_version = vers; in topo_ufm_devinfo_image() 119 slot.usi_mode = TOPO_UFM_SLOT_MODE_RW; in topo_ufm_devinfo_image() 122 slot.usi_mode = TOPO_UFM_SLOT_MODE_RO; in topo_ufm_devinfo_image() 125 slot.usi_mode = TOPO_UFM_SLOT_MODE_WO; in topo_ufm_devinfo_image() 128 slot.usi_mode = TOPO_UFM_SLOT_MODE_NONE; in topo_ufm_devinfo_image() 132 slot.usi_active = (attr & DDI_UFM_ATTR_ACTIVE) != 0; in topo_ufm_devinfo_image() 143 slot.usi_version = vers; in topo_ufm_devinfo_image() 150 slot.usi_extra = NULL; in topo_ufm_devinfo_image() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 117 smbios_slot_t slot; in di_smbios_find_slot_by_bdf() local 127 if (slot.smbl_bus == bus && slot.smbl_df == df) { in di_smbios_find_slot_by_bdf() 128 cbp->cb_label = slot.smbl_name; in di_smbios_find_slot_by_bdf() 129 cbp->cb_slotnum = slot.smbl_id; in di_smbios_find_slot_by_bdf() 141 smbios_slot_t slot; in di_smbios_find_slot_by_id() local 148 cbp->cb_label = slot.smbl_name; in di_smbios_find_slot_by_id() 574 slotnm_t *slot; in did_physlot_name() local 587 for (slot = dp->dp_slotnames; slot != NULL; slot = slot->snm_next) in did_physlot_name() 588 if (slot->snm_dev == dev) in did_physlot_name() 590 if (slot != NULL) in did_physlot_name() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_mptsas.c | 38 uint32_t slot, char **sas_address) in get_sas_address() argument 79 if (di[i].Enclosure == enclosure && di[i].Slot == slot) { in get_sas_address() 83 "with adddress %s\n", enclosure, slot, sas); in get_sas_address() 99 uint32_t enclosure, slot; in disk_mptsas_find_disk() local 111 TOPO_BINDING_SLOT, &slot, &err) != 0) { in disk_mptsas_find_disk() 119 return (get_sas_address(mod, devctl, enclosure, slot, sas_address)); in disk_mptsas_find_disk()
|