Searched refs:bpf_ctx_narrow_access_ok (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.6/kernel/bpf/ |
| D | cgroup.c | 1642 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in cgroup_dev_is_valid_access() 2195 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access() 2199 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
|
| /Linux-v6.6/net/core/ |
| D | filter.c | 8468 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access() 8667 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access() 8672 return bpf_ctx_narrow_access_ok(off, size, field_size); in bpf_sock_is_valid_access() 9003 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in sock_addr_is_valid_access() 9087 return bpf_ctx_narrow_access_ok(off, size, in sock_ops_is_valid_access() 11218 return bpf_ctx_narrow_access_ok(off, size, size_default); in sk_reuseport_is_valid_access() 11385 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u32)); in sk_lookup_is_valid_access() 11392 return bpf_ctx_narrow_access_ok(off, size, sizeof(__be16)); in sk_lookup_is_valid_access() 11398 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u16)); in sk_lookup_is_valid_access()
|
| /Linux-v6.6/kernel/trace/ |
| D | bpf_trace.c | 2093 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access() 2098 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
|
| /Linux-v6.6/include/linux/ |
| D | filter.h | 817 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() function
|