Home
last modified time | relevance | path

Searched refs:owning_mm (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/infiniband/core/
Dumem_odp.c91 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()
[all …]
Dumem.c182 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()
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_uiom.c123 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()
Dusnic_uiom.h74 struct mm_struct *owning_mm; member
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_mem.c71 struct mm_struct *mm_s = umem->owning_mm; in siw_umem_release()
389 umem->owning_mm = mm_s; in siw_umem_get()
Dsiw.h128 struct mm_struct *owning_mm; member
/linux-6.6.21/include/rdma/
Dib_umem.h21 struct mm_struct *owning_mm; member