/linux-master/drivers/nvme/host/ |
H A D | pci.c | 19 #include <linux/mm.h>
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_vm.c | 19 #include <linux/mm.h> 74 bool in_kthread = !current->mm; 104 if (!mmget_not_zero(userptr->notifier.mm)) { 108 kthread_use_mm(userptr->notifier.mm); 125 kthread_unuse_mm(userptr->notifier.mm); 126 mmput(userptr->notifier.mm); 934 current->mm, 3362 struct mm_struct *mm; member in struct:xe_vm_snapshot::__anon39 3402 struct mm_struct *mm = local 3403 to_userptr_vma(vma)->userptr.notifier.mm; [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
H A D | dcn20_resource.c | 130 .reg_name = BASE(mm ## reg_name ## _BASE_IDX) + \ 131 mm ## reg_name 134 .reg_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 135 mm ## block ## id ## _ ## reg_name 138 .reg_name = BASE(mm ## reg_name ## _BASE_IDX) + \ 139 mm ## reg_name 147 .var_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 148 mm ## block ## id ## _ ## reg_name 151 .reg_name[id] = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 152 mm ## bloc [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
H A D | dcn32_clk_mgr.c | 100 .reg_name = mm ## reg_name 116 .reg_name = mm ## block ## _ ## reg_name
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 27 #include <linux/sched/mm.h> 104 struct mm_struct *mm; local 184 mm = get_task_mm(pdd->process->lead_thread); 185 if (!mm) 188 kthread_use_mm(mm); 202 kthread_unuse_mm(mm); 203 mmput(mm); 805 if (!(thread->mm && mmget_not_zero(thread->mm))) 809 if (thread->group_leader->mm ! 902 find_process_by_mm(const struct mm_struct *mm) argument 1161 kfd_process_alloc_notifier(struct mm_struct *mm) argument 1216 kfd_process_notifier_release(struct mmu_notifier *mn, struct mm_struct *mm) argument 1808 kfd_lookup_process_by_mm(const struct mm_struct *mm) argument 2158 struct mm_struct *mm; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 37 #include <linux/sched/mm.h> 677 struct mm_struct *mm; local 684 mm = bo->notifier.mm; 685 if (unlikely(!mm)) { 690 if (!mmget_not_zero(mm)) /* Happens during process shutdown */ 693 mmap_read_lock(mm); 694 vma = vma_lookup(mm, start); 709 mmap_read_unlock(mm); 713 mmput(mm); [all...] |
H A D | amdgpu_amdkfd_gpuvm.c | 26 #include <linux/sched/mm.h> 1387 current->mm, 2484 r = kgd2kfd_quiesce_mm(mni->mm, 2504 struct mm_struct *mm) 2751 struct mm_struct *mm; local 2760 /* Reference task and mm in case of concurrent process termination */ 2764 mm = get_task_mm(usertask); 2765 if (!mm) { 2772 if (update_invalid_user_pages(process_info, mm)) 2798 if (kgd2kfd_resume_mm(mm)) { 2503 update_invalid_user_pages(struct amdkfd_process_info *process_info, struct mm_struct *mm) argument [all...] |
/linux-master/drivers/firewire/ |
H A D | ohci.c | 21 #include <linux/mm.h>
|
/linux-master/drivers/block/ |
H A D | ublk_drv.c | 36 #include <linux/sched/mm.h> 42 #include <linux/mm.h> 174 struct mm_struct *mm; member in struct:ublk_device 1308 if (!ub->mm) 1309 ub->mm = current->mm; 1310 if (current->mm != ub->mm) 2686 ub->mm = NULL;
|
/linux-master/arch/xtensa/platforms/iss/ |
H A D | console.c | 17 #include <linux/mm.h>
|
/linux-master/arch/xtensa/kernel/ |
H A D | process.c | 24 #include <linux/mm.h>
|
/linux-master/arch/xtensa/include/asm/ |
H A D | cacheflush.h | 12 #include <linux/mm.h> 120 #define flush_cache_mm(mm) flush_cache_all() 121 #define flush_cache_dup_mm(mm) flush_cache_mm(mm)
|
/linux-master/arch/s390/mm/ |
H A D | hugetlbpage.c | 13 #include <linux/mm.h> 16 #include <linux/sched/mm.h> 122 static void clear_huge_pte_skeys(struct mm_struct *mm, unsigned long rste) argument 127 if (!mm_uses_skeys(mm) || 145 void __set_huge_pte_at(struct mm_struct *mm, unsigned long addr, argument 162 clear_huge_pte_skeys(mm, rste); 166 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, argument 169 __set_huge_pte_at(mm, addr, ptep, pte); 177 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, argument 185 pudp_xchg_direct(mm, add 191 huge_pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long addr, unsigned long sz) argument 213 huge_pte_offset(struct mm_struct *mm, unsigned long addr, unsigned long sz) argument 309 struct mm_struct *mm = current->mm; local [all...] |
H A D | gmap.c | 103 * @mm: pointer to the parent mm_struct 108 struct gmap *gmap_create(struct mm_struct *mm, unsigned long limit) argument 116 gmap->mm = mm; 117 spin_lock(&mm->context.lock); 118 list_add_rcu(&gmap->list, &mm->context.gmap_list); 119 if (list_is_singular(&mm->context.gmap_list)) 123 WRITE_ONCE(mm->context.gmap_asce, gmap_asce); 124 spin_unlock(&mm->context.lock); 266 /* Remove gmap from the pre-mm lis 523 gmap_unlink(struct mm_struct *mm, unsigned long *table, unsigned long vmaddr) argument 554 struct mm_struct *mm; local 895 struct mm_struct *mm = gmap->mm; local 2267 ptep_notify(struct mm_struct *mm, unsigned long vmaddr, pte_t *pte, unsigned long bits) argument 2334 gmap_pmdp_clear(struct mm_struct *mm, unsigned long vmaddr, int purge) argument 2366 gmap_pmdp_invalidate(struct mm_struct *mm, unsigned long vmaddr) argument 2377 gmap_pmdp_csp(struct mm_struct *mm, unsigned long vmaddr) argument 2388 gmap_pmdp_idte_local(struct mm_struct *mm, unsigned long vmaddr) argument 2423 gmap_pmdp_idte_global(struct mm_struct *mm, unsigned long vmaddr) argument 2535 thp_split_mm(struct mm_struct *mm) argument 2547 thp_split_mm(struct mm_struct *mm) argument 2592 struct mm_struct *mm = current->mm; local 2680 struct mm_struct *mm = current->mm; local 2716 s390_reset_cmma(struct mm_struct *mm) argument 2785 __s390_uv_destroy_range(struct mm_struct *mm, unsigned long start, unsigned long end, bool interruptible) argument [all...] |
/linux-master/net/sunrpc/ |
H A D | xprtsock.c | 32 #include <linux/mm.h> 56 #include <linux/sched/mm.h>
|
/linux-master/fs/nfs/ |
H A D | inode.c | 22 #include <linux/mm.h>
|
/linux-master/drivers/scsi/ |
H A D | sd.c | 39 #include <linux/mm.h>
|
/linux-master/kernel/sched/ |
H A D | fair.c | 1426 rss = get_mm_rss(p->mm); 2635 p->mm->numa_next_scan = jiffies + 2816 * The p->mm->numa_scan_seq field gets updated without 2820 seq = READ_ONCE(p->mm->numa_scan_seq); 2990 if (tsk->mm == current->mm) 3089 /* for example, ksmd faulting in a user's mm */ 3090 if (!p->mm) 3162 * p->mm->numa_scan_seq is written to without exclusive access 3168 WRITE_ONCE(p->mm 3172 vma_is_accessed(struct mm_struct *mm, struct vm_area_struct *vma) argument 3210 struct mm_struct *mm = p->mm; local 3451 struct mm_struct *mm = p->mm; local [all...] |
/linux-master/kernel/ |
H A D | profile.c | 22 #include <linux/mm.h>
|
H A D | cpu.c | 6 #include <linux/sched/mm.h> 895 struct mm_struct *mm = idle->active_mm; local 901 if (mm != &init_mm) 903 mmdrop_lazy_tlb(mm); 1259 #define arch_clear_mm_cpumask_cpu(cpu, mm) cpumask_clear_cpu(cpu, mm_cpumask(mm)) 1266 * This function walks all processes, finds a valid mm struct for each one and 1267 * then clears a corresponding bit in mm's cpumask. While this all sounds 1281 * their mm mask. -- Peter Zijlstra 1292 * a valid mm [all...] |
/linux-master/fs/erofs/ |
H A D | internal.h | 13 #include <linux/mm.h>
|
/linux-master/drivers/irqchip/ |
H A D | irq-gic-v3-its.c | 22 #include <linux/mm.h>
|
/linux-master/drivers/dma/ |
H A D | owl-dma.c | 21 #include <linux/mm.h>
|
/linux-master/drivers/dma/idxd/ |
H A D | irq.c | 11 #include <linux/sched/mm.h>
|
H A D | cdev.c | 46 struct mm_struct *mm; member in struct:idxd_user_context 254 sva = iommu_sva_bind_device(dev, current->mm); 269 ctx->mm = current->mm; 652 struct mm_struct *mm; local 662 mm = ctx->mm; 665 * thread context. It temporarily switches to the mm to copy cr 666 * to addr in the mm. 668 kthread_use_mm(mm); [all...] |