Lines Matching refs:BPF_WRITE

4841 	if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) {  in check_map_access_type()
5227 if (t == BPF_WRITE) in may_access_direct_pkt_data()
5245 if (t == BPF_WRITE) in may_access_direct_pkt_data()
6193 if (env->ops->btf_struct_access && !type_is_alloc(reg->type) && atype == BPF_WRITE) { in check_ptr_to_btf_access()
6357 if (t == BPF_WRITE) in check_stack_slot_within_bounds()
6459 if (t == BPF_WRITE) { in check_mem_access()
6473 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6519 if (t == BPF_WRITE && rdonly_mem) { in check_mem_access()
6525 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6540 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6598 if (t == BPF_WRITE && !may_access_direct_pkt_data(env, NULL, t)) { in check_mem_access()
6602 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6612 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6623 if (t == BPF_WRITE) { in check_mem_access()
6647 if (t == BPF_WRITE) { in check_mem_access()
6776 BPF_SIZE(insn->code), BPF_WRITE, -1, true, false); in check_atomic()
6817 bounds_check_type = BPF_WRITE; in check_stack_range_initialized()
6968 meta && meta->raw_mode ? BPF_WRITE : in check_helper_mem_access()
7014 enum bpf_access_type atype = meta && meta->raw_mode ? BPF_WRITE : BPF_READ; in check_helper_mem_access()
7394 i, BPF_DW, BPF_WRITE, -1, false, false); in process_dynptr_func()
7487 i, BPF_DW, BPF_WRITE, -1, false, false); in process_iter_arg()
9624 BPF_WRITE, -1, false, false); in check_helper_call()
11518 if (!may_access_direct_pkt_data(env, NULL, BPF_WRITE)) { in check_kfunc_call()
16597 BPF_WRITE, insn->src_reg, false, false); in do_check()
16622 BPF_WRITE, -1, false, false); in do_check()
17762 type = BPF_WRITE; in convert_ctx_accesses()
17767 if (type == BPF_WRITE && in convert_ctx_accesses()
17839 if (type == BPF_WRITE) { in convert_ctx_accesses()
18211 is_rdonly = !may_access_direct_pkt_data(env, NULL, BPF_WRITE); in specialize_kfunc()