Searched refs:mm_users (Results 1 – 25 of 35) sorted by relevance
12
/linux/arch/sh/kernel/ |
A D | smp.c | 362 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 D | mm.h | 99 atomic_inc(&mm->mm_users); in mmget() 104 return atomic_inc_not_zero(&mm->mm_users); in mmget_not_zero()
|
/linux/lib/ |
A D | is_single_threaded.c | 25 if (atomic_read(&mm->mm_users) == 1) in current_is_single_threaded()
|
/linux/arch/mips/kernel/ |
A D | smp.c | 528 } 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 D | asm-offsets.c | 185 OFFSET(MM_USERS, mm_struct, mm_users); in output_mm_defines()
|
/linux/mm/ |
A D | init-mm.c | 32 .mm_users = ATOMIC_INIT(2),
|
A D | mmu_notifier.c | 636 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 D | debug.c | 243 mm->pgd, atomic_read(&mm->mm_users), in dump_mm()
|
A D | mprotect.c | 69 atomic_read(&vma->vm_mm->mm_users) == 1) in change_pte_range()
|
A D | oom_kill.c | 839 if (atomic_read(&mm->mm_users) <= 1) in task_will_free_mem()
|
/linux/kernel/sched/ |
A D | membarrier.c | 337 (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 D | smp.c | 651 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 D | mmu_context.h | 21 BUG_ON(atomic_read(&mm->mm_users) != 1); in init_new_context()
|
/linux/arch/ia64/include/asm/ |
A D | tlbflush.h | 85 if (atomic_read(&mm->mm_users) == 0) in flush_tlb_mm()
|
/linux/arch/ia64/kernel/ |
A D | smp.c | 297 if (likely(mm == current->active_mm && atomic_read(&mm->mm_users) == 1)) in smp_flush_tlb_mm()
|
/linux/arch/um/kernel/ |
A D | tlb.c | 536 if (atomic_read(¤t->mm->mm_users) == 0) in flush_tlb_all() 564 if (atomic_read(&mm->mm_users) == 0) in fix_range()
|
/linux/arch/xtensa/kernel/ |
A D | asm-offsets.c | 115 DEFINE(MM_USERS, offsetof(struct mm_struct, mm_users)); in main()
|
/linux/include/linux/ |
A D | mm_types.h | 507 atomic_t mm_users; member
|
/linux/kernel/ |
A D | fork.c | 1041 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 D | tboot.c | 102 .mm_users = ATOMIC_INIT(2),
|
/linux/Documentation/vm/ |
A D | active_mm.rst | 58 "mm_users" counter that is how many "real address space users" there are,
|
/linux/arch/arc/mm/ |
A D | tlb.c | 183 if (atomic_read(&mm->mm_users) == 0) in local_flush_tlb_mm()
|
/linux/arch/powerpc/mm/ |
A D | hugetlbpage.c | 280 if (atomic_read(&tlb->mm->mm_users) < 2 || in hugepd_free()
|
/linux/Documentation/translations/zh_CN/process/ |
A D | coding-style.rst | 621 这种 ``多级引用计数`` 的例子可以在内存管理 (``struct mm_struct``: mm_users 和
|
/linux/Documentation/translations/zh_TW/process/ |
A D | coding-style.rst | 625 這種 ``多級引用計數`` 的例子可以在內存管理 (``struct mm_struct``: mm_users 和
|
Completed in 38 milliseconds
12