Lines Matching refs:MEM_PERCPU
5768 perm_flags |= MEM_PERCPU; in map_kptr_match_type()
5897 ret |= MEM_PERCPU; in btf_ld_kptr_type()
7176 if (reg->type & MEM_PERCPU) { in check_ptr_to_btf_access()
7250 } else if (flag & (MEM_PERCPU | MEM_USER)) { in check_ptr_to_btf_access()
9153 PTR_TO_BTF_ID | MEM_PERCPU,
9154 PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU,
9155 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED,
9239 type &= ~MEM_PERCPU; in check_reg_type()
9324 case PTR_TO_BTF_ID | MEM_PERCPU | MEM_ALLOC: in check_reg_type()
9336 case PTR_TO_BTF_ID | MEM_PERCPU: in check_reg_type()
9337 case PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU: in check_reg_type()
9338 case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED: in check_reg_type()
11505 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) { in check_helper_call()
11797 regs[BPF_REG_0].type |= MEM_PERCPU; in check_helper_call()
13261 } else if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC | MEM_PERCPU)) { in check_kfunc_args()
13704 regs[BPF_REG_0].type |= MEM_PERCPU; in check_special_kfunc()
20261 aux->btf_var.reg_type = PTR_TO_BTF_ID | MEM_PERCPU; in __check_pseudo_btf_id()