Lines Matching +full:add +full:- +full:pmem
1 /* SPDX-License-Identifier: GPL-2.0 */
27 struct mm_iommu_table_group_mem_t **pmem);
30 struct mm_iommu_table_group_mem_t **pmem);
83 VM_WARN_ON(mm->context.extended_id[index]); in alloc_extended_context()
84 mm->context.extended_id[index] = context_id; in alloc_extended_context()
92 context_id = get_user_context(&mm->context, ea); in need_extra_context()
110 return -ENOMEM; in alloc_extended_context()
125 atomic_inc(&mm->context.active_cpus); in inc_mm_active_cpus()
130 VM_WARN_ON_ONCE(atomic_read(&mm->context.active_cpus) <= 0); in dec_mm_active_cpus()
131 atomic_dec(&mm->context.active_cpus); in dec_mm_active_cpus()
141 if (atomic_inc_return(&mm->context.copros) == 1) in mm_context_add_copro()
158 * same context, it can lead to over-flushing. It's hopefully in mm_context_remove_copro()
165 * in-between. in mm_context_remove_copro()
170 c = atomic_dec_if_positive(&mm->context.copros); in mm_context_remove_copro()
171 /* Detect imbalance between add and remove */ in mm_context_remove_copro()
192 atomic_inc(&mm->context.vas_windows); in mm_context_add_vas_window()
201 v = atomic_dec_if_positive(&mm->context.vas_windows); in mm_context_remove_vas_window()
203 /* Detect imbalance between add and remove */ in mm_context_remove_vas_window()
241 * After we have set current->mm to a new value, this activates
256 /* 64-bit Book3E keeps track of current PGD in the PACA */ in enter_lazy_tlb()
257 get_paca()->pgd = NULL; in enter_lazy_tlb()
266 unsigned long vdso_base = (unsigned long)mm->context.vdso; in arch_unmap()
269 mm->context.vdso = NULL; in arch_unmap()
301 #include <asm-generic/mmu_context.h>