Searched refs:owning_mm (Results 1 – 6 of 6) sorted by relevance
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() local373 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()[all …]
182 umem->owning_mm = mm = current->mm; in ib_umem_get()251 mmdrop(umem->owning_mm); in ib_umem_get()273 atomic64_sub(ib_umem_num_pages(umem), &umem->owning_mm->pinned_vm); in ib_umem_release()274 mmdrop(umem->owning_mm); in ib_umem_release()
123 uiomr->owning_mm = mm = current->mm; in usnic_uiom_get_pages()183 mmgrab(uiomr->owning_mm); in usnic_uiom_get_pages()412 mmdrop(uiomr->owning_mm); in usnic_uiom_reg_get()420 mmdrop(uiomr->owning_mm); in __usnic_uiom_release_tail()433 atomic64_sub(usnic_uiom_num_pages(uiomr), &uiomr->owning_mm->pinned_vm); in usnic_uiom_reg_release()
74 struct mm_struct *owning_mm; member
71 struct mm_struct *mm_s = umem->owning_mm; in siw_umem_release()389 umem->owning_mm = mm_s; in siw_umem_get()
128 struct mm_struct *owning_mm; member