Searched refs:owning_mm (Results 1 – 7 of 7) sorted by relevance
93 umem_odp->umem.owning_mm, in ib_init_umem_odp()134 umem->owning_mm = current->mm; in ib_umem_odp_alloc_implicit()183 umem->owning_mm = root->umem.owning_mm; in ib_umem_odp_alloc_child()191 if (!mmget_not_zero(umem->owning_mm)) { in ib_umem_odp_alloc_child()200 mmput(umem->owning_mm); in ib_umem_odp_alloc_child()205 mmput(umem->owning_mm); in ib_umem_odp_alloc_child()244 umem_odp->umem.owning_mm = mm = current->mm; in ib_umem_odp_get()357 struct mm_struct *owning_mm = umem_odp->umem.owning_mm; in ib_umem_odp_map_dma_and_lock() local379 if (!owning_process || !mmget_not_zero(owning_mm)) { in ib_umem_odp_map_dma_and_lock()403 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()257 mmdrop(umem->owning_mm); in ib_umem_get()277 atomic64_sub(ib_umem_num_pages(umem), &umem->owning_mm->pinned_vm); in ib_umem_release()278 mmdrop(umem->owning_mm); in ib_umem_release()
125 uiomr->owning_mm = mm = current->mm; in usnic_uiom_get_pages()188 mmgrab(uiomr->owning_mm); in usnic_uiom_get_pages()417 mmdrop(uiomr->owning_mm); in usnic_uiom_reg_get()425 mmdrop(uiomr->owning_mm); in __usnic_uiom_release_tail()438 atomic64_sub(usnic_uiom_num_pages(uiomr), &uiomr->owning_mm->pinned_vm); in usnic_uiom_reg_release()
74 struct mm_struct *owning_mm; member
19 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()
127 struct mm_struct *owning_mm; member