Lines Matching refs:scratch_reg
160 .macro SWITCH_TO_USER_CR3 scratch_reg:req
163 movl %cr3, \scratch_reg
164 orl $PTI_SWITCH_MASK, \scratch_reg
165 movl \scratch_reg, %cr3
191 .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req
193 movl %cr3, \scratch_reg
195 testl $PTI_SWITCH_MASK, \scratch_reg
197 andl $(~PTI_SWITCH_MASK), \scratch_reg
198 movl \scratch_reg, %cr3
200 orl $PTI_SWITCH_MASK, \scratch_reg
243 SWITCH_TO_KERNEL_CR3 scratch_reg=\cr3_reg
385 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
634 SWITCH_TO_USER_CR3 scratch_reg=%eax
837 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
923 SWITCH_TO_USER_CR3 scratch_reg=%eax
1007 SWITCH_TO_USER_CR3 scratch_reg=%eax
1041 SWITCH_TO_USER_CR3 scratch_reg=%eax