Searched refs:bpf_dynptr_copy (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | dynptr_success.c | 671 err = err ?: bpf_dynptr_copy(&dst, 0, &src, 0, sz); in test_dynptr_copy() 676 err = err ?: bpf_dynptr_copy(&dst, 3, &src, 5, sz - 5); in test_dynptr_copy() 706 err = bpf_dynptr_copy(&ptr_xdp, 0, &ptr_buf, 0, len * chunks); in test_dynptr_copy_xdp() 727 err = bpf_dynptr_copy(&ptr_buf, 0, &ptr_xdp, 0, len * chunks); in test_dynptr_copy_xdp() 741 err = bpf_dynptr_copy(&ptr_xdp, 2, &ptr_xdp, len, len * (chunks - 1)); in test_dynptr_copy_xdp() 754 if (bpf_dynptr_copy(&ptr_xdp, xdp_data_size - 3000, &ptr_xdp, 0, len * chunks) != -E2BIG) in test_dynptr_copy_xdp()
|
| /linux/kernel/bpf/ |
| H A D | helpers.c | 3247 __bpf_kfunc int bpf_dynptr_copy(const struct bpf_dynptr *dst_ptr, u64 dst_off, in bpf_dynptr_copy() function 4913 BTF_ID_FLAGS(func, bpf_dynptr_copy)
|