Lines Matching refs:scratch_reg
57 .macro SWITCH_TO_USER_CR3 scratch_reg:req
60 movl %cr3, \scratch_reg
61 orl $PTI_SWITCH_MASK, \scratch_reg
62 movl \scratch_reg, %cr3
88 .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req
90 movl %cr3, \scratch_reg
92 testl $PTI_SWITCH_MASK, \scratch_reg
94 andl $(~PTI_SWITCH_MASK), \scratch_reg
95 movl \scratch_reg, %cr3
97 orl $PTI_SWITCH_MASK, \scratch_reg
251 SWITCH_TO_KERNEL_CR3 scratch_reg=\cr3_reg
370 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
610 SWITCH_TO_USER_CR3 scratch_reg=%eax
826 SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
904 SWITCH_TO_USER_CR3 scratch_reg=%eax
978 SWITCH_TO_USER_CR3 scratch_reg=%eax
1004 SWITCH_TO_USER_CR3 scratch_reg=%eax