/linux/include/linux/ |
H A D | bpf.h | 892 enum bpf_access_type { enum 1008 bool (*is_valid_access)(int off, int size, enum bpf_access_type type, 1017 u32 (*convert_ctx_access)(enum bpf_access_type type, 2041 typedef u32 (*bpf_convert_ctx_access_t)(enum bpf_access_type type, 2649 bool btf_ctx_access(int off, int size, enum bpf_access_type type, 2654 enum bpf_access_type type) in bpf_tracing_ctx_access() 2666 enum bpf_access_type type, in bpf_tracing_btf_ctx_access() 2677 int off, int size, enum bpf_access_type atype, 2964 int off, int size, enum bpf_access_type atype, in btf_struct_access() 3369 enum bpf_access_type type, [all …]
|
/linux/net/core/ |
H A D | filter.c | 7120 bool bpf_tcp_sock_is_valid_access(int off, int size, enum bpf_access_type type, in bpf_tcp_sock_is_valid_access() 7139 u32 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, in bpf_tcp_sock_convert_ctx_access() 7318 bool bpf_xdp_sock_is_valid_access(int off, int size, enum bpf_access_type type, in bpf_xdp_sock_is_valid_access() 7333 u32 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, in bpf_xdp_sock_convert_ctx_access() 8585 static bool bpf_skb_is_valid_access(int off, int size, enum bpf_access_type type, in bpf_skb_is_valid_access() 8652 enum bpf_access_type type, in sk_filter_is_valid_access() 8681 enum bpf_access_type type, in cg_skb_is_valid_access() 8725 enum bpf_access_type type, in lwt_is_valid_access() 8764 enum bpf_access_type access_type, in __sock_filter_check_attach_type() 8808 enum bpf_access_type type, in bpf_sock_common_is_valid_access() [all …]
|
/linux/drivers/hid/bpf/ |
H A D | hid_bpf_struct_ops.c | 32 enum bpf_access_type type, in hid_bpf_ops_is_valid_access()
|
/linux/drivers/media/rc/ |
H A D | bpf-lirc.c | 122 enum bpf_access_type type, in lirc_mode2_is_valid_access()
|
/linux/net/bpf/ |
H A D | bpf_dummy_struct_ops.c | 211 enum bpf_access_type type, in bpf_dummy_ops_is_valid_access()
|
/linux/net/ipv4/ |
H A D | bpf_tcp_ca.c | 45 enum bpf_access_type type, in bpf_tcp_ca_is_valid_access()
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 1631 static bool kprobe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in kprobe_prog_is_valid_access() 1742 static bool tp_prog_is_valid_access(int off, int size, enum bpf_access_type type, in tp_prog_is_valid_access() 2051 enum bpf_access_type type, in raw_tp_prog_is_valid_access() 2059 enum bpf_access_type type, in tracing_prog_is_valid_access() 2094 enum bpf_access_type type, in raw_tp_writable_prog_is_valid_access() 2114 static bool pe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in pe_prog_is_valid_access() 2152 static u32 pe_prog_convert_ctx_access(enum bpf_access_type type, in pe_prog_convert_ctx_access()
|
/linux/net/netfilter/ |
H A D | nf_bpf_link.c | 291 static bool nf_is_valid_access(int off, int size, enum bpf_access_type type, in nf_is_valid_access()
|
/linux/tools/testing/selftests/bpf/test_kmods/ |
H A D | bpf_testmod.c | 1104 enum bpf_access_type type, in bpf_testmod_ops_is_valid_access()
|
/linux/kernel/bpf/ |
H A D | verifier.c | 5309 enum bpf_access_type type, 5443 int off, int size, enum bpf_access_type type) in check_map_access_type() 5901 enum bpf_access_type t) in may_access_direct_pkt_data() 5985 enum bpf_access_type t, enum bpf_reg_type *reg_type, in check_ctx_access() 6037 enum bpf_access_type t) in check_sock_access() 6958 enum bpf_access_type atype, in check_ptr_to_btf_access() 7108 enum bpf_access_type atype, in check_ptr_to_map_access() 7174 enum bpf_access_type t) in check_stack_slot_within_bounds() 7196 enum bpf_access_type type) in check_stack_access_within_bounds() 7271 int off, int bpf_size, enum bpf_access_type t, in check_mem_access() [all …]
|
H A D | btf.c | 6534 bool btf_ctx_access(int off, int size, enum bpf_access_type type, in btf_ctx_access() 7051 int off, int size, enum bpf_access_type atype __maybe_unused, in btf_struct_access()
|
H A D | syscall.c | 5906 enum bpf_access_type type, in syscall_prog_is_valid_access()
|
/linux/kernel/sched/ |
H A D | ext.c | 5879 enum bpf_access_type type, in bpf_scx_is_valid_access()
|