Searched refs:bpf_ctx_narrow_access_ok (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/kernel/bpf/ |
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-v6.1/kernel/trace/ |
D | bpf_trace.c | 2041 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access() 2046 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
|
/Linux-v6.1/net/core/ |
D | filter.c | 8288 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access() 8487 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access() 8492 return bpf_ctx_narrow_access_ok(off, size, field_size); in bpf_sock_is_valid_access() 8838 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in sock_addr_is_valid_access() 8922 return bpf_ctx_narrow_access_ok(off, size, in sock_ops_is_valid_access() 11026 return bpf_ctx_narrow_access_ok(off, size, size_default); in sk_reuseport_is_valid_access() 11193 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u32)); in sk_lookup_is_valid_access() 11200 return bpf_ctx_narrow_access_ok(off, size, sizeof(__be16)); in sk_lookup_is_valid_access() 11206 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u16)); in sk_lookup_is_valid_access()
|
/Linux-v6.1/include/linux/ |
D | filter.h | 825 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() function
|