Home
last modified time | relevance | path

Searched refs:mmget_not_zero (Results 1 – 25 of 27) sorted by relevance

12

/linux/rust/kernel/
H A Dmm.rs141 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 Dmm.c23 return mmget_not_zero(mm); in rust_helper_mmget_not_zero()
/linux/fs/
H A Duserfaultfd.c1313 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 Dumem_odp.c200 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 Dasync_pf.c65 if (mmget_not_zero(mm)) { in async_pf_execute()
/linux/lib/
H A Dtest_hmm.c347 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 Ddrm_pagemap.c569 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 Dmm.h136 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() function
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3-sva.c283 if (!mmget_not_zero(domain->mm)) in arm_smmu_sva_set_dev_pasid()
/linux/fs/proc/
H A Dtask_nommu.c208 if (!mm || !mmget_not_zero(mm)) { in m_start()
H A Dtask_mmu.c292 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 Dbase.c916 if (!mmget_not_zero(mm)) in mem_rw()
1024 if (!mmget_not_zero(mm)) in environ_read()
/linux/drivers/iommu/
H A Diommu-sva.c233 if (!mmget_not_zero(mm)) in iommu_sva_handle_mm()
/linux/drivers/iommu/iommufd/
H A Dpages.c913 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 Dbinder_alloc.c319 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 Dvfio_iommu_type1.c453 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 Dlink.c249 if (mmget_not_zero(pe_data->mm)) { in xsl_fault_handler()
/linux/arch/s390/kvm/
H A Dpv.c534 if (need_zap && mmget_not_zero(kvm->mm)) { in kvm_s390_pv_deinit_cleanup_all()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_migrate.c950 if (!mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_migrate_to_ram()
H A Dkfd_svm.c409 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 Dnouveau_svm.c825 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
/linux/mm/
H A Duserfaultfd.c2092 if (!mmget_not_zero(mm)) in userfaultfd_release_all()
H A Dswapfile.c2484 if (!mmget_not_zero(mm)) in try_to_unuse()
/linux/kernel/events/
H A Duprobes.c1232 if (!mmget_not_zero(vma->vm_mm)) in build_map_info()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c720 if (!mmget_not_zero(mm)) /* Happens during process shutdown */ in amdgpu_ttm_tt_get_user_pages()

12