Lines Matching defs:LMTX_C_REG
1138 #define LMTX_C_REG %ecx
1237 #define LMTX_C_REG %rcx
1366 mov M_OWNER(LMTX_REG), LMTX_C_REG /* Load owner */
1369 cmp LMTX_A_REG, LMTX_C_REG /* Current thread match? */
1376 cmp LMTX_A_REG, LMTX_C_REG /* Current thread match? */
1429 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1498 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1598 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1653 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1654 or $(M_ILOCKED_MSK | M_SPIN_MSK), LMTX_C_REG
1716 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1842 test $(M_ILOCKED_MSK), LMTX_C_REG /* have to wait for interlock to clear */
1845 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1857 mov LMTX_C_REG, LMTX_A_REG /* keep original state in %ecx for later evaluation */
1878 LMTX_CALLEXT2(lck_mtx_unlock_wakeup_x86, LMTX_C_REG)
1916 mov %gs:CPU_ACTIVE_THREAD, LMTX_C_REG
1917 CHECK_UNLOCK(LMTX_C_REG, LMTX_A_REG)
1942 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1979 test $(M_ILOCKED_MSK), LMTX_C_REG /* have to wait for interlock to clear */
1983 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */