Searched refs:bpf_ctx_narrow_access_ok (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | cgroup.c | 1672 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in cgroup_dev_is_valid_access() 2228 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access() 2232 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
|
/openbmc/linux/net/core/ |
H A D | filter.c | 8588 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access() 8787 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access() 8792 return bpf_ctx_narrow_access_ok(off, size, field_size); in bpf_sock_is_valid_access() 9123 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in sock_addr_is_valid_access() 9207 return bpf_ctx_narrow_access_ok(off, size, in sock_ops_is_valid_access() 11344 return bpf_ctx_narrow_access_ok(off, size, size_default); in sk_reuseport_is_valid_access() 11511 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u32)); in sk_lookup_is_valid_access() 11518 return bpf_ctx_narrow_access_ok(off, size, sizeof(__be16)); in sk_lookup_is_valid_access() 11524 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u16)); in sk_lookup_is_valid_access()
|
/openbmc/linux/kernel/trace/ |
H A D | bpf_trace.c | 2099 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access() 2104 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access()
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 820 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() function
|