Lines Matching refs:BPF_READ
3546 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()
4548 if (atype != BPF_READ) { in check_ptr_to_btf_access()
4566 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()
4613 if (atype != BPF_READ) { in check_ptr_to_map_access()
4670 else if (type == BPF_READ) in check_stack_access_within_bounds()
4773 } else if (t == BPF_READ && value_regno >= 0) { in check_mem_access()
4817 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()
4838 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
4875 if (t == BPF_READ) in check_mem_access()
4893 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
4904 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
4917 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
4944 if (!err && value_regno >= 0 && (rdonly_mem || t == BPF_READ)) in check_mem_access()
4952 if (!err && size < BPF_REG_SIZE && value_regno >= 0 && t == BPF_READ && in check_mem_access()
5047 BPF_SIZE(insn->code), BPF_READ, -1, true); in check_atomic()
5050 BPF_SIZE(insn->code), BPF_READ, load_reg, in check_atomic()
5101 bounds_check_type = BPF_READ; in check_stack_range_initialized()
5223 BPF_READ)) in check_helper_mem_access()
5265 enum bpf_access_type atype = meta && meta->raw_mode ? BPF_WRITE : BPF_READ; in check_helper_mem_access()
5925 !may_access_direct_pkt_data(env, meta, BPF_READ)) { in check_func_arg()
12276 BPF_READ, insn->dst_reg, false); in do_check()
13461 type = BPF_READ; in convert_ctx_accesses()
13516 if (type == BPF_READ) { in convert_ctx_accesses()