Searched refs:mmget_not_zero (Results 1 – 25 of 25) sorted by relevance
56 return mmget_not_zero(mm); in __mmget_not_zero()
880 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()
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()
828 ret = mmget_not_zero(mm); in uverbs_user_mmap_disassociate()
344 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()
914 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()
120 if (!mmget_not_zero(encl_mm->mm)) in sgx_reclaimer_age()
103 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() function
150 if (!mmget_not_zero(interval_sub->notifier.mm))
208 if (!mm || !mmget_not_zero(mm)) in m_start()
156 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()
854 if (!mmget_not_zero(mm)) in mem_rw()959 if (!mmget_not_zero(mm)) in environ_read()
203 if (!mmget_not_zero(ctx->mm)) in get_mem_context()
211 if (need_mm && mmget_not_zero(alloc->mm)) in binder_update_page_range()1010 if (!mmget_not_zero(mm)) in binder_alloc_free_page()
174 if (mmget_not_zero(kvm->mm)) { in kvm_s390_pv_deinit_vm()
249 if (mmget_not_zero(pe_data->mm)) { in xsl_fault_handler()
902 if (!mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_migrate_to_ram()
2402 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()
828 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
992 if (!mmget_not_zero(vma->vm_mm)) in build_map_info()
189 if (!mmget_not_zero(interval_sub->notifier.mm))
678 if (!mmget_not_zero(mm)) /* Happens during process shutdown */ in amdgpu_ttm_tt_get_user_pages()
1561 if (mmget_not_zero(mm)) in vfio_pci_zap_and_vma_lock()
2062 if (!mmget_not_zero(mm)) in try_to_unuse()
3441 return !mmget_not_zero(mm); in should_skip_mm()