Home
last modified time | relevance | path

Searched refs:switch_mm (Results 1 – 45 of 45) sorted by relevance

/linux-4.4.14/arch/sparc/include/asm/
Dmmu_context_32.h25 void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm,
31 #define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL)
Dmmu_context_64.h74 static inline void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *ts… in switch_mm() function
/linux-4.4.14/arch/openrisc/include/asm/
Dmmu_context.h26 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
31 #define activate_mm(prev, next) switch_mm((prev), (next), NULL)
/linux-4.4.14/arch/cris/include/asm/
Dmmu_context.h9 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
19 switch_mm(prev, next, NULL); in activate_mm()
/linux-4.4.14/arch/m32r/include/asm/
Dmmu_context.h121 static inline void switch_mm(struct mm_struct *prev, in switch_mm() function
146 switch_mm((prev), (next), NULL)
155 #define switch_mm(prev,next,tsk) do { } while (0) macro
/linux-4.4.14/arch/hexagon/include/asm/
Dmmu_context.h66 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
93 switch_mm(prev, next, current_thread_info()->task); in activate_mm()
/linux-4.4.14/arch/arm64/include/asm/
Dmmu_context.h127 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
148 #define activate_mm(prev,next) switch_mm(prev, next, NULL)
/linux-4.4.14/arch/parisc/include/asm/
Dmmu_context.h52 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() function
78 switch_mm(prev,next,current); in activate_mm()
/linux-4.4.14/arch/unicore32/include/asm/
Dmmu_context.h49 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
59 #define activate_mm(prev, next) switch_mm(prev, next, NULL)
/linux-4.4.14/arch/m68k/include/asm/
Dmmu_context.h73 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
196 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
282 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() function
315 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() function
/linux-4.4.14/arch/tile/include/asm/
Dmmu_context.h91 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
129 switch_mm(prev_mm, next_mm, NULL); in activate_mm()
/linux-4.4.14/arch/alpha/include/asm/
Dmmu_context.h216 # define switch_mm(a,b,c) alpha_mv.mv_switch_mm((a),(b),(c)) macro
220 # define switch_mm(a,b,c) ev4_switch_mm((a),(b),(c)) macro
223 # define switch_mm(a,b,c) ev5_switch_mm((a),(b),(c)) macro
/linux-4.4.14/arch/arc/include/asm/
Dmmu_context.h131 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
164 #define activate_mm(prev, next) switch_mm(prev, next, NULL)
/linux-4.4.14/arch/avr32/include/asm/
Dmmu_context.h108 static inline void switch_mm(struct mm_struct *prev, in switch_mm() function
122 #define activate_mm(prev, next) switch_mm((prev), (next), NULL)
/linux-4.4.14/arch/blackfin/include/asm/
Dmmu_context.h71 #define activate_mm(prev, next) switch_mm(prev, next, NULL)
111 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
160 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/arm/include/asm/
Dmmu_context.h93 #define activate_mm(prev,next) switch_mm(prev, next, NULL)
116 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
Dproc-fns.h63 void (*switch_mm)(phys_addr_t pgd_phys, struct mm_struct *mm); member
103 #define cpu_do_switch_mm processor.switch_mm
/linux-4.4.14/arch/mn10300/include/asm/
Dmmu_context.h143 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
159 #define activate_mm(prev, next) switch_mm((prev), (next), NULL)
/linux-4.4.14/arch/xtensa/include/asm/
Dmmu_context.h123 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
137 #define activate_mm(prev, next) switch_mm((prev), (next), NULL)
Dnommu_context.h22 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/powerpc/include/asm/
Dmmu_context.h59 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
115 switch_mm(prev, next, current); in activate_mm()
/linux-4.4.14/arch/sh/include/asm/
Dmmu_context.h118 static inline void switch_mm(struct mm_struct *prev, in switch_mm() function
133 #define activate_mm(prev, next) switch_mm((prev),(next),NULL)
/linux-4.4.14/arch/x86/include/asm/
Dmmu_context.h107 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
208 switch_mm((prev), (next), NULL); \
/linux-4.4.14/arch/s390/include/asm/
Dmmu_context.h85 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
130 switch_mm(prev, next, current); in activate_mm()
/linux-4.4.14/include/asm-generic/
Dmmu_context.h34 static inline void switch_mm(struct mm_struct *prev, in switch_mm() function
/linux-4.4.14/arch/nios2/include/asm/
Dmmu_context.h52 void switch_mm(struct mm_struct *prev, struct mm_struct *next,
/linux-4.4.14/mm/
Dmmu_context.c32 switch_mm(active_mm, mm, tsk); in use_mm()
/linux-4.4.14/arch/frv/include/asm/
Dmmu_context.h35 #define switch_mm(prev, next, tsk) \ macro
/linux-4.4.14/arch/um/include/asm/
Dmmu_context.h50 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/score/include/asm/
Dmmu_context.h72 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/nios2/mm/
Dmmu_context.c80 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/microblaze/include/asm/
Dmmu_context_mm.h117 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/openrisc/mm/
Dtlb.c143 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/metag/include/asm/
Dmmu_context.h98 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/cris/arch-v10/mm/
Dtlb.c151 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/cris/arch-v32/mm/
Dtlb.c179 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/ia64/include/asm/
Dmmu_context.h195 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) macro
/linux-4.4.14/arch/mips/include/asm/
Dmmu_context.h139 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.4.14/arch/arm64/kernel/
Defi.c342 switch_mm(NULL, mm, NULL); in efi_set_pgd()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_context.c689 ret = to->ppgtt->switch_mm(to->ppgtt, req); in do_switch()
740 ret = to->ppgtt->switch_mm(to->ppgtt, req); in do_switch()
Di915_gem_gtt.c1528 ppgtt->switch_mm = gen8_48b_mm_switch; in gen8_ppgtt_init()
1535 ppgtt->switch_mm = gen8_legacy_mm_switch; in gen8_ppgtt_init()
2069 ppgtt->switch_mm = gen6_mm_switch; in gen6_ppgtt_init()
2071 ppgtt->switch_mm = hsw_mm_switch; in gen6_ppgtt_init()
2073 ppgtt->switch_mm = gen7_mm_switch; in gen6_ppgtt_init()
2078 ppgtt->switch_mm = vgpu_mm_switch; in gen6_ppgtt_init()
2182 return ppgtt->switch_mm(ppgtt, req); in i915_ppgtt_init_ring()
Di915_gem_gtt.h382 int (*switch_mm)(struct i915_hw_ppgtt *ppgtt, member
Di915_trace.h790 TRACE_EVENT(switch_mm,
/linux-4.4.14/arch/sparc/mm/
Dsrmmu.c460 void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, in switch_mm() function
/linux-4.4.14/kernel/sched/
Dcore.c2687 switch_mm(oldmm, mm, next); in context_switch()
5183 switch_mm(mm, &init_mm, current); in idle_task_exit()