Lines Matching refs:scratch_reg
161 .macro SWITCH_TO_USER_CR3 scratch_reg:req
164 movl %cr3, \scratch_reg
165 orl $PTI_SWITCH_MASK, \scratch_reg
166 movl \scratch_reg, %cr3
192 .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req
194 movl %cr3, \scratch_reg
196 testl $PTI_SWITCH_MASK, \scratch_reg
198 andl $(~PTI_SWITCH_MASK), \scratch_reg
199 movl \scratch_reg, %cr3
201 orl $PTI_SWITCH_MASK, \scratch_reg
339 SWITCH_TO_KERNEL_CR3 scratch_reg=\cr3_reg
462 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
704 SWITCH_TO_USER_CR3 scratch_reg=%eax
897 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
985 SWITCH_TO_USER_CR3 scratch_reg=%eax
1071 SWITCH_TO_USER_CR3 scratch_reg=%eax
1115 SWITCH_TO_USER_CR3 scratch_reg=%eax