Home
last modified time | relevance | path

Searched refs:mmgrab (Results 1 – 25 of 45) sorted by relevance

12

/linux/rust/helpers/
H A Dmm.c8 mmgrab(mm); in rust_helper_mmgrab()
/linux/include/linux/sched/
H A Dmm.h19 * mmgrab() - Pin a &struct mm_struct.
30 * Use mmdrop() to release the reference acquired by mmgrab().
35 static inline void mmgrab(struct mm_struct *mm) in mmgrab() function
91 mmgrab(mm); in mmgrab_lazy_tlb()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_fence.c74 mmgrab(mm); in amdgpu_amdkfd_fence_create()
/linux/drivers/infiniband/hw/mlx5/
H A Ddoorbell.c76 mmgrab(current->mm); in mlx5_ib_db_map_user()
/linux/arch/riscv/kernel/
H A Dsmpboot.c225 mmgrab(mm); in smp_callin()
/linux/arch/hexagon/kernel/
H A Dsmp.c143 mmgrab(&init_mm); in start_secondary()
/linux/rust/kernel/
H A Dmm.rs39 /// The `ARef<Mm>` smart pointer holds an `mmgrab` refcount. Its destructor may sleep.
43 /// Values of this type are always refcounted using `mmgrab`.
51 // SAFETY: It is safe to call `mmdrop` on another thread than where `mmgrab` was called.
61 unsafe { bindings::mmgrab(self.as_raw()) }; in inc_ref()
/linux/mm/
H A Doom_kill.c772 mmgrab(tsk->signal->oom_mm);
941 mmgrab(mm); in __oom_kill_process()
1232 mmgrab(mm); in SYSCALL_DEFINE2()
H A Dmmu_notifier.c648 * readers. acquire can only be used while holding the mmgrab or in __mmu_notifier_register()
659 mmgrab(mm); in __mmu_notifier_register()
913 mmgrab(mm); in __mmu_interval_notifier_insert()
1077 /* pairs with mmgrab in mmu_interval_notifier_insert() */ in mmu_interval_notifier_remove()
/linux/arch/sparc/kernel/
H A Dsun4m_smp.c63 mmgrab(&init_mm); in sun4m_cpu_pre_online()
H A Dsun4d_smp.c97 mmgrab(&init_mm); in sun4d_cpu_pre_online()
H A Dleon_smp.c95 mmgrab(&init_mm); in leon_cpu_pre_online()
H A Dtraps_32.c389 mmgrab(&init_mm);
/linux/arch/csky/kernel/
H A Dsmp.c263 mmgrab(mm); in csky_start_secondary()
/linux/arch/openrisc/kernel/
H A Dsmp.c122 mmgrab(mm); in secondary_start_kernel()
/linux/arch/arc/kernel/
H A Dsmp.c169 mmgrab(mm); in start_kernel_secondary()
/linux/drivers/infiniband/core/
H A Dumem.c199 mmgrab(mm); in ib_umem_get()
/linux/arch/parisc/kernel/
H A Dsmp.c294 mmgrab(&init_mm); in smp_cpu_init()
/linux/arch/s390/kernel/
H A Dprocessor.c112 mmgrab(&init_mm); in cpu_init()
/linux/drivers/iommu/
H A Diommu-sva.c308 mmgrab(mm); in iommu_sva_domain_alloc()
/linux/arch/sh/kernel/
H A Dsmp.c181 mmgrab(mm); in start_secondary()
/linux/drivers/gpu/drm/xe/
H A Dxe_sync.c71 mmgrab(ufence->mm); in user_fence_create()
/linux/drivers/infiniband/hw/hfi1/
H A Dmmu_rb.c86 mmgrab(handler->mn.mm); in hfi1_mmu_rb_unregister()
/linux/arch/arm/kernel/
H A Dsmp.c433 mmgrab(mm); in secondary_start_kernel()
/linux/arch/alpha/kernel/
H A Dsmp.c147 mmgrab(&init_mm); in smp_callin()

12