Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dmm.rs141 pub fn mmget_not_zero(&self) -> Option<ARef<MmWithUser>> { in mmget_not_zero() method
143 let success = unsafe { bindings::mmget_not_zero(self.as_raw()) }; in mmget_not_zero()
/linux/rust/helpers/
H A Dmm.c23 return mmget_not_zero(mm); in rust_helper_mmget_not_zero()
/linux/drivers/infiniband/core/
H A Dumem_odp.c200 if (!mmget_not_zero(umem->owning_mm)) { in ib_umem_odp_alloc_child()
348 if (!owning_process || !mmget_not_zero(owning_mm)) { in ib_umem_odp_map_dma_and_lock()
/linux/drivers/gpu/drm/
H A Ddrm_gpusvm.c984 if (!mmget_not_zero(mm)) in drm_gpusvm_find_vma_start()
1035 if (!mmget_not_zero(mm)) in drm_gpusvm_range_find_or_insert()
1424 if (!mmget_not_zero(mm)) { in drm_gpusvm_get_pages()
1692 if (!mmget_not_zero(mm)) in drm_gpusvm_range_evict()
H A Ddrm_pagemap.c1027 if (!mmget_not_zero(devmem_allocation->mm)) in drm_pagemap_evict_to_ram()
1354 if (!mmget_not_zero(mm)) in drm_pagemap_populate_mm()
/linux/virt/kvm/
H A Dasync_pf.c65 if (mmget_not_zero(mm)) { in async_pf_execute()
/linux/drivers/android/binder/
H A Dpage_range.rs440 let mm = MmWithUser::into_mmput_async(self.mm.mmget_not_zero().ok_or(ESRCH)?); in use_page_slow()
721 mm = match range.mm.mmget_not_zero() { in rust_shrink_free_page()
/linux/include/linux/sched/
H A Dmm.h136 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() function
/linux/fs/proc/
H A Dtask_nommu.c208 if (!mm || !mmget_not_zero(mm)) { in m_start()
H A Dbase.c916 if (!mmget_not_zero(mm)) in mem_rw()
1024 if (!mmget_not_zero(mm)) in environ_read()
/linux/drivers/iommu/
H A Diommu-sva.c234 if (!mmget_not_zero(mm)) in iommu_sva_handle_mm()
/linux/drivers/gpu/drm/xe/
H A Dxe_sync.c81 if (mmget_not_zero(ufence->mm)) { in user_fence_worker()
H A Dxe_vm.c4484 if (mmget_not_zero(mm)) in xe_vm_snapshot_capture()
/linux/drivers/accel/amdxdna/
H A Daie2_ctx.c351 if (!mmget_not_zero(job->mm)) in aie2_sched_job_run()
985 if (!mmget_not_zero(mm)) { in aie2_populate_range()
/linux/drivers/misc/ocxl/
H A Dlink.c249 if (mmget_not_zero(pe_data->mm)) { in xsl_fault_handler()
/linux/arch/x86/kernel/cpu/sgx/
H A Dmain.c124 if (!mmget_not_zero(encl_mm->mm)) in sgx_reclaimer_age()
/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim.c180 if (!mmget_not_zero(mm)) in vdpasim_work_fn()
/linux/arch/s390/kvm/
H A Dpv.c604 if (need_zap && mmget_not_zero(kvm->mm)) { in kvm_s390_pv_deinit_cleanup_all()
H A Dinterrupt.c2742 if (mmget_not_zero(mm)) { in get_map_page()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_svm.c825 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c410 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_bo_release()
2496 if (mmget_not_zero(mm)) { in svm_range_add_list_work()
3653 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_evict_svm_bo_worker()
/linux/mm/
H A Duserfaultfd.c2213 if (!mmget_not_zero(mm)) in userfaultfd_release_all()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c742 if (!mmget_not_zero(mm)) /* Happens during process shutdown */ in amdgpu_ttm_tt_get_user_pages()