Lines Matching refs:scratch_reg
134 .macro SWITCH_TO_USER_CR3 scratch_reg:req
137 movl %cr3, \scratch_reg
138 orl $PTI_SWITCH_MASK, \scratch_reg
139 movl \scratch_reg, %cr3
163 * \scratch_reg
165 .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req
167 movl %cr3, \scratch_reg
169 testl $PTI_SWITCH_MASK, \scratch_reg
171 andl $(~PTI_SWITCH_MASK), \scratch_reg
172 movl \scratch_reg, %cr3
173 /* Return original CR3 in \scratch_reg */
174 orl $PTI_SWITCH_MASK, \scratch_reg
331 SWITCH_TO_KERNEL_CR3 scratch_reg=\cr3_reg
454 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
694 SWITCH_TO_USER_CR3 scratch_reg=%eax
910 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
989 SWITCH_TO_USER_CR3 scratch_reg=%eax
1066 SWITCH_TO_USER_CR3 scratch_reg=%eax
1093 SWITCH_TO_USER_CR3 scratch_reg=%eax