Searched refs:bpf_ctx_narrow_access_ok (Results 1 – 3 of 3) sorted by relevance
| /linux/net/core/ |
| H A D | filter.c | 8833 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access() 9032 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access() 9037 return bpf_ctx_narrow_access_ok(off, size, field_size); in bpf_sock_is_valid_access() 9377 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in sock_addr_is_valid_access() 9465 return bpf_ctx_narrow_access_ok(off, size, in sock_ops_is_valid_access() 11602 return bpf_ctx_narrow_access_ok(off, size, size_default); in sk_reuseport_is_valid_access() 11769 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u32)); in sk_lookup_is_valid_access() 11776 return bpf_ctx_narrow_access_ok(off, size, sizeof(__be16)); in sk_lookup_is_valid_access() 11782 return bpf_ctx_narrow_access_ok(off, size, sizeof(__u16)); in sk_lookup_is_valid_access()
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 1855 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_is_valid_access() 1860 if (!bpf_ctx_narrow_access_ok(off, size, size_u64)) in pe_prog_convert_ctx_access()
|
| /linux/include/linux/ |
| H A D | filter.h | 1052 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() function
|