Home
last modified time | relevance | path

Searched refs:BPF_READ (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/net/ipv4/
H A Dbpf_tcp_ca.c82 if (type != BPF_READ) in bpf_tcp_ca_is_valid_access()
104 if (atype == BPF_READ) in bpf_tcp_ca_btf_struct_access()
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dbpf_trace.c1365 if (type != BPF_READ) in kprobe_prog_is_valid_access()
1474 if (type != BPF_READ) in tp_prog_is_valid_access()
1745 if (type != BPF_READ) in raw_tp_prog_is_valid_access()
1759 if (type != BPF_READ) in tracing_prog_is_valid_access()
1799 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()
1822 if (type != BPF_READ) in pe_prog_is_valid_access()
/OK3568_Linux_fs/kernel/drivers/media/rc/
H A Dbpf-lirc.c127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dverifier.c2780 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()
3576 if (atype != BPF_READ) { in check_ptr_to_btf_access()
3588 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()
3634 if (atype != BPF_READ) { in check_ptr_to_map_access()
3691 else if (type == BPF_READ) in check_stack_access_within_bounds()
3772 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
3801 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
3820 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
3856 if (t == BPF_READ) in check_mem_access()
3874 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
[all …]
H A Dcgroup.c1728 if (type != BPF_READ) in sysctl_is_valid_access()
1733 if (type == BPF_READ) { in sysctl_is_valid_access()
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c7704 return access_type == BPF_READ; in __sock_filter_check_attach_type()
8022 if (type == BPF_READ) { in sock_addr_is_valid_access()
8053 if (type != BPF_READ) in sock_addr_is_valid_access()
8060 if (type == BPF_READ) { in sock_addr_is_valid_access()
10045 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()
10209 if (type != BPF_READ) in sk_lookup_is_valid_access()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf.h369 BPF_READ = 1, enumerator