Home
last modified time | relevance | path

Searched refs:nslots (Results 1 – 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_tx.c61 uint32_t nslots; in nge_tx_recycle_all() local
64 nslots = srp->desc.nslots; in nge_tx_recycle_all()
66 for (slot = 0; slot < nslots; ++slot) { in nge_tx_recycle_all()
129 const uint64_t end = srp->desc.nslots * txd_size; in nge_tx_desc_sync()
158 uint32_t nslots; in nge_tx_recycle() local
182 nslots = srp->desc.nslots; in nge_tx_recycle()
184 used = nslots - free - used; in nge_tx_recycle()
186 ASSERT(slot == NEXT_INDEX(next, free, nslots)); in nge_tx_recycle()
208 for (free = 0; used-- != 0; slot = NEXT(slot, nslots), ++free) { in nge_tx_recycle()
246 ngep->watchdog = (srp->desc.nslots - srp->tx_free != 0); in nge_tx_recycle()
[all …]
H A Dnge_main.c283 slice->nslots = qty; in nge_slice_chunk()
334 dma_p->nslots = ~0U; in nge_alloc_dma_mem()
483 kmem_free(ssbdp, srp->desc.nslots*sizeof (*ssbdp)); in nge_fini_send_ring()
496 uint32_t nslots; in nge_init_send_ring() local
506 srp->desc.nslots = ngep->tx_desc; in nge_init_send_ring()
507 nslots = srp->desc.nslots; in nge_init_send_ring()
518 ssbdp = kmem_zalloc(nslots*sizeof (*ssbdp), KM_SLEEP); in nge_init_send_ring()
527 for (slot = 0; slot < nslots/ngep->nge_split; ++ssbdp, ++slot) { in nge_init_send_ring()
584 srp->tx_free = srp->desc.nslots; in nge_reinit_send_ring()
599 for (slot = 0; slot < srp->desc.nslots; ++slot) { in nge_reinit_send_ring()
[all …]
H A Dnge.h419 uint32_t nslots; /* number of slots */ member
490 uint64_t nslots; /* descriptor area */ member
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl.c170 static void sysc_slot_info(int nslots, int *start, int *limit, int *incr);
532 softsp->nslots = 16; in sysctrl_attach()
536 softsp->nslots = 8; in sysctrl_attach()
543 softsp->nslots = 5; in sysctrl_attach()
545 softsp->nslots = 4; in sysctrl_attach()
551 softsp->nslots = 0; in sysctrl_attach()
684 sysc_slot_info(softsp->nslots, &start, &limit, &incr); in sysctrl_attach()
1016 sysc_slot_info(softsp->nslots, &arg.start, &arg.limit, &arg.incr); in sysctrl_detach()
1081 sysc_slot_info(softsp->nslots, &arg.start, &arg.limit, in sysctrl_open()
1882 ((IS4SLOT(softsp->nslots) || in ps_fail_handler()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ufm/
H A Dtopo_ufm.c50 uint_t nslots; in topo_ufm_devinfo_image() local
60 &nslots); in topo_ufm_devinfo_image()
67 if (nslots == 0) { in topo_ufm_devinfo_image()
81 if (topo_node_range_create(mod, img_tn, SLOT, 0, nslots - 1) != 0) { in topo_ufm_devinfo_image()
83 "%s", SLOT, nslots - 1, topo_mod_errmsg(mod)); in topo_ufm_devinfo_image()
100 for (uint_t i = 0; i < nslots; i++) { in topo_ufm_devinfo_image()
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_recv2.c64 brp->rf_next = NEXT(slot, brp->desc.nslots); in bge_refill()
110 if (hw_rbd.index >= brp->desc.nslots) { in bge_receive_packet()
300 if (*rrp->prod_index_p >= rrp->desc.nslots) { in bge_receive_ring()
326 rrp->rx_next = slot = NEXT(slot, rrp->desc.nslots); in bge_receive_ring()
369 if (*rrp->prod_index_p >= rrp->desc.nslots) { in bge_poll_ring()
397 rrp->rx_next = slot = NEXT(slot, rrp->desc.nslots); in bge_poll_ring()
H A Dbge_main2.c194 srp->tx_free = srp->desc.nslots; in bge_reinit_send_ring()
241 for (slot = 0; slot < srp->desc.nslots; ++ssbdp, ++slot) in bge_reinit_send_ring()
260 uint32_t nslots; in bge_reinit_buff_ring() local
279 nslots = brp->desc.nslots; in bge_reinit_buff_ring()
280 ASSERT(brp->buf[0].nslots == nslots/BGE_SPLIT); in bge_reinit_buff_ring()
283 for (slot = 0; slot < nslots; ++hw_rbd_p, ++srbdp, ++slot) { in bge_reinit_buff_ring()
296 brp->rf_next = (nslots != 0) ? (nslots-1) : 0; in bge_reinit_buff_ring()
2130 dma_p->nslots = ~0U;
2173 slice->nslots = qty;
2199 uint32_t nslots; local
[all …]
H A Dbge_send.c115 ASSERT(srp->tx_free <= srp->desc.nslots); in bge_recycle_ring()
119 slot = NEXT(slot, srp->desc.nslots)) { in bge_recycle_ring()
151 ASSERT(srp->tx_free + n <= srp->desc.nslots); in bge_recycle_ring()
461 tx_next = NEXT(tx_next, srp->desc.nslots); in bge_send_serial()
473 (srp->desc.nslots - srp->tx_next) * in bge_send_serial()
476 count -= srp->desc.nslots - srp->tx_next; in bge_send_serial()
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c453 int i, nslots; in display_slotinfo() local
483 nslots = s->m_n_normal; in display_slotinfo()
484 slots = mdb_alloc(sizeof (mptsas_cmd_t) * nslots, UM_SLEEP); in display_slotinfo()
486 for (i = 0; i < nslots; i++) in display_slotinfo()
615 for (i = 0; i < nslots; i++) in display_slotinfo()
629 for (i = 0; i < nslots; i++) in display_slotinfo()
654 mdb_free(slots, sizeof (mptsas_cmd_t) * nslots); in display_slotinfo()
814 int nslots; in mptsas_dcmd() local
865 nslots = s->m_n_normal; in mptsas_dcmd()
870 (sizeof (mptsas_cmd_t *) * (nslots-1)); in mptsas_dcmd()
/illumos-gate/usr/src/cmd/mdb/common/modules/ptm/
H A Dptm.c214 size_t nslots; in ptms_walk_init() local
226 if (mdb_readvar(&nslots, "ptms_nslots") == -1) { in ptms_walk_init()
235 wsp->walk_arg = (((struct pt_ttys **)wsp->walk_addr) + (nslots - 1)); in ptms_walk_init()
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dufm.c77 uint_t nimages, nslots, caps; in fw_readfw() local
104 &slots, &nslots) != 0) { in fw_readfw()
542 uint_t nslots, s; in fw_devinfo() local
546 DDI_UFM_NV_IMAGE_SLOTS, &slots, &nslots) != 0) { in fw_devinfo()
561 for (s = 0; s < nslots; s++) { in fw_devinfo()
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c273 di_slotinfo_get(topo_mod_t *mp, di_node_t src, int *nslots, in di_slotinfo_get() argument
285 *nslots = 0; in di_slotinfo_get()
302 *nslots = 0; in di_slotinfo_get()
311 (*nslots)++; in di_slotinfo_get()
/illumos-gate/usr/src/uts/common/io/rwd/
H A Drt2661_var.h33 uint32_t nslots; /* number of slots */ member
/illumos-gate/usr/src/uts/common/os/
H A Dddi_ufm.c490 ddi_ufm_image_set_nslots(ddi_ufm_image_t *uip, uint_t nslots) in ddi_ufm_image_set_nslots() argument
493 uip->ufmi_nslots = nslots; in ddi_ufm_image_set_nslots()
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpivar.h75 uint32_t nslots; /* number of slots */ member
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk2_var.h47 uint32_t nslots; /* number of slots */ member
/illumos-gate/usr/src/uts/common/io/rwn/
H A Drt2860_var.h60 uint32_t nslots; /* number of slots */ member
/illumos-gate/usr/src/uts/common/io/iwp/
H A Diwp_var.h47 uint32_t nslots; /* number of slots */ member
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh_var.h47 uint32_t nslots; /* number of slots */ member
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_table.cc199 db_free_list::stats(int nslots) in stats() argument
203 liststart = nslots, // start of freelist in stats()
204 listend = nslots+count+2; // end of freelist in stats()
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/
H A Dsysctrl.h370 uchar_t nslots; /* slots in this system (0-16) */ member
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_impl.h210 uint32_t nslots; /* number of slots */ member
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c1667 int nslots = 0; in xnf_tx_push_packet() local
1694 nslots++; in xnf_tx_push_packet()
1702 ASSERT3U(nslots, ==, 1); in xnf_tx_push_packet()
1708 nslots++; in xnf_tx_push_packet()
1713 ASSERT3U(nslots, <=, XEN_MAX_SLOTS_PER_TX); in xnf_tx_push_packet()
1718 head->tx_frags_to_ack = nslots - extras; in xnf_tx_push_packet()
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtwvar.h181 uint32_t nslots; /* number of slots */ member
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dwhcdi.h264 uint8_t nslots);

12