Home
last modified time | relevance | path

Searched refs:bpf_access_type (Results 1 – 15 of 15) sorted by relevance

/linux/include/linux/
H A Dbpf.h974 enum bpf_access_type { enum
1107 bool (*is_valid_access)(int off, int size, enum bpf_access_type type,
1116 u32 (*convert_ctx_access)(enum bpf_access_type type,
2334 typedef u32 (*bpf_convert_ctx_access_t)(enum bpf_access_type type,
2978 bool btf_ctx_access(int off, int size, enum bpf_access_type type,
2983 enum bpf_access_type type) in bpf_tracing_ctx_access()
2995 enum bpf_access_type type, in bpf_tracing_btf_ctx_access()
3006 int off, int size, enum bpf_access_type atype,
3301 int off, int size, enum bpf_access_type atype, in btf_struct_access()
3748 enum bpf_access_type type,
[all …]
/linux/net/core/
H A Dfilter.c7311 bool bpf_tcp_sock_is_valid_access(int off, int size, enum bpf_access_type type, in bpf_tcp_sock_is_valid_access()
7330 u32 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, in bpf_tcp_sock_convert_ctx_access()
7509 bool bpf_xdp_sock_is_valid_access(int off, int size, enum bpf_access_type type, in bpf_xdp_sock_is_valid_access()
7524 u32 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, in bpf_xdp_sock_convert_ctx_access()
8783 static bool bpf_skb_is_valid_access(int off, int size, enum bpf_access_type type, in bpf_skb_is_valid_access()
8850 enum bpf_access_type type, in sk_filter_is_valid_access()
8879 enum bpf_access_type type, in cg_skb_is_valid_access()
8923 enum bpf_access_type type, in lwt_is_valid_access()
8962 enum bpf_access_type access_type, in __sock_filter_check_attach_type()
9006 enum bpf_access_type type, in bpf_sock_common_is_valid_access()
[all …]
/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c32 enum bpf_access_type type, in hid_bpf_ops_is_valid_access()
/linux/drivers/media/rc/
H A Dbpf-lirc.c122 enum bpf_access_type type, in lirc_mode2_is_valid_access()
/linux/net/ipv4/
H A Dbpf_tcp_ca.c45 enum bpf_access_type type, in bpf_tcp_ca_is_valid_access()
/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c212 enum bpf_access_type type, in bpf_dummy_ops_is_valid_access()
/linux/net/netfilter/
H A Dnf_bpf_link.c292 static bool nf_is_valid_access(int off, int size, enum bpf_access_type type, in nf_is_valid_access()
/linux/kernel/trace/
H A Dbpf_trace.c1343 static bool kprobe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in kprobe_prog_is_valid_access()
1455 static bool tp_prog_is_valid_access(int off, int size, enum bpf_access_type type, in tp_prog_is_valid_access()
1770 enum bpf_access_type type, in raw_tp_prog_is_valid_access()
1778 enum bpf_access_type type, in tracing_prog_is_valid_access()
1813 enum bpf_access_type type, in raw_tp_writable_prog_is_valid_access()
1833 static bool pe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in pe_prog_is_valid_access()
1871 static u32 pe_prog_convert_ctx_access(enum bpf_access_type type, in pe_prog_convert_ctx_access()
/linux/kernel/bpf/
H A Dcgroup.c1831 enum bpf_access_type type, in cgroup_dev_is_valid_access()
2387 static bool sysctl_is_valid_access(int off, int size, enum bpf_access_type type, in sysctl_is_valid_access()
2414 static u32 sysctl_convert_ctx_access(enum bpf_access_type type, in sysctl_convert_ctx_access()
2541 enum bpf_access_type type, in cg_sockopt_is_valid_access()
2614 static u32 cg_sockopt_convert_ctx_access(enum bpf_access_type type, in cg_sockopt_convert_ctx_access()
H A Dverifier.c5677 enum bpf_access_type type,
5811 int off, int size, enum bpf_access_type type) in check_map_access_type()
6284 enum bpf_access_type t) in may_access_direct_pkt_data()
6367 enum bpf_access_type t, struct bpf_insn_access_aux *info) in check_ctx_access()
6412 enum bpf_access_type t) in check_sock_access()
7361 enum bpf_access_type atype, in check_ptr_to_btf_access()
7514 enum bpf_access_type atype, in check_ptr_to_map_access()
7586 enum bpf_access_type t) in check_stack_slot_within_bounds()
7608 enum bpf_access_type type) in check_stack_access_within_bounds()
7682 int off, int bpf_size, enum bpf_access_type t, in check_mem_access()
[all …]
H A Dbtf.c6779 bool btf_ctx_access(int off, int size, enum bpf_access_type type, in btf_ctx_access()
7298 int off, int size, enum bpf_access_type atype __maybe_unused, in btf_struct_access()
H A Dsyscall.c6345 enum bpf_access_type type, in syscall_prog_is_valid_access()
/linux/net/sched/
H A Dbpf_qdisc.c34 enum bpf_access_type type, in BTF_ID_LIST_SINGLE()
/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c1280 enum bpf_access_type type, in bpf_testmod_ops_is_valid_access()
/linux/kernel/sched/
H A Dext.c5292 enum bpf_access_type type, in bpf_scx_is_valid_access()