Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dumem_odp.c93 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() local
379 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 …]
Dumem.c182 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_uiom.c125 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()
Dusnic_uiom.h74 struct mm_struct *owning_mm; member
/kernel/linux/linux-5.10/include/rdma/
Dib_umem.h19 struct mm_struct *owning_mm; member
/kernel/linux/linux-5.10/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.h127 struct mm_struct *owning_mm; member