Searched refs:bpf_dynptr_adjust (Results 1 - 5 of 5) sorted by last modified time
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | dynptr_fail.c | 1383 /* bpf_dynptr_adjust can only be called on initialized dynptrs */ 1391 bpf_dynptr_adjust(&ptr, 1, 2);
|
H A D | crypto_sanity.c | 48 bpf_dynptr_adjust(psrc, offset, offset + 16);
|
H A D | dynptr_success.c | 235 err = bpf_dynptr_adjust(&ptr, off, bpf_dynptr_size(&ptr)); 247 err = bpf_dynptr_adjust(&ptr, off, 15); 281 if (bpf_dynptr_adjust(&ptr, 5, 1) != -EINVAL) { 287 if (bpf_dynptr_adjust(&ptr, size + 1, size + 1) != -ERANGE) { 293 if (bpf_dynptr_adjust(&ptr, 0, size + 1) != -ERANGE) { 298 if (bpf_dynptr_adjust(&ptr, off, size)) { 338 if (bpf_dynptr_adjust(&ptr, size, size)) { 474 if (bpf_dynptr_adjust(&ptr1, off, bpf_dynptr_size(&ptr1))) { 499 bpf_dynptr_adjust(&ptr1, 5, 5);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_kfuncs.h | 40 extern int bpf_dynptr_adjust(const struct bpf_dynptr *ptr, __u32 start, __u32 end) __ksym __weak;
|
/linux-master/kernel/bpf/ |
H A D | helpers.c | 2577 __bpf_kfunc int bpf_dynptr_adjust(struct bpf_dynptr_kern *ptr, u32 start, u32 end) function 2818 BTF_ID_FLAGS(func, bpf_dynptr_adjust)
|
Completed in 237 milliseconds