Lines Matching refs:flag
1747 enum bpf_type_flag flag) in mark_btf_ld_reg() argument
1754 regs[regno].type = PTR_TO_BTF_ID | flag; in mark_btf_ld_reg()
2287 struct bpf_reg_state *parent, u8 flag) in mark_reg_read() argument
2305 if ((parent->live & REG_LIVE_READ) == flag || in mark_reg_read()
2318 parent->live |= flag; in mark_reg_read()
2320 if (flag == REG_LIVE_READ64) in mark_reg_read()
4769 enum bpf_type_flag flag = 0; in check_ptr_to_btf_access() local
4805 off, size, atype, &btf_id, &flag); in check_ptr_to_btf_access()
4813 atype, &btf_id, &flag); in check_ptr_to_btf_access()
4823 flag |= PTR_UNTRUSTED; in check_ptr_to_btf_access()
4826 mark_btf_ld_reg(env, regs, value_regno, ret, reg->btf, btf_id, flag); in check_ptr_to_btf_access()
4839 enum bpf_type_flag flag = 0; in check_ptr_to_map_access() local
4877 ret = btf_struct_access(&env->log, btf_vmlinux, t, off, size, atype, &btf_id, &flag); in check_ptr_to_map_access()
4882 mark_btf_ld_reg(env, regs, value_regno, ret, btf_vmlinux, btf_id, flag); in check_ptr_to_map_access()
12060 u8 flag = reg->live & REG_LIVE_READ; in propagate_liveness_reg() local
12069 !flag || in propagate_liveness_reg()
12071 parent_flag == flag) in propagate_liveness_reg()
12074 err = mark_reg_read(env, reg, parent_reg, flag); in propagate_liveness_reg()
12078 return flag; in propagate_liveness_reg()