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

/linux-master/tools/testing/selftests/bpf/progs/
H A Ddynptr_success.c427 if (bpf_dynptr_is_rdonly(&ptr1)) {
439 if (!bpf_dynptr_is_rdonly(&ptr2)) {
451 if (bpf_dynptr_is_rdonly(&ptr3)) {
493 if (bpf_dynptr_is_rdonly(&ptr2) != bpf_dynptr_is_rdonly(&ptr1)) {
H A Ddynptr_fail.c1409 /* bpf_dynptr_is_rdonly can only be called on initialized dynptrs */
1417 bpf_dynptr_is_rdonly(&ptr);
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h42 extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *ptr) __ksym __weak;
/linux-master/kernel/bpf/
H A Dhelpers.c2456 __bpf_kfunc bool bpf_dynptr_is_rdonly(struct bpf_dynptr_kern *ptr) function
2621 BTF_ID_FLAGS(func, bpf_dynptr_is_rdonly)

Completed in 192 milliseconds