Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
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()
/kernel/linux/linux-5.10/kernel/trace/
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()
/kernel/linux/linux-5.10/drivers/media/rc/
Dbpf-lirc.c127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c2803 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()
3607 if (atype != BPF_READ) { in check_ptr_to_btf_access()
3619 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()
3665 if (atype != BPF_READ) { in check_ptr_to_map_access()
3722 else if (type == BPF_READ) in check_stack_access_within_bounds()
3803 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
3847 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()
3866 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
3901 if (t == BPF_READ) in check_mem_access()
3919 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
[all …]
Dcgroup.c1728 if (type != BPF_READ) in sysctl_is_valid_access()
1733 if (type == BPF_READ) { in sysctl_is_valid_access()
/kernel/linux/linux-5.10/net/core/
Dfilter.c7734 return access_type == BPF_READ; in __sock_filter_check_attach_type()
8052 if (type == BPF_READ) { in sock_addr_is_valid_access()
8083 if (type != BPF_READ) in sock_addr_is_valid_access()
8090 if (type == BPF_READ) { in sock_addr_is_valid_access()
10075 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()
10239 if (type != BPF_READ) in sk_lookup_is_valid_access()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h410 BPF_READ = 1, enumerator