Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/
H A Duserfaultfd.c903 if (!mmget_not_zero(mm)) in userfaultfd_release()
1371 if (!mmget_not_zero(mm)) in userfaultfd_register()
1583 if (!mmget_not_zero(mm)) in userfaultfd_unregister()
1782 if (mmget_not_zero(ctx->mm)) { in userfaultfd_copy()
1834 if (mmget_not_zero(ctx->mm)) { in userfaultfd_zeropage()
1891 if (mmget_not_zero(ctx->mm)) { in userfaultfd_writeprotect()
1943 if (mmget_not_zero(ctx->mm)) { in userfaultfd_continue()
1998 if (mmget_not_zero(ctx->mm)) { in userfaultfd_poison()
/openbmc/linux/drivers/infiniband/core/
H A Dumem_odp.c189 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()
H A Duverbs_main.c837 ret = mmget_not_zero(mm); in uverbs_user_mmap_disassociate()
/openbmc/linux/drivers/iommu/
H A Diommu-sva.c165 if (!mmget_not_zero(mm)) in iommu_sva_handle_iopf()
/openbmc/linux/lib/
H A Dtest_hmm.c344 if (!mmget_not_zero(mm)) in dmirror_fault()
794 if (!mmget_not_zero(mm)) in dmirror_exclusive()
919 if (!mmget_not_zero(mm)) in dmirror_migrate_to_system()
980 if (!mmget_not_zero(mm)) in dmirror_migrate_to_device()
1187 if (!mmget_not_zero(mm)) in dmirror_snapshot()
/openbmc/linux/include/linux/sched/
H A Dmm.h135 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() function
/openbmc/linux/arch/x86/kernel/cpu/sgx/
H A Dencl.c936 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 Dmain.c120 if (!mmget_not_zero(encl_mm->mm)) in sgx_reclaimer_age()
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dhmm.rst150 if (!mmget_not_zero(interval_sub->notifier.mm))
/openbmc/linux/drivers/misc/cxl/
H A Dfault.c203 if (!mmget_not_zero(ctx->mm)) in get_mem_context()
/openbmc/linux/fs/proc/
H A Dtask_nommu.c208 if (!mm || !mmget_not_zero(mm)) { in m_start()
H A Dtask_mmu.c157 if (!mm || !mmget_not_zero(mm)) { in m_start()
891 if (!mm || !mmget_not_zero(mm)) { in show_smaps_rollup()
1665 if (!mm || !mmget_not_zero(mm)) in pagemap_read()
H A Dbase.c911 if (!mmget_not_zero(mm)) in mem_rw()
1018 if (!mmget_not_zero(mm)) in environ_read()
/openbmc/linux/drivers/iommu/iommufd/
H A Dpages.c766 if (!mmget_not_zero(pages->source_mm)) in pfn_reader_user_pin()
842 if (!mmget_not_zero(pages->source_mm)) in update_mm_locked_vm()
1791 if (!mmget_not_zero(pages->source_mm)) in iopt_pages_rw_page()
1861 if (!mmget_not_zero(pages->source_mm)) in iopt_pages_rw_access()
/openbmc/linux/drivers/android/
H A Dbinder_alloc.c211 if (need_mm && mmget_not_zero(alloc->mm)) in binder_update_page_range()
1002 if (!mmget_not_zero(mm)) in binder_alloc_free_page()
/openbmc/linux/drivers/vfio/
H A Dvfio_iommu_type1.c434 if (async && !mmget_not_zero(mm)) in vfio_lock_acct()
753 if (!mmget_not_zero(mm)) in vfio_pin_page_external()
1541 if (mmget_not_zero(dma->mm)) { in vfio_change_dma_owner()
3076 if (!mmget_not_zero(mm)) in vfio_iommu_type1_dma_rw_chunk()
/openbmc/linux/drivers/misc/ocxl/
H A Dlink.c249 if (mmget_not_zero(pe_data->mm)) { in xsl_fault_handler()
/openbmc/linux/arch/s390/kvm/
H A Dpv.c474 if (need_zap && mmget_not_zero(kvm->mm)) { in kvm_s390_pv_deinit_cleanup_all()
/openbmc/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim.c178 if (!mmget_not_zero(mm)) in vdpasim_work_fn()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_migrate.c920 if (!mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_migrate_to_ram()
H A Dkfd_svm.c395 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_bo_release()
2534 if (!mmget_not_zero(mni->mm)) in svm_range_cpu_invalidate_pagetables()
3473 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_evict_svm_bo_worker()
H A Dkfd_process.c804 if (!(thread->mm && mmget_not_zero(thread->mm))) in kfd_create_process()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_svm.c827 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
/openbmc/linux/Documentation/mm/
H A Dhmm.rst178 if (!mmget_not_zero(interval_sub->notifier.mm))
/openbmc/linux/kernel/events/
H A Duprobes.c989 if (!mmget_not_zero(vma->vm_mm)) in build_map_info()

12