/titanic_44/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 61 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 D | nge_main.c | 283 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 D | nge.h | 419 uint32_t nslots; /* number of slots */ member 490 uint64_t nslots; /* descriptor area */ member
|
H A D | nge_rx.c | 387 rrp->prod_index = NEXT(end_index, rrp->desc.nslots); in nge_recv_ring()
|
/titanic_44/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl.c | 166 static void sysc_slot_info(int nslots, int *start, int *limit, int *incr); 528 softsp->nslots = 16; in sysctrl_attach() 532 softsp->nslots = 8; in sysctrl_attach() 539 softsp->nslots = 5; in sysctrl_attach() 541 softsp->nslots = 4; in sysctrl_attach() 547 softsp->nslots = 0; in sysctrl_attach() 680 sysc_slot_info(softsp->nslots, &start, &limit, &incr); in sysctrl_attach() 1012 sysc_slot_info(softsp->nslots, &arg.start, &arg.limit, &arg.incr); in sysctrl_detach() 1078 sysc_slot_info(softsp->nslots, &arg.start, &arg.limit, in sysctrl_open() 1879 ((IS4SLOT(softsp->nslots) || in ps_fail_handler() [all …]
|
/titanic_44/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 64 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 D | bge_main2.c | 224 srp->tx_free = srp->desc.nslots; in bge_reinit_send_ring() 271 for (slot = 0; slot < srp->desc.nslots; ++ssbdp, ++slot) in bge_reinit_send_ring() 290 uint32_t nslots; in bge_reinit_buff_ring() local 309 nslots = brp->desc.nslots; in bge_reinit_buff_ring() 310 ASSERT(brp->buf[0].nslots == nslots/BGE_SPLIT); in bge_reinit_buff_ring() 313 for (slot = 0; slot < nslots; ++hw_rbd_p, ++srbdp, ++slot) { in bge_reinit_buff_ring() 326 brp->rf_next = (nslots != 0) ? (nslots-1) : 0; in bge_reinit_buff_ring() 2144 dma_p->nslots = ~0U; 2187 slice->nslots = qty; 2213 uint32_t nslots; local [all …]
|
H A D | bge_send.c | 115 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() 460 tx_next = NEXT(tx_next, srp->desc.nslots); in bge_send_serial() 472 (srp->desc.nslots - srp->tx_next) * in bge_send_serial() 475 count -= srp->desc.nslots - srp->tx_next; in bge_send_serial()
|
H A D | bge_hw.h | 549 #define NIC_MEM_SHADOW_SEND_RING(ring, nslots) (0x4000 + 4*(ring)*(nslots)) argument
|
/titanic_44/usr/src/tools/ctf/cvt/ |
H A D | ctfmerge.c | 623 int throttle, nslots, i; in wq_init() local 626 nslots = atoi(getenv("CTFMERGE_MAX_SLOTS")); in wq_init() 628 nslots = MERGE_PHASE1_MAX_SLOTS; in wq_init() 635 nslots = MIN(nslots, (nfiles + wq->wq_maxbatchsz - 1) / in wq_init() 638 wq->wq_wip = xcalloc(sizeof (wip_t) * nslots); in wq_init() 639 wq->wq_nwipslots = nslots; in wq_init() 640 wq->wq_nthreads = MIN(sysconf(_SC_NPROCESSORS_ONLN) * 3 / 2, nslots); in wq_init() 654 for (i = 0; i < nslots; i++) { in wq_init()
|
/titanic_44/usr/src/cmd/mdb/common/modules/mpt_sas/ |
H A D | mpt_sas.c | 452 int i, nslots; in display_slotinfo() local 482 nslots = s->m_n_normal; in display_slotinfo() 483 slots = mdb_alloc(sizeof (mptsas_cmd_t) * nslots, UM_SLEEP); in display_slotinfo() 485 for (i = 0; i < nslots; i++) in display_slotinfo() 614 for (i = 0; i < nslots; i++) in display_slotinfo() 628 for (i = 0; i < nslots; i++) in display_slotinfo() 653 mdb_free(slots, sizeof (mptsas_cmd_t) * nslots); in display_slotinfo() 813 int nslots; in mptsas_dcmd() local 864 nslots = s->m_n_normal; in mptsas_dcmd() 869 (sizeof (mptsas_cmd_t *) * (nslots-1)); in mptsas_dcmd()
|
/titanic_44/usr/src/cmd/mdb/common/modules/ptm/ |
H A D | ptm.c | 215 size_t nslots; in ptms_walk_init() local 227 if (mdb_readvar(&nslots, "ptms_nslots") == -1) { in ptms_walk_init() 236 wsp->walk_arg = (((struct pt_ttys **)wsp->walk_addr) + (nslots - 1)); in ptms_walk_init()
|
/titanic_44/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 210 di_slotinfo_get(topo_mod_t *mp, di_node_t src, int *nslots, in di_slotinfo_get() argument 222 *nslots = 0; in di_slotinfo_get() 239 *nslots = 0; in di_slotinfo_get() 248 (*nslots)++; in di_slotinfo_get()
|
/titanic_44/usr/src/uts/common/io/rwd/ |
H A D | rt2661_var.h | 33 uint32_t nslots; /* number of slots */ member
|
/titanic_44/usr/src/uts/common/io/wpi/ |
H A D | wpivar.h | 75 uint32_t nslots; /* number of slots */ member
|
/titanic_44/usr/src/uts/common/io/iwk/ |
H A D | iwk2_var.h | 47 uint32_t nslots; /* number of slots */ member
|
/titanic_44/usr/src/uts/common/io/rwn/ |
H A D | rt2860_var.h | 60 uint32_t nslots; /* number of slots */ member
|
/titanic_44/usr/src/uts/common/io/iwh/ |
H A D | iwh_var.h | 47 uint32_t nslots; /* number of slots */ member
|
/titanic_44/usr/src/uts/common/io/iwp/ |
H A D | iwp_var.h | 47 uint32_t nslots; /* number of slots */ member
|
/titanic_44/usr/src/lib/libnisdb/ |
H A D | db_table.cc | 196 db_free_list::stats(int nslots) in stats() argument 200 liststart = nslots, // start of freelist in stats() 201 listend = nslots+count+2; // end of freelist in stats()
|
/titanic_44/usr/src/uts/sun4u/sunfire/sys/ |
H A D | sysctrl.h | 370 uchar_t nslots; /* slots in this system (0-16) */ member
|
/titanic_44/usr/src/uts/common/io/ath/ |
H A D | ath_impl.h | 210 uint32_t nslots; /* number of slots */ member
|
/titanic_44/usr/src/uts/common/io/rtw/ |
H A D | rtwvar.h | 179 uint32_t nslots; /* number of slots */ member
|
/titanic_44/usr/src/uts/common/sys/usb/usba/ |
H A D | whcdi.h | 264 uint8_t nslots);
|
/titanic_44/usr/src/uts/common/io/rge/ |
H A D | rge.h | 283 uint32_t nslots; /* number of slots */ member
|