Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/bpf/
A Dbpf_dummy_struct_ops.c201 return atype == BPF_READ ? err : NOT_INIT; in bpf_dummy_ops_btf_struct_access()
/linux-6.3-rc2/net/ipv4/
A Dbpf_tcp_ca.c81 if (atype == BPF_READ) in bpf_tcp_ca_btf_struct_access()
/linux-6.3-rc2/drivers/media/rc/
A Dbpf-lirc.c127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
/linux-6.3-rc2/kernel/trace/
A Dbpf_trace.c1556 if (type != BPF_READ) in kprobe_prog_is_valid_access()
1667 if (type != BPF_READ) in tp_prog_is_valid_access()
2013 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()
2036 if (type != BPF_READ) in pe_prog_is_valid_access()
/linux-6.3-rc2/kernel/bpf/
A Dverifier.c5141 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()
5189 if (atype != BPF_READ) { in check_ptr_to_map_access()
5249 else if (type == BPF_READ) in check_stack_access_within_bounds()
5453 if (t == BPF_READ) in check_mem_access()
5471 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
5482 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
5679 bounds_check_type = BPF_READ; in check_stack_range_initialized()
5827 BPF_READ)) in check_helper_mem_access()
14632 BPF_READ, insn->dst_reg, false); in do_check()
15839 type = BPF_READ; in convert_ctx_accesses()
[all …]
A Dcgroup.c2173 if (type != BPF_READ) in sysctl_is_valid_access()
2178 if (type == BPF_READ) { in sysctl_is_valid_access()
/linux-6.3-rc2/include/linux/
A Dbpf.h761 BPF_READ = 1, enumerator
2185 if (type != BPF_READ) in bpf_tracing_ctx_access()
/linux-6.3-rc2/net/core/
A Dfilter.c8525 return access_type == BPF_READ; in __sock_filter_check_attach_type()
8741 if (atype == BPF_READ) in tc_cls_act_btf_struct_access()
8818 if (atype == BPF_READ) in xdp_btf_struct_access()
8897 if (type == BPF_READ) { in sock_addr_is_valid_access()
8928 if (type != BPF_READ) in sock_addr_is_valid_access()
8935 if (type == BPF_READ) { in sock_addr_is_valid_access()
11084 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()
11266 if (type != BPF_READ) in sk_lookup_is_valid_access()

Completed in 81 milliseconds