| /linux/rust/kernel/ |
| H A D | mm.rs | 141 pub fn mmget_not_zero(&self) -> Option<ARef<MmWithUser>> { in mmget_not_zero() method 143 let success = unsafe { bindings::mmget_not_zero(self.as_raw()) }; in mmget_not_zero()
|
| /linux/rust/helpers/ |
| H A D | mm.c | 23 return mmget_not_zero(mm); in rust_helper_mmget_not_zero()
|
| /linux/fs/ |
| H A D | userfaultfd.c | 1313 if (!mmget_not_zero(mm)) in userfaultfd_register() 1461 if (!mmget_not_zero(mm)) in userfaultfd_unregister() 1641 if (mmget_not_zero(ctx->mm)) { in userfaultfd_copy() 1695 if (mmget_not_zero(ctx->mm)) { in userfaultfd_zeropage() 1751 if (mmget_not_zero(ctx->mm)) { in userfaultfd_writeprotect() 1805 if (mmget_not_zero(ctx->mm)) { in userfaultfd_continue() 1862 if (mmget_not_zero(ctx->mm)) { in userfaultfd_poison() 1941 if (mmget_not_zero(mm)) { in userfaultfd_move()
|
| /linux/drivers/infiniband/core/ |
| H A D | umem_odp.c | 200 if (!mmget_not_zero(umem->owning_mm)) { in ib_umem_odp_alloc_child() 348 if (!owning_process || !mmget_not_zero(owning_mm)) { in ib_umem_odp_map_dma_and_lock()
|
| /linux/virt/kvm/ |
| H A D | async_pf.c | 65 if (mmget_not_zero(mm)) { in async_pf_execute()
|
| /linux/lib/ |
| H A D | test_hmm.c | 347 if (!mmget_not_zero(mm)) in dmirror_fault() 898 if (!mmget_not_zero(mm)) in dmirror_exclusive() 1059 if (!mmget_not_zero(mm)) in dmirror_migrate_to_system() 1122 if (!mmget_not_zero(mm)) in dmirror_migrate_to_device() 1345 if (!mmget_not_zero(mm)) in dmirror_snapshot()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_pagemap.c | 569 if (!mmget_not_zero(devmem_allocation->mm)) in drm_pagemap_evict_to_ram() 881 if (!mmget_not_zero(mm)) in drm_pagemap_populate_mm()
|
| /linux/include/linux/sched/ |
| H A D | mm.h | 136 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() function
|
| /linux/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3-sva.c | 283 if (!mmget_not_zero(domain->mm)) in arm_smmu_sva_set_dev_pasid()
|
| /linux/fs/proc/ |
| H A D | task_nommu.c | 208 if (!mm || !mmget_not_zero(mm)) { in m_start()
|
| H A D | task_mmu.c | 292 if (!mm || !mmget_not_zero(mm)) { in m_start() 685 if (!mm || !mmget_not_zero(mm)) in do_procmap_query() 1398 if (!mm || !mmget_not_zero(mm)) { in show_smaps_rollup() 2212 if (!mm || !mmget_not_zero(mm)) in pagemap_read()
|
| H A D | base.c | 916 if (!mmget_not_zero(mm)) in mem_rw() 1024 if (!mmget_not_zero(mm)) in environ_read()
|
| /linux/drivers/iommu/ |
| H A D | iommu-sva.c | 233 if (!mmget_not_zero(mm)) in iommu_sva_handle_mm()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | pages.c | 913 if (!mmget_not_zero(pages->source_mm)) in pfn_reader_user_pin() 995 if (!mmget_not_zero(pages->source_mm)) in update_mm_locked_vm() 2300 if (!mmget_not_zero(pages->source_mm)) in iopt_pages_rw_page() 2378 if (!mmget_not_zero(pages->source_mm)) in iopt_pages_rw_access()
|
| /linux/drivers/android/ |
| H A D | binder_alloc.c | 319 if (!mmget_not_zero(alloc->mm)) in binder_install_single_page() 1149 if (!mmget_not_zero(mm)) in binder_alloc_free_page()
|
| /linux/drivers/vfio/ |
| H A D | vfio_iommu_type1.c | 453 if (async && !mmget_not_zero(mm)) in vfio_lock_acct() 848 if (!mmget_not_zero(mm)) in vfio_pin_page_external() 1665 if (mmget_not_zero(dma->mm)) { in vfio_change_dma_owner() 3161 if (!mmget_not_zero(mm)) in vfio_iommu_type1_dma_rw_chunk()
|
| /linux/drivers/misc/ocxl/ |
| H A D | link.c | 249 if (mmget_not_zero(pe_data->mm)) { in xsl_fault_handler()
|
| /linux/arch/s390/kvm/ |
| H A D | pv.c | 534 if (need_zap && mmget_not_zero(kvm->mm)) { in kvm_s390_pv_deinit_cleanup_all()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_migrate.c | 950 if (!mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_migrate_to_ram()
|
| H A D | kfd_svm.c | 409 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_bo_release() 2445 if (mmget_not_zero(mm)) { in svm_range_add_list_work() 3602 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_evict_svm_bo_worker()
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_svm.c | 825 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
|
| /linux/mm/ |
| H A D | userfaultfd.c | 2092 if (!mmget_not_zero(mm)) in userfaultfd_release_all()
|
| H A D | swapfile.c | 2484 if (!mmget_not_zero(mm)) in try_to_unuse()
|
| /linux/kernel/events/ |
| H A D | uprobes.c | 1232 if (!mmget_not_zero(vma->vm_mm)) in build_map_info()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 720 if (!mmget_not_zero(mm)) /* Happens during process shutdown */ in amdgpu_ttm_tt_get_user_pages()
|