Lines Matching refs:num_buf

1091 				       int *num_buf,  in xdp_linearize_page()  argument
1110 while (--*num_buf) { in xdp_linearize_page()
1199 int num_buf = 1; in receive_small_xdp() local
1206 xdp_page = xdp_linearize_page(rq, &num_buf, page, in receive_small_xdp()
1326 static void mergeable_buf_free(struct receive_queue *rq, int num_buf, in mergeable_buf_free() argument
1334 while (num_buf-- > 1) { in mergeable_buf_free()
1338 dev->name, num_buf); in mergeable_buf_free()
1405 int *num_buf, in virtnet_build_xdp_buff_mrg() argument
1423 if (!*num_buf) in virtnet_build_xdp_buff_mrg()
1426 if (*num_buf > 1) { in virtnet_build_xdp_buff_mrg()
1439 if (*num_buf > MAX_SKB_FRAGS + 1) in virtnet_build_xdp_buff_mrg()
1442 while (--*num_buf > 0) { in virtnet_build_xdp_buff_mrg()
1446 dev->name, *num_buf, in virtnet_build_xdp_buff_mrg()
1492 int *num_buf, in mergeable_xdp_get_buf() argument
1518 (*num_buf == 1 || xdp_prog->aux->xdp_has_frags))) { in mergeable_xdp_get_buf()
1532 xdp_page = xdp_linearize_page(rq, num_buf, in mergeable_xdp_get_buf()
1572 int num_buf = virtio16_to_cpu(vi->vdev, hdr->num_buffers); in receive_mergeable_xdp() local
1583 data = mergeable_xdp_get_buf(vi, rq, xdp_prog, ctx, &frame_sz, &num_buf, &page, in receive_mergeable_xdp()
1589 &num_buf, &xdp_frags_truesz, stats); in receive_mergeable_xdp()
1614 mergeable_buf_free(rq, num_buf, dev, stats); in receive_mergeable_xdp()
1631 int num_buf = virtio16_to_cpu(vi->vdev, hdr->num_buffers); in receive_mergeable() local
1669 while (--num_buf) { in receive_mergeable()
1675 dev->name, num_buf, in receive_mergeable()
1731 mergeable_buf_free(rq, num_buf, dev, stats); in receive_mergeable()