Home
last modified time | relevance | path

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

/Linux-v5.15/net/ipv4/
Dbpf_tcp_ca.c86 if (type != BPF_READ) in bpf_tcp_ca_is_valid_access()
109 if (atype == BPF_READ) in bpf_tcp_ca_btf_struct_access()
/Linux-v5.15/kernel/trace/
Dbpf_trace.c1170 if (type != BPF_READ) in kprobe_prog_is_valid_access()
1281 if (type != BPF_READ) in tp_prog_is_valid_access()
1571 if (type != BPF_READ) in raw_tp_prog_is_valid_access()
1585 if (type != BPF_READ) in tracing_prog_is_valid_access()
1625 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()
1648 if (type != BPF_READ) in pe_prog_is_valid_access()
/Linux-v5.15/drivers/media/rc/
Dbpf-lirc.c127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
/Linux-v5.15/kernel/bpf/
Dverifier.c3144 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()
3952 if (atype != BPF_READ) { in check_ptr_to_btf_access()
3964 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()
4010 if (atype != BPF_READ) { in check_ptr_to_map_access()
4067 else if (type == BPF_READ) in check_stack_access_within_bounds()
4160 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
4189 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
4209 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
4247 if (t == BPF_READ) in check_mem_access()
4265 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
[all …]
Dcgroup.c1792 if (type != BPF_READ) in sysctl_is_valid_access()
1797 if (type == BPF_READ) { in sysctl_is_valid_access()
/Linux-v5.15/net/core/
Dfilter.c7941 return access_type == BPF_READ; in __sock_filter_check_attach_type()
8251 if (type == BPF_READ) { in sock_addr_is_valid_access()
8282 if (type != BPF_READ) in sock_addr_is_valid_access()
8289 if (type == BPF_READ) { in sock_addr_is_valid_access()
10277 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()
10457 if (type != BPF_READ) in sk_lookup_is_valid_access()
/Linux-v5.15/include/linux/
Dbpf.h401 BPF_READ = 1, enumerator