Searched refs:bpf_ctx_narrow_access_ok (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.10/kernel/bpf/ |
| D | cgroup.c | 1187 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in cgroup_dev_is_valid_access() 1673 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access() 1677 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
|
| /Linux-v5.10/kernel/trace/ |
| D | bpf_trace.c | 1850 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access() 1855 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
|
| /Linux-v5.10/include/linux/ |
| D | filter.h | 786 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() function
|
| /Linux-v5.10/net/core/ |
| D | filter.c | 7529 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access() 7726 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access() 8009 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in sock_addr_is_valid_access() 8093 return bpf_ctx_narrow_access_ok(off, size, in sock_ops_is_valid_access() 10022 return bpf_ctx_narrow_access_ok(off, size, size_default); in sk_reuseport_is_valid_access() 10179 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u32)); in sk_lookup_is_valid_access()
|