| /linux/rust/kernel/ |
| H A D | mm.rs | 141 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 D | mm.c | 23 return mmget_not_zero(mm); in rust_helper_mmget_not_zero()
|
| /linux/drivers/infiniband/core/ |
| H A D | umem_odp.c | 200 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 D | drm_gpusvm.c | 984 if (!mmget_not_zero(mm)) in drm_gpusvm_find_vma_start() 1035 if (!mmget_not_zero(mm)) in drm_gpusvm_range_find_or_insert() 1436 if (!mmget_not_zero(mm)) { in drm_gpusvm_get_pages() 1731 if (!mmget_not_zero(mm)) in drm_gpusvm_has_mapping()
|
| H A D | drm_pagemap.c | 1124 if (!mmget_not_zero(devmem_allocation->mm)) in __drm_pagemap_migrate_to_ram() 1454 if (!mmget_not_zero(mm))
|
| /linux/virt/kvm/ |
| H A D | async_pf.c | 65 if (mmget_not_zero(mm)) { in async_pf_execute()
|
| /linux/drivers/android/binder/ |
| H A D | page_range.rs | 440 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 D | mm.h | 136 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero() function
|
| /linux/fs/proc/ |
| H A D | task_nommu.c | 208 if (!mm || !mmget_not_zero(mm)) { in m_start()
|
| H A D | base.c | 897 if (!mmget_not_zero(mm)) in proc_mem_foll_force() 1005 if (!mmget_not_zero(mm))
|
| /linux/drivers/iommu/ |
| H A D | iommu-sva.c | 234 if (!mmget_not_zero(mm)) in iommu_sva_handle_mm()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_sync.c | 81 if (mmget_not_zero(ufence->mm)) { in user_fence_worker() 88 drm_dbg(&ufence->xe->drm, "mmget_not_zero() failed, ufence wasn't signaled\n"); in user_fence_worker()
|
| H A D | xe_vm.c | 4516 if (mmget_not_zero(mm)) in xe_vm_snapshot_capture()
|
| /linux/drivers/accel/amdxdna/ |
| H A D | aie2_ctx.c | 385 if (!mmget_not_zero(job->mm)) in aie2_sched_job_run() 1029 if (!mmget_not_zero(mm)) { in aie2_cmd_submit()
|
| /linux/drivers/misc/ocxl/ |
| H A D | link.c | 249 if (mmget_not_zero(pe_data->mm)) { in xsl_fault_handler()
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| H A D | main.c | 127 if (!mmget_not_zero(encl_mm->mm)) in sgx_reclaimer_age()
|
| /linux/drivers/vdpa/vdpa_sim/ |
| H A D | vdpa_sim.c | 180 if (!mmget_not_zero(mm)) in vdpasim_work_fn()
|
| /linux/arch/s390/kvm/ |
| H A D | pv.c | 623 if (need_zap && mmget_not_zero(kvm->mm)) { in kvm_s390_pv_deinit_cleanup_all()
|
| H A D | interrupt.c | 2483 if (mmget_not_zero(mm)) { in modify_io_adapter()
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_svm.c | 825 if (!mmget_not_zero(mm)) { in nouveau_svm_fault()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_svm.c | 410 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 D | userfaultfd.c | 2295 if (!mmget_not_zero(mm)) in userfaultfd_release_all() 3622 if (!mmget_not_zero(mm)) 3770 if (!mmget_not_zero(mm)) 3950 if (mmget_not_zero(ctx->mm)) { 4004 if (mmget_not_zero(ctx->mm)) { 4060 if (mmget_not_zero(ctx->mm)) { 4114 if (mmget_not_zero(ctx->mm)) { 4171 if (mmget_not_zero(ctx->mm)) { 4250 if (mmget_not_zero(mm)) {
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 742 if (!mmget_not_zero(mm)) /* Happens during process shutdown */ in amdgpu_ttm_tt_get_user_pages()
|