Lines Matching refs:BPF_READ

4034 	if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) {  in check_map_access_type()
5087 if (atype != BPF_READ && reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_ptr_to_btf_access()
5141 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()
5351 } else if (t == BPF_READ && value_regno >= 0) { in check_mem_access()
5395 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()
5416 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()
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()
5495 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()
5522 if (!err && value_regno >= 0 && (rdonly_mem || t == BPF_READ)) in check_mem_access()
5530 if (!err && size < BPF_REG_SIZE && value_regno >= 0 && t == BPF_READ && in check_mem_access()
5625 BPF_SIZE(insn->code), BPF_READ, -1, true); in check_atomic()
5628 BPF_SIZE(insn->code), BPF_READ, load_reg, in check_atomic()
5679 bounds_check_type = BPF_READ; in check_stack_range_initialized()
5827 BPF_READ)) in check_helper_mem_access()
5869 enum bpf_access_type atype = meta && meta->raw_mode ? BPF_WRITE : BPF_READ; in check_helper_mem_access()
6723 !may_access_direct_pkt_data(env, meta, BPF_READ)) { in check_func_arg()
14632 BPF_READ, insn->dst_reg, false); in do_check()
15839 type = BPF_READ; in convert_ctx_accesses()
15901 if (type == BPF_READ) { in convert_ctx_accesses()