Lines Matching refs:owning_mm
91 umem_odp->umem.owning_mm, in ib_init_umem_odp()
132 umem->owning_mm = current->mm; in ib_umem_odp_alloc_implicit()
181 umem->owning_mm = root->umem.owning_mm; in ib_umem_odp_alloc_child()
189 if (!mmget_not_zero(umem->owning_mm)) { in ib_umem_odp_alloc_child()
198 mmput(umem->owning_mm); in ib_umem_odp_alloc_child()
203 mmput(umem->owning_mm); in ib_umem_odp_alloc_child()
241 umem_odp->umem.owning_mm = current->mm; in ib_umem_odp_get()
351 struct mm_struct *owning_mm = umem_odp->umem.owning_mm; in ib_umem_odp_map_dma_and_lock() local
373 if (!owning_process || !mmget_not_zero(owning_mm)) { in ib_umem_odp_map_dma_and_lock()
397 mmap_read_lock(owning_mm); in ib_umem_odp_map_dma_and_lock()
399 mmap_read_unlock(owning_mm); in ib_umem_odp_map_dma_and_lock()
463 mmput_async(owning_mm); in ib_umem_odp_map_dma_and_lock()