Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/rc/
Dbpf-lirc.c127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
/linux-6.6.21/kernel/trace/
Dbpf_trace.c1602 if (type != BPF_READ) in kprobe_prog_is_valid_access()
1713 if (type != BPF_READ) in tp_prog_is_valid_access()
2059 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()
2082 if (type != BPF_READ) in pe_prog_is_valid_access()
/linux-6.6.21/kernel/bpf/
Dverifier.c5091 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()
6434 if (atype != BPF_READ && !type_is_ptr_alloc_obj(reg->type)) { in check_ptr_to_btf_access()
6509 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()
6557 if (atype != BPF_READ) { in check_ptr_to_map_access()
6618 else if (type == BPF_READ) in check_stack_access_within_bounds()
6715 } else if (t == BPF_READ && value_regno >= 0) { in check_mem_access()
6759 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()
6780 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
6812 if (t == BPF_READ) in check_mem_access()
6830 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
[all …]
Dcgroup.c2205 if (type != BPF_READ) in sysctl_is_valid_access()
2210 if (type == BPF_READ) { in sysctl_is_valid_access()
/linux-6.6.21/include/linux/
Dbpf.h828 BPF_READ = 1, enumerator
2390 if (type != BPF_READ) in bpf_tracing_ctx_access()
/linux-6.6.21/net/core/
Dfilter.c8696 return access_type == BPF_READ; in __sock_filter_check_attach_type()
9059 if (type == BPF_READ) { in sock_addr_is_valid_access()
9090 if (type != BPF_READ) in sock_addr_is_valid_access()
9097 if (type == BPF_READ) { in sock_addr_is_valid_access()
11255 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()
11437 if (type != BPF_READ) in sk_lookup_is_valid_access()