Lines Matching refs:MEM_PERCPU
5738 perm_flags |= MEM_PERCPU; in map_kptr_match_type()
5867 ret |= MEM_PERCPU; in btf_ld_kptr_type()
7144 if (reg->type & MEM_PERCPU) { in check_ptr_to_btf_access()
7218 } else if (flag & (MEM_PERCPU | MEM_USER)) { in check_ptr_to_btf_access()
9054 PTR_TO_BTF_ID | MEM_PERCPU,
9055 PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU,
9056 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED,
9140 type &= ~MEM_PERCPU; in check_reg_type()
9225 case PTR_TO_BTF_ID | MEM_PERCPU | MEM_ALLOC: in check_reg_type()
9237 case PTR_TO_BTF_ID | MEM_PERCPU: in check_reg_type()
9238 case PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU: in check_reg_type()
9239 case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED: in check_reg_type()
11371 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) { in check_helper_call()
11663 regs[BPF_REG_0].type |= MEM_PERCPU; in check_helper_call()
13082 } else if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC | MEM_PERCPU)) { in check_kfunc_args()
13735 regs[BPF_REG_0].type |= MEM_PERCPU; in check_kfunc_call()
19828 aux->btf_var.reg_type = PTR_TO_BTF_ID | MEM_PERCPU; in __check_pseudo_btf_id()