Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dbpf.h409 enum bpf_access_type { enum
506 bool (*is_valid_access)(int off, int size, enum bpf_access_type type,
513 u32 (*convert_ctx_access)(enum bpf_access_type type,
519 enum bpf_access_type atype,
1093 typedef u32 (*bpf_convert_ctx_access_t)(enum bpf_access_type type,
1540 bool btf_ctx_access(int off, int size, enum bpf_access_type type,
1545 enum bpf_access_type atype,
1984 enum bpf_access_type type,
1986 bool bpf_sock_is_valid_access(int off, int size, enum bpf_access_type type,
1988 u32 bpf_sock_convert_ctx_access(enum bpf_access_type type,
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dbpf_tcp_ca.c76 enum bpf_access_type type, in bpf_tcp_ca_is_valid_access()
99 int size, enum bpf_access_type atype, in bpf_tcp_ca_btf_struct_access()
/kernel/linux/linux-5.10/kernel/trace/
Dbpf_trace.c1359 static bool kprobe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in kprobe_prog_is_valid_access()
1468 static bool tp_prog_is_valid_access(int off, int size, enum bpf_access_type type, in tp_prog_is_valid_access()
1739 enum bpf_access_type type, in raw_tp_prog_is_valid_access()
1753 enum bpf_access_type type, in tracing_prog_is_valid_access()
1794 enum bpf_access_type type, in raw_tp_writable_prog_is_valid_access()
1814 static bool pe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in pe_prog_is_valid_access()
1852 static u32 pe_prog_convert_ctx_access(enum bpf_access_type type, in pe_prog_convert_ctx_access()
/kernel/linux/linux-5.10/net/core/
Dfilter.c6226 bool bpf_tcp_sock_is_valid_access(int off, int size, enum bpf_access_type type, in bpf_tcp_sock_is_valid_access()
6245 u32 bpf_tcp_sock_convert_ctx_access(enum bpf_access_type type, in bpf_tcp_sock_convert_ctx_access()
6425 bool bpf_xdp_sock_is_valid_access(int off, int size, enum bpf_access_type type, in bpf_xdp_sock_is_valid_access()
6440 u32 bpf_xdp_sock_convert_ctx_access(enum bpf_access_type type, in bpf_xdp_sock_convert_ctx_access()
7485 static bool bpf_skb_is_valid_access(int off, int size, enum bpf_access_type type, in bpf_skb_is_valid_access()
7540 enum bpf_access_type type, in sk_filter_is_valid_access()
7568 enum bpf_access_type type, in cg_skb_is_valid_access()
7612 enum bpf_access_type type, in lwt_is_valid_access()
7650 enum bpf_access_type access_type, in __sock_filter_check_attach_type()
7694 enum bpf_access_type type, in bpf_sock_common_is_valid_access()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dcgroup.c1169 enum bpf_access_type type, in cgroup_dev_is_valid_access()
1665 static bool sysctl_is_valid_access(int off, int size, enum bpf_access_type type, in sysctl_is_valid_access()
1692 static u32 sysctl_convert_ctx_access(enum bpf_access_type type, in sysctl_convert_ctx_access()
1783 enum bpf_access_type type, in cg_sockopt_is_valid_access()
1849 static u32 cg_sockopt_convert_ctx_access(enum bpf_access_type type, in cg_sockopt_convert_ctx_access()
Dverifier.c2761 int off, int size, enum bpf_access_type type) in check_map_access_type()
2914 enum bpf_access_type t) in may_access_direct_pkt_data()
2996 enum bpf_access_type t, enum bpf_reg_type *reg_type, in check_ctx_access()
3043 enum bpf_access_type t) in check_sock_access()
3546 enum bpf_access_type atype, in check_ptr_to_btf_access()
3596 enum bpf_access_type atype, in check_ptr_to_map_access()
3656 enum bpf_access_type t) in check_stack_slot_within_bounds()
3678 enum stack_access_src src, enum bpf_access_type type) in check_stack_access_within_bounds()
3741 int off, int bpf_size, enum bpf_access_type t, in check_mem_access()
4019 enum bpf_access_type bounds_check_type; in check_stack_range_initialized()
[all …]
Dbtf.c4427 bool btf_ctx_access(int off, int size, enum bpf_access_type type, in btf_ctx_access()
4831 enum bpf_access_type atype __maybe_unused, in btf_struct_access()
/kernel/linux/linux-5.10/drivers/media/rc/
Dbpf-lirc.c122 enum bpf_access_type type, in lirc_mode2_is_valid_access()