Searched refs:bpf_dynptr_copy (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | dynptr_success.c | 594 err = err ?: bpf_dynptr_copy(&dst, 0, &src, 0, sz); in test_dynptr_copy() 599 err = err ?: bpf_dynptr_copy(&dst, 3, &src, 5, sz - 5); in test_dynptr_copy() 628 err = bpf_dynptr_copy(&ptr_xdp, 0, &ptr_buf, 0, len * chunks); in test_dynptr_copy_xdp() 649 err = bpf_dynptr_copy(&ptr_buf, 0, &ptr_xdp, 0, len * chunks); in test_dynptr_copy_xdp() 663 err = bpf_dynptr_copy(&ptr_xdp, 2, &ptr_xdp, len, len * (chunks - 1)); in test_dynptr_copy_xdp() 676 if (bpf_dynptr_copy(&ptr_xdp, 2000, &ptr_xdp, 0, len * chunks) != -E2BIG) in test_dynptr_copy_xdp()
|
| /linux-6.15/kernel/bpf/ |
| H A D | helpers.c | 2785 __bpf_kfunc int bpf_dynptr_copy(struct bpf_dynptr *dst_ptr, u32 dst_off, in bpf_dynptr_copy() function 3277 BTF_ID_FLAGS(func, bpf_dynptr_copy)
|