Home
last modified time | relevance | path

Searched refs:source_mm (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/iommu/iommufd/
Dpages.c726 mmap_read_unlock(pages->source_mm); in pfn_reader_user_destroy()
727 if (pages->source_mm != current->mm) in pfn_reader_user_destroy()
728 mmput(pages->source_mm); in pfn_reader_user_destroy()
741 bool remote_mm = pages->source_mm != current->mm; in pfn_reader_user_pin()
766 if (!mmget_not_zero(pages->source_mm)) in pfn_reader_user_pin()
785 mmap_read_lock(pages->source_mm); in pfn_reader_user_pin()
788 rc = pin_user_pages_remote(pages->source_mm, uptr, npages, in pfn_reader_user_pin()
837 mmap_read_unlock(pages->source_mm); in update_mm_locked_vm()
841 pages->source_mm != current->mm) { in update_mm_locked_vm()
842 if (!mmget_not_zero(pages->source_mm)) in update_mm_locked_vm()
[all …]
Dio_pagetable.h196 struct mm_struct *source_mm; member