Searched refs:bpf_ctx_narrow_access_ok (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/kernel/bpf/ |
A D | cgroup.c | 1641 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in cgroup_dev_is_valid_access() 2176 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access() 2180 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
|
/linux-6.3-rc2/net/core/ |
A D | filter.c | 8366 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access() 8565 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access() 8570 return bpf_ctx_narrow_access_ok(off, size, field_size); in bpf_sock_is_valid_access() 8910 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in sock_addr_is_valid_access() 8994 return bpf_ctx_narrow_access_ok(off, size, in sock_ops_is_valid_access() 11116 return bpf_ctx_narrow_access_ok(off, size, size_default); in sk_reuseport_is_valid_access() 11283 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u32)); in sk_lookup_is_valid_access() 11290 return bpf_ctx_narrow_access_ok(off, size, sizeof(__be16)); in sk_lookup_is_valid_access() 11296 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u16)); in sk_lookup_is_valid_access()
|
/linux-6.3-rc2/kernel/trace/ |
A D | bpf_trace.c | 2050 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access() 2055 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
|
/linux-6.3-rc2/include/linux/ |
A D | filter.h | 826 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() function
|
Completed in 37 milliseconds