Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/
Duserfaultfd.c847 if (!mmget_not_zero(mm)) in userfaultfd_release()
1296 if (!mmget_not_zero(mm)) in userfaultfd_register()
1497 if (!mmget_not_zero(mm)) in userfaultfd_unregister()
1690 if (mmget_not_zero(ctx->mm)) { in userfaultfd_copy()
1742 if (mmget_not_zero(ctx->mm)) { in userfaultfd_zeropage()
1799 if (mmget_not_zero(ctx->mm)) { in userfaultfd_writeprotect()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dumem_odp.c191 if (!mmget_not_zero(umem->owning_mm)) { in ib_umem_odp_alloc_child()
379 if (!owning_process || !mmget_not_zero(owning_mm)) { in ib_umem_odp_map_dma_and_lock()
Duverbs_main.c828 ret = mmget_not_zero(mm); in uverbs_user_mmap_disassociate()
/kernel/linux/linux-5.10/include/linux/sched/
Dmm.h73 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() function
/kernel/linux/linux-5.10/lib/
Dtest_hmm.c297 if (!mmget_not_zero(mm)) in dmirror_fault()
684 if (!mmget_not_zero(mm)) in dmirror_migrate()
882 if (!mmget_not_zero(mm)) in dmirror_snapshot()
/kernel/linux/linux-5.10/fs/proc/
Dtask_nommu.c211 if (!mm || !mmget_not_zero(mm)) in m_start()
Dtask_mmu.c156 if (!mm || !mmget_not_zero(mm)) { in m_start()
895 if (!mm || !mmget_not_zero(mm)) { in show_smaps_rollup()
1632 if (!mm || !mmget_not_zero(mm)) in pagemap_read()
Dbase.c861 if (!mmget_not_zero(mm)) in mem_rw()
982 if (!mmget_not_zero(mm)) in environ_read()
/kernel/linux/linux-5.10/drivers/android/
Dbinder_alloc.c211 if (need_mm && mmget_not_zero(alloc->vma_vm_mm)) in binder_update_page_range()
1001 if (!mmget_not_zero(mm)) in binder_alloc_free_page()
/kernel/linux/linux-5.10/drivers/misc/ocxl/
Dlink.c241 if (mmget_not_zero(pe_data->mm)) { in xsl_fault_handler()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c465 if (mmget_not_zero(mm)) { in __i915_gem_userptr_get_pages_worker()
/kernel/linux/linux-5.10/drivers/vfio/
Dvfio_iommu_type1.c396 if (async && !mmget_not_zero(mm)) in vfio_lock_acct()
671 if (!mmget_not_zero(mm)) in vfio_pin_page_external()
2990 if (!mmget_not_zero(mm)) in vfio_iommu_type1_dma_rw_chunk()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_svm.c728 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
/kernel/linux/linux-5.10/drivers/iommu/intel/
Dsvm.c987 if (!mmget_not_zero(svm->mm)) in prq_event_thread()
/kernel/linux/linux-5.10/Documentation/vm/
Dhmm.rst189 if (!mmget_not_zero(interval_sub->notifier.mm))
/kernel/linux/linux-5.10/kernel/events/
Duprobes.c996 if (!mmget_not_zero(vma->vm_mm)) in build_map_info()
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci.c1499 if (mmget_not_zero(mm)) in vfio_pci_zap_and_vma_lock()
/kernel/linux/linux-5.10/arch/s390/mm/
Dgmap.c2716 if (!mmget_not_zero(mm)) in s390_reset_acc()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c856 if (!mmget_not_zero(mm)) /* Happens during process shutdown */ in amdgpu_ttm_tt_get_user_pages()
/kernel/linux/linux-5.10/mm/
Dswapfile.c2208 if (!mmget_not_zero(mm)) in try_to_unuse()