Home
last modified time | relevance | path

Searched refs:bpf_ctx_narrow_access_ok (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/kernel/bpf/
H A Dcgroup.c1239 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in cgroup_dev_is_valid_access()
1780 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
1784 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dcgroup.c1655 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in cgroup_dev_is_valid_access()
2208 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
2212 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
/kernel/linux/linux-5.10/kernel/trace/
H A Dbpf_trace.c1854 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
1859 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
/kernel/linux/linux-6.6/net/core/
H A Dfilter.c8537 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access()
8736 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access()
8741 return bpf_ctx_narrow_access_ok(off, size, field_size); in bpf_sock_is_valid_access()
9072 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in sock_addr_is_valid_access()
9156 return bpf_ctx_narrow_access_ok(off, size, in sock_ops_is_valid_access()
11287 return bpf_ctx_narrow_access_ok(off, size, size_default); in sk_reuseport_is_valid_access()
11454 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u32)); in sk_lookup_is_valid_access()
11461 return bpf_ctx_narrow_access_ok(off, size, sizeof(__be16)); in sk_lookup_is_valid_access()
11467 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u16)); in sk_lookup_is_valid_access()
/kernel/linux/linux-6.6/kernel/trace/
H A Dbpf_trace.c2096 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
2101 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
/kernel/linux/linux-5.10/include/linux/
H A Dfilter.h801 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() function
/kernel/linux/linux-6.6/include/linux/
H A Dfilter.h820 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() function
/kernel/linux/linux-5.10/net/core/
H A Dfilter.c7666 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access()
7863 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access()
7868 return bpf_ctx_narrow_access_ok(off, size, field_size); in bpf_sock_is_valid_access()
8154 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in sock_addr_is_valid_access()
8238 return bpf_ctx_narrow_access_ok(off, size, in sock_ops_is_valid_access()
10188 return bpf_ctx_narrow_access_ok(off, size, size_default); in sk_reuseport_is_valid_access()
10345 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u32)); in sk_lookup_is_valid_access()

Completed in 38 milliseconds