/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 40 static int oce_rq_charge(struct oce_rq *rq, uint32_t nbufs, boolean_t repost); 47 static void oce_rq_post_buffer(struct oce_rq *rq, int nbufs); 94 for (cnt = 0; cnt < rq->cfg.nbufs; cnt++, rqbd++) { in oce_rqb_cache_create() 102 rq->rqb_free = rq->cfg.nbufs; in oce_rqb_cache_create() 126 for (cnt = 0; cnt < rq->cfg.nbufs; cnt++, rqbd++) { in oce_rqb_cache_destroy() 208 rq->rqb_next_free = GET_Q_NEXT(free_index, 1, rq->cfg.nbufs); in oce_rqb_alloc() 227 rq->rqb_rc_head = GET_Q_NEXT(free_index, 1, rq->cfg.nbufs); in oce_rqb_free() 235 static void oce_rq_post_buffer(struct oce_rq *rq, int nbufs) in oce_rq_post_buffer() argument 245 for (count = nbufs/OCE_MAX_RQ_POSTS; count > 0; count--) { in oce_rq_post_buffer() 249 nbufs -= OCE_MAX_RQ_POSTS; in oce_rq_post_buffer() [all …]
|
H A D | oce_queue.c | 484 wq->cfg.nbufs = 2 * wq->cfg.q_len; in oce_wq_init() 720 rq->cfg.nbufs = dev->rq_max_bufs; in oce_rq_init() 727 kmem_zalloc((sizeof (oce_rq_bdesc_t) * rq->cfg.nbufs), KM_NOSLEEP); in oce_rq_init() 745 kmem_zalloc(rq->cfg.nbufs * sizeof (oce_rq_bdesc_t *), KM_NOSLEEP); in oce_rq_init() 778 (rq->cfg.nbufs * sizeof (oce_rq_bdesc_t *))); in oce_rq_init() 785 (sizeof (oce_rq_bdesc_t) * rq->cfg.nbufs)); in oce_rq_init() 810 (sizeof (oce_rq_bdesc_t) * rq->cfg.nbufs)); in oce_rq_fini() 813 (rq->cfg.nbufs * sizeof (oce_rq_bdesc_t *))); in oce_rq_fini()
|
H A D | oce_tx.c | 202 size = wq->cfg.nbufs * sizeof (oce_wq_bdesc_t); in oce_wqb_cache_create() 211 for (cnt = 0; cnt < wq->cfg.nbufs; cnt++) { in oce_wqb_cache_create() 242 wq->cfg.nbufs * sizeof (oce_wq_bdesc_t)); in oce_wqb_cache_destroy()
|
/titanic_41/usr/src/tools/ctf/dwarf/common/ |
H A D | pro_section.c | 204 int nbufs = 0; in dwarf_transform_to_disk_form() local 322 nbufs = 0; in dwarf_transform_to_disk_form() 329 nbufs = _dwarf_pro_generate_debugline(dbg, error); in dwarf_transform_to_disk_form() 330 if (nbufs < 0) { in dwarf_transform_to_disk_form() 337 nbufs = _dwarf_pro_generate_debugframe(dbg, error); in dwarf_transform_to_disk_form() 338 if (nbufs < 0) { in dwarf_transform_to_disk_form() 344 nbufs = _dwarf_pro_transform_macro_info_to_disk(dbg, error); in dwarf_transform_to_disk_form() 345 if (nbufs < 0) { in dwarf_transform_to_disk_form() 352 nbufs = _dwarf_pro_generate_debuginfo(dbg, error); in dwarf_transform_to_disk_form() 353 if (nbufs < 0) { in dwarf_transform_to_disk_form() [all …]
|
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_scsi.c | 172 if (scmd->len && (scmd->nbufs < bufs_to_take)) { in sbd_do_read_xfer() 190 scmd->nbufs++; in sbd_do_read_xfer() 262 while (scmd->len && scmd->nbufs < task->task_max_nbufs) { in sbd_do_sgl_read_xfer() 351 if (scmd->nbufs == 0) { in sbd_do_sgl_read_xfer() 378 if (scmd->nbufs > 0) { in sbd_do_sgl_read_xfer() 397 scmd->nbufs++; in sbd_do_sgl_read_xfer() 419 scmd->nbufs--; in sbd_do_sgl_read_xfer() 420 if (scmd->nbufs > 0) { in sbd_do_sgl_read_xfer() 463 scmd->nbufs--; in sbd_handle_read_xfer_completion() 464 if (scmd->nbufs) in sbd_handle_read_xfer_completion() [all …]
|
H A D | sbd_impl.h | 202 uint8_t nbufs; member
|
/titanic_41/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_smr.c | 869 smr_buf_reclaim(int domid, int nbufs) in smr_buf_reclaim() argument 889 PR_SMR("%s: requested %d buffers from domain %d\n", proc, nbufs, domid); in smr_buf_reclaim() 891 if (dp->dio && nbufs) { in smr_buf_reclaim() 897 for (sp = ldp->dslab; sp && nbufs; sp = sp->sl_next) { in smr_buf_reclaim() 912 for (bp = *bpp; bp && nbufs; bp = *bpp) { in smr_buf_reclaim() 923 nbufs--; in smr_buf_reclaim() 1751 int n, nbufs; in smr_alloc_buflist() local 1758 nbufs = (sp->sl_end - sp->sl_start) / IDN_SMR_BUFSIZE; in smr_alloc_buflist() 1759 ASSERT(nbufs > 0); in smr_alloc_buflist() 1760 if (nbufs <= 0) { in smr_alloc_buflist() [all …]
|
H A D | idn_proto.c | 11727 idn_reclaim_mboxdata(int domid, int channel, int nbufs) in idn_reclaim_mboxdata() argument 11753 proc, nbufs, domid); in idn_reclaim_mboxdata() 11809 nbufs) { in idn_reclaim_mboxdata() 11873 nbufs--; in idn_reclaim_mboxdata() 11886 } while ((mi != (int)dp->dreclaim_index) && nbufs); in idn_reclaim_mboxdata()
|
/titanic_41/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch_chan.c | 704 size_t nbufs, bufsz, tailsz; in av1394_ic_ixl_seg_decomp() local 718 nbufs = segsz / maxsz; in av1394_ic_ixl_seg_decomp() 720 nbufs++; in av1394_ic_ixl_seg_decomp() 721 bufsz = segsz / nbufs; in av1394_ic_ixl_seg_decomp() 722 tailsz = bufsz + (segsz - bufsz * nbufs); in av1394_ic_ixl_seg_decomp() 723 } while ((tailsz > maxsz) && ((segsz / (nbufs + 1)) > 1)); in av1394_ic_ixl_seg_decomp() 724 nbufs--; in av1394_ic_ixl_seg_decomp() 728 return (nbufs); in av1394_ic_ixl_seg_decomp()
|
H A D | av1394_isoch_recv.c | 443 uint_t nbufs; in av1394_ir_build_ixl() local 445 nbufs = av1394_ic_ixl_seg_decomp(end - off, in av1394_ir_build_ixl() 448 for (j = 0; j < nbufs; ++j) { in av1394_ir_build_ixl()
|
/titanic_41/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | libumem.c | 146 umastat_lwp_ptc(uintptr_t addr, void *buf, int *nbufs) in umastat_lwp_ptc() argument 148 (*nbufs)++; in umastat_lwp_ptc() 157 int nbufs = 0; in umastat_lwp_cache() local 166 &nbufs, (uintptr_t)ulwp->ul_self) == -1) { in umastat_lwp_cache() 172 (nbufs * cp->cache_bufsize * 100) / ulwp->ul_tmem.tm_size : 0); in umastat_lwp_cache()
|
/titanic_41/usr/src/uts/common/io/scsi/targets/ |
H A D | sd_xbuf.c | 84 uint8_t nbufs; /* number of buf allocated */ member 345 brkp->nbufs--; in xbuf_brk_done() 347 done = (brkp->off == -1 && brkp->nbufs == 0); in xbuf_brk_done() 504 brkp->nbufs++; in xbuf_iostart()
|
/titanic_41/usr/src/uts/common/sys/ib/clients/rds/ |
H A D | rdsib_buf.h | 165 rds_buf_t *rds_get_send_buf(struct rds_ep_s *ep, uint_t nbufs);
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_io.h | 209 uint32_t nbufs; /* copy buffers */ member 243 uint32_t nbufs; /* Total data buffers */ member
|
/titanic_41/usr/src/uts/sun4u/starfire/sys/ |
H A D | idn_smr.h | 208 extern int smr_buf_reclaim(int domid, int nbufs);
|
H A D | idn.h | 3669 extern int idn_reclaim_mboxdata(int domid, int channel, int nbufs);
|
/titanic_41/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_mm_l4.c | 216 u32_t nbufs, in mm_tcp_get_gen_bufs() argument
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/ |
H A D | mm_l4if.h | 254 u32_t nbufs,
|
/titanic_41/usr/src/uts/common/os/ |
H A D | kmem.c | 2750 size_t nbufs; in kmem_slab_prefill() local 2766 nbufs = (sp->slab_chunks - sp->slab_refcnt); in kmem_slab_prefill() 2768 sp->slab_refcnt += nbufs; in kmem_slab_prefill() 2769 cp->cache_bufslab -= nbufs; in kmem_slab_prefill() 2770 cp->cache_slab_alloc += nbufs; in kmem_slab_prefill() 2787 nbufs--; in kmem_slab_prefill() 2815 if (nbufs != 0) { in kmem_slab_prefill() 2823 ASSERT(nbufs != 0); in kmem_slab_prefill() 2828 nbufs--; in kmem_slab_prefill() 2832 ASSERT(nbufs == 0); in kmem_slab_prefill()
|
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 125 static int refill_fl(struct adapter *sc, struct sge_fl *fl, int nbufs); 1925 refill_fl(struct adapter *sc, struct sge_fl *fl, int nbufs) in refill_fl() argument 1931 ASSERT(nbufs >= 0); in refill_fl() 1933 if (nbufs > fl->needed) in refill_fl() 1934 nbufs = fl->needed; in refill_fl() 1936 while (nbufs--) { in refill_fl()
|
/titanic_41/usr/src/uts/common/io/arn/ |
H A D | arn_core.h | 427 int arn_rx_init(struct arn_softc *sc, int nbufs);
|
/titanic_41/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 2558 dnet_rbuf_init(dev_info_t *dip, int nbufs) in dnet_rbuf_init() argument 2569 for (i = 0; i < nbufs; i++) { in dnet_rbuf_init()
|