Home
last modified time | relevance | path

Searched refs:bpf_ctx_narrow_access_ok (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/kernel/bpf/
H A Dcgroup.c1687 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in cgroup_dev_is_valid_access()
2243 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
2247 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
/linux-6.15/net/core/
H A Dfilter.c8716 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access()
8915 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access()
8920 return bpf_ctx_narrow_access_ok(off, size, field_size); in bpf_sock_is_valid_access()
9260 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in sock_addr_is_valid_access()
9344 return bpf_ctx_narrow_access_ok(off, size, in sock_ops_is_valid_access()
11478 return bpf_ctx_narrow_access_ok(off, size, size_default); in sk_reuseport_is_valid_access()
11645 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u32)); in sk_lookup_is_valid_access()
11652 return bpf_ctx_narrow_access_ok(off, size, sizeof(__be16)); in sk_lookup_is_valid_access()
11658 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u16)); in sk_lookup_is_valid_access()
/linux-6.15/kernel/trace/
H A Dbpf_trace.c2129 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
2134 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
/linux-6.15/include/linux/
H A Dfilter.h1033 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() function