Home
last modified time | relevance | path

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

/linux/net/bpf/
A Dbpf_dummy_struct_ops.c169 return atype == BPF_READ ? err : NOT_INIT; in bpf_dummy_ops_btf_struct_access()
/linux/net/ipv4/
A Dbpf_tcp_ca.c102 if (atype == BPF_READ) in bpf_tcp_ca_btf_struct_access()
/linux/drivers/media/rc/
A Dbpf-lirc.c127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
/linux/kernel/trace/
A Dbpf_trace.c1246 if (type != BPF_READ) in kprobe_prog_is_valid_access()
1357 if (type != BPF_READ) in tp_prog_is_valid_access()
1691 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()
1714 if (type != BPF_READ) in pe_prog_is_valid_access()
/linux/kernel/bpf/
A Dverifier.c4141 if (atype != BPF_READ) { in check_ptr_to_btf_access()
4153 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()
4199 if (atype != BPF_READ) { in check_ptr_to_map_access()
4256 else if (type == BPF_READ) in check_stack_access_within_bounds()
4378 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
4436 if (t == BPF_READ) in check_mem_access()
4658 bounds_check_type = BPF_READ; in check_stack_range_initialized()
4774 BPF_READ)) in check_helper_mem_access()
11210 BPF_READ, insn->dst_reg, false); in do_check()
12435 type = BPF_READ; in convert_ctx_accesses()
[all …]
A Dcgroup.c1830 if (type != BPF_READ) in sysctl_is_valid_access()
1835 if (type == BPF_READ) { in sysctl_is_valid_access()
/linux/include/linux/
A Dbpf.h404 BPF_READ = 1, enumerator
1674 if (type != BPF_READ) in bpf_tracing_ctx_access()
/linux/net/core/
A Dfilter.c7952 return access_type == BPF_READ; in __sock_filter_check_attach_type()
8262 if (type == BPF_READ) { in sock_addr_is_valid_access()
8293 if (type != BPF_READ) in sock_addr_is_valid_access()
8300 if (type == BPF_READ) { in sock_addr_is_valid_access()
10348 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()
10530 if (type != BPF_READ) in sk_lookup_is_valid_access()

Completed in 57 milliseconds