/linux/fs/ |
H A D | userfaultfd.c | 1291 if (!mmget_not_zero(mm)) in userfaultfd_register() 1439 if (!mmget_not_zero(mm)) in userfaultfd_unregister() 1611 if (mmget_not_zero(ctx->mm)) { in userfaultfd_copy() 1662 if (mmget_not_zero(ctx->mm)) { in userfaultfd_zeropage() 1718 if (mmget_not_zero(ctx->mm)) { in userfaultfd_writeprotect() 1769 if (mmget_not_zero(ctx->mm)) { in userfaultfd_continue() 1823 if (mmget_not_zero(ctx->mm)) { in userfaultfd_poison() 1898 if (mmget_not_zero(mm)) { in userfaultfd_move()
|
/linux/drivers/infiniband/core/ |
H A D | umem_odp.c | 189 if (!mmget_not_zero(umem->owning_mm)) { in ib_umem_odp_alloc_child() 373 if (!owning_process || !mmget_not_zero(owning_mm)) { in ib_umem_odp_map_dma_and_lock()
|
/linux/lib/ |
H A D | test_hmm.c | 344 if (!mmget_not_zero(mm)) in dmirror_fault() 794 if (!mmget_not_zero(mm)) in dmirror_exclusive() 916 if (!mmget_not_zero(mm)) in dmirror_migrate_to_system() 977 if (!mmget_not_zero(mm)) in dmirror_migrate_to_device() 1184 if (!mmget_not_zero(mm)) in dmirror_snapshot()
|
/linux/virt/kvm/ |
H A D | async_pf.c | 65 if (mmget_not_zero(mm)) { in async_pf_execute()
|
/linux/arch/x86/kernel/cpu/sgx/ |
H A D | encl.c | 936 if (!mmget_not_zero(encl_mm->mm)) in sgx_encl_cpumask() 1021 if (!mmget_not_zero(encl_mm->mm)) in sgx_encl_get_mem_cgroup() 1215 if (!mmget_not_zero(encl_mm->mm)) in sgx_zap_enclave_ptes()
|
H A D | main.c | 121 if (!mmget_not_zero(encl_mm->mm)) in sgx_reclaimer_age()
|
/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/ |
H A D | iommu-sva.c | 221 if (!mmget_not_zero(mm)) in iommu_sva_handle_mm()
|
/linux/drivers/misc/cxl/ |
H A D | fault.c | 203 if (!mmget_not_zero(ctx->mm)) in get_mem_context()
|
/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 | 160 if (!mm || !mmget_not_zero(mm)) { in m_start() 486 if (!mm || !mmget_not_zero(mm)) in do_procmap_query() 1179 if (!mm || !mmget_not_zero(mm)) { in show_smaps_rollup() 1960 if (!mm || !mmget_not_zero(mm)) in pagemap_read()
|
H A D | base.c | 910 if (!mmget_not_zero(mm)) in mem_rw() 1018 if (!mmget_not_zero(mm)) in environ_read()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_hmm.c | 284 if (!mmget_not_zero(userptr->notifier.mm)) { in xe_hmm_userptr_populate_range()
|
H A D | xe_sync.c | 80 if (mmget_not_zero(ufence->mm)) { in user_fence_worker()
|
/linux/drivers/iommu/iommufd/ |
H A D | pages.c | 891 if (!mmget_not_zero(pages->source_mm)) in pfn_reader_user_pin() 973 if (!mmget_not_zero(pages->source_mm)) in update_mm_locked_vm() 1980 if (!mmget_not_zero(pages->source_mm)) in iopt_pages_rw_page() 2059 if (!mmget_not_zero(pages->source_mm)) in iopt_pages_rw_access()
|
/linux/drivers/accel/amdxdna/ |
H A D | aie2_ctx.c | 301 if (!mmget_not_zero(job->mm)) in aie2_sched_job_run() 766 if (!mmget_not_zero(mm)) in aie2_populate_range()
|
/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 433 if (async && !mmget_not_zero(mm)) in vfio_lock_acct() 736 if (!mmget_not_zero(mm)) in vfio_pin_page_external() 1524 if (mmget_not_zero(dma->mm)) { in vfio_change_dma_owner() 3053 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 | 475 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 | 949 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() 2579 if (!mmget_not_zero(mni->mm)) in svm_range_cpu_invalidate_pagetables() 3558 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_evict_svm_bo_worker()
|
H A D | kfd_process.c | 835 if (!(thread->mm && mmget_not_zero(thread->mm))) in kfd_create_process()
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_svm.c | 829 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
|
/linux/mm/ |
H A D | userfaultfd.c | 2002 if (!mmget_not_zero(mm)) in userfaultfd_release_all()
|
/linux/Documentation/mm/ |
H A D | hmm.rst | 178 if (!mmget_not_zero(interval_sub->notifier.mm))
|