Searched refs:mm (Results 26 - 50 of 2900) sorted by last modified time

1234567891011>>

/linux-master/drivers/nvme/host/
H A Dpci.c19 #include <linux/mm.h>
/linux-master/drivers/gpu/drm/xe/
H A Dxe_vm.c19 #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 Ddcn20_resource.c130 .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 Ddcn32_clk_mgr.c100 .reg_name = mm ## reg_name
116 .reg_name = mm ## block ## _ ## reg_name
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c27 #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 Damdgpu_ttm.c37 #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 Damdgpu_amdkfd_gpuvm.c26 #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 Dohci.c21 #include <linux/mm.h>
/linux-master/drivers/block/
H A Dublk_drv.c36 #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 Dconsole.c17 #include <linux/mm.h>
/linux-master/arch/xtensa/kernel/
H A Dprocess.c24 #include <linux/mm.h>
/linux-master/arch/xtensa/include/asm/
H A Dcacheflush.h12 #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 Dhugetlbpage.c13 #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 Dgmap.c103 * @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 Dxprtsock.c32 #include <linux/mm.h>
56 #include <linux/sched/mm.h>
/linux-master/fs/nfs/
H A Dinode.c22 #include <linux/mm.h>
/linux-master/drivers/scsi/
H A Dsd.c39 #include <linux/mm.h>
/linux-master/kernel/sched/
H A Dfair.c1426 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 Dprofile.c22 #include <linux/mm.h>
H A Dcpu.c6 #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 Dinternal.h13 #include <linux/mm.h>
/linux-master/drivers/irqchip/
H A Dirq-gic-v3-its.c22 #include <linux/mm.h>
/linux-master/drivers/dma/
H A Dowl-dma.c21 #include <linux/mm.h>
/linux-master/drivers/dma/idxd/
H A Dirq.c11 #include <linux/sched/mm.h>
H A Dcdev.c46 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...]

Completed in 415 milliseconds

1234567891011>>