Searched refs:ptr_buf (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | dynptr_success.c | 668 struct bpf_dynptr ptr_buf, ptr_xdp; in test_dynptr_copy_xdp() 677 bpf_ringbuf_reserve_dynptr(&ringbuf, len * chunks, 0, &ptr_buf); in test_dynptr_copy_xdp() 681 err = bpf_dynptr_write(&ptr_buf, i * len, data, len, 0); in test_dynptr_copy_xdp() 686 err = bpf_dynptr_copy(&ptr_xdp, 0, &ptr_buf, 0, len * chunks); 702 err = bpf_dynptr_write(&ptr_buf, i * len, buf, len, 0); 707 err = bpf_dynptr_copy(&ptr_buf, 0, &ptr_xdp, 0, len * chunks); 713 err = bpf_dynptr_read(&buf, len, &ptr_buf, i * len, 0); in test_dynptr_memset_notzero() 738 bpf_ringbuf_discard_dynptr(&ptr_buf, 0); 939 struct bpf_dynptr ptr_buf; 945 err = bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(buf), 0, &ptr_buf); in test_dynptr_probe_xdp() 613 struct bpf_dynptr ptr_buf, ptr_xdp; test_dynptr_copy_xdp() local 884 struct bpf_dynptr ptr_buf; test_dynptr_probe() local 914 struct bpf_dynptr ptr_buf; test_dynptr_probe_str() local [all...] |
| /linux/tools/testing/selftests/ublk/ |
| H A D | kublk.c | 289 static int ublk_ctrl_get_affinity(struct ublk_dev *ctrl_dev, cpu_set_t **ptr_buf) in ublk_ctrl_get_affinity() argument 315 *ptr_buf = buf; in ublk_ctrl_get_affinity()
|
| /linux/net/core/ |
| H A D | filter.c | 4011 u8 *ptr_buf; in bpf_xdp_copy_buf() local 4025 ptr_buf = xdp->data; in bpf_xdp_copy_buf() 4032 src = flush ? buf : ptr_buf + copy_off; in bpf_xdp_copy_buf() 4033 dst = flush ? ptr_buf + copy_off : buf; in bpf_xdp_copy_buf() 4045 ptr_buf = skb_frag_address(next_frag); in bpf_xdp_copy_buf()
|