Home
last modified time | relevance | path

Searched refs:bpf_dynptr_is_rdonly (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Ddynptr_success.c428 if (bpf_dynptr_is_rdonly(&ptr1)) { in test_dynptr_is_rdonly()
440 if (!bpf_dynptr_is_rdonly(&ptr2)) { in test_dynptr_is_rdonly()
452 if (bpf_dynptr_is_rdonly(&ptr3)) { in test_dynptr_is_rdonly()
494 if (bpf_dynptr_is_rdonly(&ptr2) != bpf_dynptr_is_rdonly(&ptr1)) { in test_dynptr_clone()
H A Ddynptr_fail.c1434 /* bpf_dynptr_is_rdonly can only be called on initialized dynptrs */
1442 bpf_dynptr_is_rdonly(&ptr); in dynptr_is_rdonly_invalid()
/linux/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h42 extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *ptr) __ksym __weak;
/linux/kernel/bpf/
H A Dhelpers.c2715 __bpf_kfunc bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *p) in bpf_dynptr_is_rdonly() function
3135 BTF_ID_FLAGS(func, bpf_dynptr_is_rdonly)