Lines Matching refs:scr2
116 #define TRACE_PTR(ptr, scr1, scr1_32, scr2, marker) \
123 leaq trap_trace_ctl(%rip), scr2; \
124 addq scr2, scr1; \
126 leaq TRAP_ENT_SIZE(ptr), scr2; \
127 cmpq TRAPTR_LIMIT(scr1), scr2; \
129 movq TRAPTR_FIRST(scr1), scr2; \
130 8: movq scr2, TRAPTR_NEXT(scr1); \
135 #define TRACE_PTR(ptr, scr1, scr1_32, scr2, marker) \
144 leal TRAP_ENT_SIZE(ptr), scr2; \
145 cmpl TRAPTR_LIMIT(scr1), scr2; \
147 movl TRAPTR_FIRST(scr1), scr2; \
148 8: movl scr2, TRAPTR_NEXT(scr1); \
173 #define TRACE_REGS(ptr, reg, scr1, scr2) \
176 9: movq (reg, scr1, 1), scr2; \
177 movq scr2, (ptr, scr1, 1); \
181 movq %gs:CPU_THREAD, scr2; \
182 movq scr2, TTR_CURTHREAD(ptr); \
183 __GETCR2(movq, scr2); \
184 movq scr2, TTR_CR2(ptr)
188 #define TRACE_REGS(ptr, reg, scr1, scr2) \
191 9: movl (reg, scr1, 1), scr2; \
192 movl scr2, (ptr, scr1, 1); \
196 movl %gs:CPU_THREAD, scr2; \
197 movl scr2, TTR_CURTHREAD(ptr); \
198 __GETCR2(movl, scr2); \
199 movl scr2, TTR_CR2(ptr)
275 #define TRACE_PTR(ptr, scr1, scr1_32, scr2, marker)
276 #define TRACE_REGS(ptr, reg, scr1, scr2)