Home
last modified time | relevance | path

Searched refs:ndescs (Results 1 – 6 of 6) sorted by relevance

/NextBSD/sys/dev/virtio/
HDvirtqueue.c92 uint16_t ndescs; member
330 dxp->ndescs = 0; in virtqueue_reinit()
521 dxp->ndescs = needed; in virtqueue_enqueue()
729 dxp->ndescs = 1; in vq_ring_enqueue_indirect()
810 vq->vq_free_cnt += dxp->ndescs; in vq_ring_free_chain()
811 dxp->ndescs--; in vq_ring_free_chain()
817 dxp->ndescs--; in vq_ring_free_chain()
821 VQASSERT(vq, dxp->ndescs == 0, in vq_ring_free_chain()
822 "failed to free entire desc chain, remaining: %d", dxp->ndescs); in vq_ring_free_chain()
/NextBSD/sys/dev/rt/
HDif_rt.c991 int error, ndmasegs, ndescs, i; in rt_tx_data() local
1039 ndescs = 1 + ndmasegs / 2; in rt_tx_data()
1040 if ((ring->desc_queued + ndescs) > in rt_tx_data()
1952 int ndescs, nframes; in rt_tx_eof() local
1956 ndescs = 0; in rt_tx_eof()
1964 ndescs++; in rt_tx_eof()
2007 "Tx eof: qid=%d, ndescs=%d, nframes=%d\n", ring->qid, ndescs, in rt_tx_eof()
/NextBSD/sys/contrib/libnv/
HDnvlist.c790 size_t ndescs; in nvlist_ndescriptors() local
796 ndescs = 0; in nvlist_ndescriptors()
802 ndescs++; in nvlist_ndescriptors()
827 ndescs += nitems; in nvlist_ndescriptors()
834 return (ndescs); in nvlist_ndescriptors()
/NextBSD/lib/libxpc/
HDsubr_nvlist.c663 size_t ndescs; in nvlist_xndescriptors() local
669 ndescs = 0; in nvlist_xndescriptors()
674 ndescs++; in nvlist_xndescriptors()
679 ndescs += nvlist_xndescriptors(nvpair_get_nvlist(nvp), in nvlist_xndescriptors()
685 return (ndescs); in nvlist_xndescriptors()
/NextBSD/sys/dev/cxgbe/
HDt4_sge.c1273 int ndescs = 0, limit; in service_iq() local
1396 if (__predict_false(++ndescs == limit)) { in service_iq()
1398 V_CIDXINC(ndescs) | in service_iq()
1401 ndescs = 0; in service_iq()
1457 t4_write_reg(sc, MYPF_REG(A_SGE_PF_GTS), V_CIDXINC(ndescs) | in service_iq()
/NextBSD/sys/dev/de/
HDif_de.c4654 int ndescs) in tulip_initring() argument
4658 ri->ri_descinfo = malloc(sizeof(tulip_descinfo_t) * ndescs, M_DEVBUF, in tulip_initring()
4660 for (i = 0; i < ndescs; i++) { in tulip_initring()
4665 ri->ri_max = ndescs; in tulip_initring()