Lines Matching refs:ctx
699 void *buf, void *ctx,
706 unsigned int xdp_headroom = (unsigned long)ctx;
863 void *ctx,
874 unsigned int truesize = mergeable_ctx_to_truesize(ctx);
875 unsigned int headroom = mergeable_ctx_to_headroom(ctx);
885 dev->name, len, (unsigned long)ctx);
1028 buf = virtqueue_get_buf_ctx(rq->vq, &len, &ctx);
1041 truesize = mergeable_ctx_to_truesize(ctx);
1044 dev->name, len, (unsigned long)ctx);
1107 void *buf, unsigned int len, void **ctx,
1129 skb = receive_mergeable(dev, vi, rq, buf, ctx, len, xdp_xmit,
1134 skb = receive_small(dev, vi, rq, buf, ctx, len, xdp_xmit, stats);
1176 void *ctx = (void *)(unsigned long)xdp_headroom;
1190 err = virtqueue_add_inbuf_ctx(rq->vq, rq->sg, 1, buf, ctx, gfp);
1269 void *ctx;
1296 ctx = mergeable_len_to_ctx(len, headroom);
1297 err = virtqueue_add_inbuf_ctx(rq->vq, rq->sg, 1, buf, ctx, gfp);
1417 void *ctx;
1420 (buf = virtqueue_get_buf_ctx(rq->vq, &len, &ctx))) {
1421 receive_buf(vi, rq, buf, len, ctx, xdp_xmit, &stats);
2825 bool *ctx;
2846 ctx = kcalloc(total_vqs, sizeof(*ctx), GFP_KERNEL);
2847 if (!ctx)
2850 ctx = NULL;
2867 if (ctx)
2868 ctx[rxq2vq(i)] = true;
2872 names, ctx, NULL);
2892 kfree(ctx);