/openbmc/linux/fs/ |
H A D | userfaultfd.c | 903 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 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()
|
H A D | uverbs_main.c | 837 ret = mmget_not_zero(mm); in uverbs_user_mmap_disassociate()
|
/openbmc/linux/drivers/iommu/ |
H A D | iommu-sva.c | 165 if (!mmget_not_zero(mm)) in iommu_sva_handle_iopf()
|
/openbmc/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() 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 D | mm.h | 135 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() function
|
/openbmc/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 | 120 if (!mmget_not_zero(encl_mm->mm)) in sgx_reclaimer_age()
|
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A D | hmm.rst | 150 if (!mmget_not_zero(interval_sub->notifier.mm))
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | fault.c | 203 if (!mmget_not_zero(ctx->mm)) in get_mem_context()
|
/openbmc/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 | 157 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 D | base.c | 911 if (!mmget_not_zero(mm)) in mem_rw() 1018 if (!mmget_not_zero(mm)) in environ_read()
|
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | pages.c | 766 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 D | binder_alloc.c | 211 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 D | vfio_iommu_type1.c | 434 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 D | link.c | 249 if (mmget_not_zero(pe_data->mm)) { in xsl_fault_handler()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | pv.c | 474 if (need_zap && mmget_not_zero(kvm->mm)) { in kvm_s390_pv_deinit_cleanup_all()
|
/openbmc/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.c | 178 if (!mmget_not_zero(mm)) in vdpasim_work_fn()
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_migrate.c | 920 if (!mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_migrate_to_ram()
|
H A D | kfd_svm.c | 395 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 D | kfd_process.c | 804 if (!(thread->mm && mmget_not_zero(thread->mm))) in kfd_create_process()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_svm.c | 827 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
|
/openbmc/linux/Documentation/mm/ |
H A D | hmm.rst | 178 if (!mmget_not_zero(interval_sub->notifier.mm))
|
/openbmc/linux/kernel/events/ |
H A D | uprobes.c | 989 if (!mmget_not_zero(vma->vm_mm)) in build_map_info()
|