Home
last modified time | relevance | path

Searched refs:mm_users (Results 1 – 25 of 35) sorted by relevance

12

/linux/arch/sh/kernel/
A Dsmp.c362 if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { in flush_tlb_mm()
394 if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { in flush_tlb_range()
437 if ((atomic_read(&vma->vm_mm->mm_users) != 1) || in flush_tlb_page()
/linux/include/linux/sched/
A Dmm.h99 atomic_inc(&mm->mm_users); in mmget()
104 return atomic_inc_not_zero(&mm->mm_users); in mmget_not_zero()
/linux/lib/
A Dis_single_threaded.c25 if (atomic_read(&mm->mm_users) == 1) in current_is_single_threaded()
/linux/arch/mips/kernel/
A Dsmp.c528 } else if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { in flush_tlb_mm()
578 } else if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { in flush_tlb_range()
645 } else if ((atomic_read(&vma->vm_mm->mm_users) != 1) || in flush_tlb_page()
A Dasm-offsets.c185 OFFSET(MM_USERS, mm_struct, mm_users); in output_mm_defines()
/linux/mm/
A Dinit-mm.c32 .mm_users = ATOMIC_INIT(2),
A Dmmu_notifier.c636 BUG_ON(atomic_read(&mm->mm_users) <= 0); in __mmu_notifier_register()
694 BUG_ON(atomic_read(&mm->mm_users) <= 0); in __mmu_notifier_register()
932 if (WARN_ON(atomic_read(&mm->mm_users) <= 0)) in __mmu_interval_notifier_insert()
A Ddebug.c243 mm->pgd, atomic_read(&mm->mm_users), in dump_mm()
A Dmprotect.c69 atomic_read(&vma->vm_mm->mm_users) == 1) in change_pte_range()
A Doom_kill.c839 if (atomic_read(&mm->mm_users) <= 1) in task_will_free_mem()
/linux/kernel/sched/
A Dmembarrier.c337 (atomic_read(&mm->mm_users) == 1 || num_online_cpus() == 1)) in membarrier_private_expedited()
431 if (atomic_read(&mm->mm_users) == 1 || num_online_cpus() == 1) { in sync_runqueues_membarrier_state()
/linux/arch/alpha/kernel/
A Dsmp.c651 if (atomic_read(&mm->mm_users) <= 1) { in flush_tlb_mm()
698 if (atomic_read(&mm->mm_users) <= 1) { in flush_tlb_page()
752 if (atomic_read(&mm->mm_users) <= 1) { in flush_icache_user_page()
/linux/arch/parisc/include/asm/
A Dmmu_context.h21 BUG_ON(atomic_read(&mm->mm_users) != 1); in init_new_context()
/linux/arch/ia64/include/asm/
A Dtlbflush.h85 if (atomic_read(&mm->mm_users) == 0) in flush_tlb_mm()
/linux/arch/ia64/kernel/
A Dsmp.c297 if (likely(mm == current->active_mm && atomic_read(&mm->mm_users) == 1)) in smp_flush_tlb_mm()
/linux/arch/um/kernel/
A Dtlb.c536 if (atomic_read(&current->mm->mm_users) == 0) in flush_tlb_all()
564 if (atomic_read(&mm->mm_users) == 0) in fix_range()
/linux/arch/xtensa/kernel/
A Dasm-offsets.c115 DEFINE(MM_USERS, offsetof(struct mm_struct, mm_users)); in main()
/linux/include/linux/
A Dmm_types.h507 atomic_t mm_users; member
/linux/kernel/
A Dfork.c1041 atomic_set(&mm->mm_users, 1); in mm_init()
1107 VM_BUG_ON(atomic_read(&mm->mm_users)); in __mmput()
1133 if (atomic_dec_and_test(&mm->mm_users)) in mmput()
1149 if (atomic_dec_and_test(&mm->mm_users)) { in mmput_async()
1393 if (atomic_read(&mm->mm_users) > 1) { in mm_release()
/linux/arch/x86/kernel/
A Dtboot.c102 .mm_users = ATOMIC_INIT(2),
/linux/Documentation/vm/
A Dactive_mm.rst58 "mm_users" counter that is how many "real address space users" there are,
/linux/arch/arc/mm/
A Dtlb.c183 if (atomic_read(&mm->mm_users) == 0) in local_flush_tlb_mm()
/linux/arch/powerpc/mm/
A Dhugetlbpage.c280 if (atomic_read(&tlb->mm->mm_users) < 2 || in hugepd_free()
/linux/Documentation/translations/zh_CN/process/
A Dcoding-style.rst621 这种 ``多级引用计数`` 的例子可以在内存管理 (``struct mm_struct``: mm_users
/linux/Documentation/translations/zh_TW/process/
A Dcoding-style.rst625 這種 ``多級引用計數`` 的例子可以在內存管理 (``struct mm_struct``: mm_users

Completed in 38 milliseconds

12