Lines Matching refs:orig_mm
86 struct mm_struct *orig_mm = current->active_mm; in start_using_temp_mm() local
89 switch_mm_irqs_off(orig_mm, temp_mm, current); in start_using_temp_mm()
94 return orig_mm; in start_using_temp_mm()
98 struct mm_struct *orig_mm) in stop_using_temp_mm() argument
101 switch_mm_irqs_off(temp_mm, orig_mm, current); in stop_using_temp_mm()
289 struct mm_struct *orig_mm; in __do_patch_mem_mm() local
308 orig_mm = start_using_temp_mm(patching_mm); in __do_patch_mem_mm()
313 stop_using_temp_mm(patching_mm, orig_mm); in __do_patch_mem_mm()
470 struct mm_struct *patching_mm, *orig_mm; in __do_patch_instructions_mm() local
494 orig_mm = start_using_temp_mm(patching_mm); in __do_patch_instructions_mm()
499 stop_using_temp_mm(patching_mm, orig_mm); in __do_patch_instructions_mm()