Searched refs:ptr_buf (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | dynptr_success.c | 611 struct bpf_dynptr ptr_buf, ptr_xdp; in test_dynptr_copy_xdp() local 619 bpf_ringbuf_reserve_dynptr(&ringbuf, len * chunks, 0, &ptr_buf); in test_dynptr_copy_xdp() 623 err = bpf_dynptr_write(&ptr_buf, i * len, data, len, 0); in test_dynptr_copy_xdp() 628 err = bpf_dynptr_copy(&ptr_xdp, 0, &ptr_buf, 0, len * chunks); in test_dynptr_copy_xdp() 644 err = bpf_dynptr_write(&ptr_buf, i * len, buf, len, 0); in test_dynptr_copy_xdp() 649 err = bpf_dynptr_copy(&ptr_buf, 0, &ptr_xdp, 0, len * chunks); in test_dynptr_copy_xdp() 655 err = bpf_dynptr_read(&buf, len, &ptr_buf, i * len, 0); in test_dynptr_copy_xdp() 680 bpf_ringbuf_discard_dynptr(&ptr_buf, 0); in test_dynptr_copy_xdp()
|
| /linux-6.15/tools/testing/selftests/ublk/ |
| H A D | kublk.c | 265 static int ublk_ctrl_get_affinity(struct ublk_dev *ctrl_dev, cpu_set_t **ptr_buf) in ublk_ctrl_get_affinity() argument 291 *ptr_buf = buf; in ublk_ctrl_get_affinity()
|
| /linux-6.15/net/core/ |
| H A D | filter.c | 3980 u8 *ptr_buf; in bpf_xdp_copy_buf() local 3994 ptr_buf = xdp->data; in bpf_xdp_copy_buf() 4001 src = flush ? buf : ptr_buf + copy_off; in bpf_xdp_copy_buf() 4002 dst = flush ? ptr_buf + copy_off : buf; in bpf_xdp_copy_buf() 4014 ptr_buf = skb_frag_address(next_frag); in bpf_xdp_copy_buf()
|