Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iommu/
Diommu-sva-lib.c56 return mmget_not_zero(mm); in __mmget_not_zero()
/linux-6.1.9/fs/
Duserfaultfd.c880 if (!mmget_not_zero(mm)) in userfaultfd_release()
1334 if (!mmget_not_zero(mm)) in userfaultfd_register()
1551 if (!mmget_not_zero(mm)) in userfaultfd_unregister()
1754 if (mmget_not_zero(ctx->mm)) { in userfaultfd_copy()
1806 if (mmget_not_zero(ctx->mm)) { in userfaultfd_zeropage()
1863 if (mmget_not_zero(ctx->mm)) { in userfaultfd_writeprotect()
1916 if (mmget_not_zero(ctx->mm)) { in userfaultfd_continue()
/linux-6.1.9/drivers/infiniband/core/
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()
Duverbs_main.c828 ret = mmget_not_zero(mm); in uverbs_user_mmap_disassociate()
/linux-6.1.9/lib/
Dtest_hmm.c344 if (!mmget_not_zero(mm)) in dmirror_fault()
800 if (!mmget_not_zero(mm)) in dmirror_exclusive()
925 if (!mmget_not_zero(mm)) in dmirror_migrate_to_system()
986 if (!mmget_not_zero(mm)) in dmirror_migrate_to_device()
1193 if (!mmget_not_zero(mm)) in dmirror_snapshot()
/linux-6.1.9/arch/x86/kernel/cpu/sgx/
Dencl.c914 if (!mmget_not_zero(encl_mm->mm)) in sgx_encl_cpumask()
999 if (!mmget_not_zero(encl_mm->mm)) in sgx_encl_get_mem_cgroup()
1193 if (!mmget_not_zero(encl_mm->mm)) in sgx_zap_enclave_ptes()
Dmain.c120 if (!mmget_not_zero(encl_mm->mm)) in sgx_reclaimer_age()
/linux-6.1.9/include/linux/sched/
Dmm.h103 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() function
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhmm.rst150 if (!mmget_not_zero(interval_sub->notifier.mm))
/linux-6.1.9/fs/proc/
Dtask_nommu.c208 if (!mm || !mmget_not_zero(mm)) in m_start()
Dtask_mmu.c156 if (!mm || !mmget_not_zero(mm)) { in m_start()
893 if (!mm || !mmget_not_zero(mm)) { in show_smaps_rollup()
1660 if (!mm || !mmget_not_zero(mm)) in pagemap_read()
Dbase.c854 if (!mmget_not_zero(mm)) in mem_rw()
959 if (!mmget_not_zero(mm)) in environ_read()
/linux-6.1.9/drivers/misc/cxl/
Dfault.c203 if (!mmget_not_zero(ctx->mm)) in get_mem_context()
/linux-6.1.9/drivers/android/
Dbinder_alloc.c211 if (need_mm && mmget_not_zero(alloc->mm)) in binder_update_page_range()
1010 if (!mmget_not_zero(mm)) in binder_alloc_free_page()
/linux-6.1.9/arch/s390/kvm/
Dpv.c174 if (mmget_not_zero(kvm->mm)) { in kvm_s390_pv_deinit_vm()
/linux-6.1.9/drivers/misc/ocxl/
Dlink.c249 if (mmget_not_zero(pe_data->mm)) { in xsl_fault_handler()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_migrate.c902 if (!mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_migrate_to_ram()
Dkfd_svm.c2402 if (!mmget_not_zero(mni->mm)) in svm_range_cpu_invalidate_pagetables()
3330 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_evict_svm_bo_worker()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_svm.c828 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
/linux-6.1.9/kernel/events/
Duprobes.c992 if (!mmget_not_zero(vma->vm_mm)) in build_map_info()
/linux-6.1.9/Documentation/mm/
Dhmm.rst189 if (!mmget_not_zero(interval_sub->notifier.mm))
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c678 if (!mmget_not_zero(mm)) /* Happens during process shutdown */ in amdgpu_ttm_tt_get_user_pages()
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_core.c1561 if (mmget_not_zero(mm)) in vfio_pci_zap_and_vma_lock()
/linux-6.1.9/mm/
Dswapfile.c2062 if (!mmget_not_zero(mm)) in try_to_unuse()
Dvmscan.c3441 return !mmget_not_zero(mm); in should_skip_mm()