Lines Matching defs:BUFSIZE
80 #define BUFSIZE 128
81 CTASSERT(BUFSIZE < TTHIWATMINSPACE);
259 allocsize = (vp->vp_rx->vq_num + vp->vp_tx->vq_num) * BUFSIZE;
275 * XXX use only a small circular tx buffer instead of many BUFSIZE buffers?
277 vp->vp_tx_buf = vp->vp_rx_buf + vp->vp_rx->vq_num * BUFSIZE;
312 vp->vp_tx_buf - vp->vp_rx_buf + slot * BUFSIZE, BUFSIZE,
350 bus_dmamap_sync(vsc->sc_dmat, vp->vp_dmamap, slot * BUFSIZE,
351 BUFSIZE, BUS_DMASYNC_PREREAD);
352 virtio_enqueue_p(vq, slot, vp->vp_dmamap, slot * BUFSIZE,
353 BUFSIZE, 0);
386 slot * BUFSIZE, BUFSIZE, BUS_DMASYNC_POSTREAD);
387 p = vp->vp_rx_buf + slot * BUFSIZE;
434 buf = vp->vp_tx_buf + slot * BUFSIZE;
435 cnt = q_to_b(&tp->t_outq, buf, BUFSIZE);
437 vp->vp_tx_buf - vp->vp_rx_buf + slot * BUFSIZE, cnt,
440 vp->vp_tx_buf - vp->vp_rx_buf + slot * BUFSIZE, cnt, 1);