Lines Matching refs:num_buf

1183 				 u32 num_buf,  in xsk_drop_follow_bufs()  argument
1189 while (num_buf-- > 1) { in xsk_drop_follow_bufs()
1193 dev->name, num_buf); in xsk_drop_follow_bufs()
1205 u32 num_buf, in xsk_append_merge_buffer() argument
1217 while (--num_buf) { in xsk_append_merge_buffer()
1221 vi->dev->name, num_buf, in xsk_append_merge_buffer()
1259 xsk_drop_follow_bufs(vi->dev, rq, num_buf, stats); in xsk_append_merge_buffer()
1271 u32 ret, num_buf; in virtnet_receive_xsk_merge() local
1274 num_buf = virtio16_to_cpu(vi->vdev, hdr->num_buffers); in virtnet_receive_xsk_merge()
1280 if (prog && num_buf == 1) in virtnet_receive_xsk_merge()
1290 if (xsk_append_merge_buffer(vi, rq, skb, num_buf, hdr, stats)) { in virtnet_receive_xsk_merge()
1307 xsk_drop_follow_bufs(dev, rq, num_buf, stats); in virtnet_receive_xsk_merge()
1649 int *num_buf, in xdp_linearize_page() argument
1668 while (--*num_buf) { in xdp_linearize_page()
1761 int num_buf = 1; in receive_small_xdp() local
1768 xdp_page = xdp_linearize_page(rq, &num_buf, page, in receive_small_xdp()
1893 static void mergeable_buf_free(struct receive_queue *rq, int num_buf, in mergeable_buf_free() argument
1901 while (num_buf-- > 1) { in mergeable_buf_free()
1905 dev->name, num_buf); in mergeable_buf_free()
1972 int *num_buf, in virtnet_build_xdp_buff_mrg() argument
1990 if (!*num_buf) in virtnet_build_xdp_buff_mrg()
1993 if (*num_buf > 1) { in virtnet_build_xdp_buff_mrg()
2006 if (*num_buf > MAX_SKB_FRAGS + 1) in virtnet_build_xdp_buff_mrg()
2009 while (--*num_buf > 0) { in virtnet_build_xdp_buff_mrg()
2013 dev->name, *num_buf, in virtnet_build_xdp_buff_mrg()
2059 int *num_buf, in mergeable_xdp_get_buf() argument
2089 (*num_buf == 1 || xdp_prog->aux->xdp_has_frags))) { in mergeable_xdp_get_buf()
2103 xdp_page = xdp_linearize_page(rq, num_buf, in mergeable_xdp_get_buf()
2143 int num_buf = virtio16_to_cpu(vi->vdev, hdr->num_buffers); in receive_mergeable_xdp() local
2154 data = mergeable_xdp_get_buf(vi, rq, xdp_prog, ctx, &frame_sz, &num_buf, &page, in receive_mergeable_xdp()
2160 &num_buf, &xdp_frags_truesz, stats); in receive_mergeable_xdp()
2185 mergeable_buf_free(rq, num_buf, dev, stats); in receive_mergeable_xdp()
2245 int num_buf = virtio16_to_cpu(vi->vdev, hdr->num_buffers); in receive_mergeable() local
2283 while (--num_buf) { in receive_mergeable()
2287 dev->name, num_buf, in receive_mergeable()
2319 mergeable_buf_free(rq, num_buf, dev, stats); in receive_mergeable()