Home
last modified time | relevance | path

Searched refs:mm (Results 1 – 8 of 8) sorted by relevance

/lib/
A Dis_single_threaded.c18 struct mm_struct *mm = task->mm; in current_is_single_threaded() local
25 if (atomic_read(&mm->mm_users) == 1) in current_is_single_threaded()
37 if (unlikely(t->mm == mm)) in current_is_single_threaded()
39 if (likely(t->mm)) in current_is_single_threaded()
A Dtest_hmm.c291 struct mm_struct *mm = dmirror->notifier.mm; in dmirror_range_fault() local
331 struct mm_struct *mm = dmirror->notifier.mm; in dmirror_fault() local
357 mmput(mm); in dmirror_fault()
772 struct mm_struct *mm = dmirror->notifier.mm; in dmirror_exclusive() local
801 mmput(mm); in dmirror_exclusive()
880 struct mm_struct *mm = dmirror->notifier.mm; in dmirror_migrate_to_system() local
930 mmput(mm); in dmirror_migrate_to_system()
940 struct mm_struct *mm = dmirror->notifier.mm; in dmirror_migrate_to_device() local
987 mmput(mm); in dmirror_migrate_to_device()
1086 struct mm_struct *mm = dmirror->notifier.mm; in dmirror_range_snapshot() local
[all …]
A Dtest_lockup.c196 mmap_read_lock(main_task->mm); in test_lock()
198 mmap_write_lock(main_task->mm); in test_lock()
279 mmap_read_unlock(main_task->mm); in test_unlock()
281 mmap_write_unlock(main_task->mm); in test_unlock()
528 if (lock_mmap_sem && !main_task->mm) { in test_lockup_init()
A DKconfig.debug721 source "mm/Kconfig.debug"
847 Enable additional IPIs that ensure lazy tlb mm references are removed
848 before the mm is freed.
/lib/kunit/
A Duser_alloc.c27 struct mm_struct *mm; in kunit_attach_mm() local
29 if (current->mm) in kunit_attach_mm()
36 mm = mm_alloc(); in kunit_attach_mm()
37 if (!mm) in kunit_attach_mm()
41 mm->task_size = TASK_SIZE; in kunit_attach_mm()
44 arch_pick_mmap_layout(mm, &current->signal->rlim[RLIMIT_STACK]); in kunit_attach_mm()
47 kthread_use_mm(mm); in kunit_attach_mm()
/lib/vdso/
A Ddatastore.c99 struct vm_area_struct *vdso_install_vvar_mapping(struct mm_struct *mm, unsigned long addr) in vdso_install_vvar_mapping() argument
101 return _install_special_mapping(mm, addr, VDSO_NR_PAGES * PAGE_SIZE, in vdso_install_vvar_mapping()
117 struct mm_struct *mm = task->mm; in vdso_join_timens() local
119 VMA_ITERATOR(vmi, mm, 0); in vdso_join_timens()
121 mmap_read_lock(mm); in vdso_join_timens()
126 mmap_read_unlock(mm); in vdso_join_timens()
/lib/zlib_inflate/
A Dinffast.c22 union uu mm; in get_unaligned16() local
25 mm.b[0] = b[0]; in get_unaligned16()
26 mm.b[1] = b[1]; in get_unaligned16()
27 return mm.us; in get_unaligned16()
269 union uu mm; in inflate_fast() local
271 mm.us = pat16; in inflate_fast()
272 mm.b[0] = mm.b[1]; in inflate_fast()
273 pat16 = mm.us; in inflate_fast()
/lib/reed_solomon/
A Dreed_solomon.c82 rs->mm = symsize; in codec_init()
247 if (symsize != cd->mm) in init_rs_internal()

Completed in 21 milliseconds