Home
last modified time | relevance | path

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

/linux/drivers/media/rc/
H A Dbpf-lirc.c127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
/linux/net/sched/
H A Dbpf_qdisc.c43 if (arg == 2 && type == BPF_READ) { in BTF_ID_LIST_SINGLE()
/linux/kernel/bpf/
H A Dverifier.c5554 false, BPF_READ, NULL); in check_stack_read_var_off()
5667 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()
7271 if (atype != BPF_READ && !type_is_ptr_alloc_obj(reg->type)) { in check_ptr_to_btf_access()
7348 if (atype == BPF_READ && value_regno >= 0) { in check_ptr_to_btf_access()
7399 if (atype != BPF_READ) { in check_ptr_to_map_access()
7463 if (type == BPF_READ) in check_stack_access_within_bounds()
7579 } else if (t == BPF_READ && value_regno >= 0) { in check_mem_access()
7641 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()
7664 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
7704 if (t == BPF_READ) in check_mem_access()
[all …]
/linux/kernel/trace/
H A Dbpf_trace.c1453 if (type != BPF_READ) in tp_prog_is_valid_access()
1804 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()
1827 if (type != BPF_READ) in pe_prog_is_valid_access()
/linux/include/linux/
H A Dbpf.h958 BPF_READ = 1, enumerator
2859 if (type != BPF_READ) in bpf_tracing_ctx_access()
/linux/net/core/
H A Dfilter.c8990 return access_type == BPF_READ; in __sock_filter_check_attach_type()
9362 if (type == BPF_READ) { in sock_addr_is_valid_access()
9393 if (type != BPF_READ) in sock_addr_is_valid_access()
9403 if (type != BPF_READ) in sock_addr_is_valid_access()
11568 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()
11750 if (type != BPF_READ) in sk_lookup_is_valid_access()
/linux/kernel/sched/
H A Dext.c5152 if (type != BPF_READ) in bpf_scx_is_valid_access()