Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/arch/cris/include/asm/
Dmmu_context.h9 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
14 #define activate_mm(prev,next) switch_mm((prev),(next),NULL)
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/powerpc/include/asm/
Dmmu_context.h42 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
98 switch_mm(prev, next, current); in activate_mm()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/arm64/include/asm/
Dmmu_context.h192 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
211 #define activate_mm(prev,next) switch_mm(prev, next, NULL)
/linux-4.1.27/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.1.27/arch/x86/include/asm/
Dmmu_context.h95 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
194 switch_mm((prev), (next), NULL); \
/linux-4.1.27/arch/s390/include/asm/
Dmmu_context.h69 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
114 switch_mm(prev, next, current); in activate_mm()
/linux-4.1.27/include/asm-generic/
Dmmu_context.h34 static inline void switch_mm(struct mm_struct *prev, in switch_mm() function
/linux-4.1.27/arch/nios2/include/asm/
Dmmu_context.h52 void switch_mm(struct mm_struct *prev, struct mm_struct *next,
/linux-4.1.27/arch/frv/include/asm/
Dmmu_context.h35 #define switch_mm(prev, next, tsk) \ macro
/linux-4.1.27/mm/
Dmmu_context.c32 switch_mm(active_mm, mm, tsk); in use_mm()
/linux-4.1.27/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.1.27/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.1.27/arch/nios2/mm/
Dmmu_context.c80 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.1.27/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.1.27/arch/openrisc/mm/
Dtlb.c143 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.1.27/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.1.27/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.1.27/arch/cris/arch-v32/mm/
Dtlb.c179 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.1.27/arch/cris/arch-v10/mm/
Dtlb.c151 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
/linux-4.1.27/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.1.27/drivers/gpu/drm/i915/
Di915_gem_gtt.h331 int (*switch_mm)(struct i915_hw_ppgtt *ppgtt, member
Di915_gem_context.c675 ret = to->ppgtt->switch_mm(to->ppgtt, ring); in do_switch()
734 ret = to->ppgtt->switch_mm(to->ppgtt, ring); in do_switch()
Di915_gem_gtt.c832 ppgtt->switch_mm = gen8_mm_switch; in gen8_ppgtt_init()
1376 ppgtt->switch_mm = gen6_mm_switch; in gen6_ppgtt_init()
1378 ppgtt->switch_mm = hsw_mm_switch; in gen6_ppgtt_init()
1380 ppgtt->switch_mm = gen7_mm_switch; in gen6_ppgtt_init()
1385 ppgtt->switch_mm = vgpu_mm_switch; in gen6_ppgtt_init()
1489 ret = ppgtt->switch_mm(ppgtt, ring); in i915_ppgtt_init_hw()
Di915_trace.h786 TRACE_EVENT(switch_mm,
/linux-4.1.27/arch/sparc/mm/
Dsrmmu.c460 void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, in switch_mm() function
/linux-4.1.27/kernel/sched/
Dcore.c2321 switch_mm(oldmm, mm, next); in context_switch()
4959 switch_mm(mm, &init_mm, current); in idle_task_exit()