Lines Matching refs:LMTX_A_REG
1136 #define LMTX_A_REG %eax
1235 #define LMTX_A_REG %rax
1359 mov %gs:CPU_ACTIVE_THREAD, LMTX_A_REG /* Load current thread */
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 */
1437 mov %gs:CPU_ACTIVE_THREAD, LMTX_A_REG
1438 mov LMTX_A_REG, M_OWNER(LMTX_REG) /* record owner of interlock */
1440 test LMTX_A_REG, LMTX_A_REG
1442 incl TH_MUTEX_COUNT(LMTX_A_REG) /* lock statistic */
1498 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1506 mov %gs:CPU_ACTIVE_THREAD, LMTX_A_REG
1507 mov LMTX_A_REG, M_OWNER(LMTX_REG) /* record owner of mutex */
1509 test LMTX_A_REG, LMTX_A_REG
1511 incl TH_MUTEX_COUNT(LMTX_A_REG) /* lock statistic */
1598 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1611 mov %gs:CPU_ACTIVE_THREAD, LMTX_A_REG
1612 mov LMTX_A_REG, M_OWNER(LMTX_REG) /* record owner of mutex */
1614 test LMTX_A_REG, LMTX_A_REG
1616 incl TH_MUTEX_COUNT(LMTX_A_REG) /* lock statistic */
1623 mov M_OWNER(LMTX_REG), LMTX_A_REG
1624 mov TH_WAS_PROMOTED_ON_WAKEUP(LMTX_A_REG), LMTX_A_REG32
1653 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1661 mov %gs:CPU_ACTIVE_THREAD, LMTX_A_REG
1662 mov LMTX_A_REG, M_OWNER(LMTX_REG) /* record owner of mutex */
1664 test LMTX_A_REG, LMTX_A_REG
1666 incl TH_MUTEX_COUNT(LMTX_A_REG) /* lock statistic */
1716 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1724 mov %gs:CPU_ACTIVE_THREAD, LMTX_A_REG
1725 mov LMTX_A_REG, M_OWNER(LMTX_REG) /* record owner of mutex */
1727 test LMTX_A_REG, LMTX_A_REG
1729 incl TH_MUTEX_COUNT(LMTX_A_REG) /* lock statistic */
1822 mov M_OWNER(LMTX_REG), LMTX_A_REG
1823 test LMTX_A_REG, LMTX_A_REG
1845 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1855 xor LMTX_A_REG, LMTX_A_REG
1856 mov LMTX_A_REG, M_OWNER(LMTX_REG)
1857 mov LMTX_C_REG, LMTX_A_REG /* keep original state in %ecx for later evaluation */
1858 and $(~(M_ILOCKED_MSK | M_SPIN_MSK | M_PROMOTED_MSK)), LMTX_A_REG
1868 mov %gs:CPU_ACTIVE_THREAD, LMTX_A_REG
1869 test LMTX_A_REG, LMTX_A_REG
1871 decl TH_MUTEX_COUNT(LMTX_A_REG) /* lock statistic */
1915 mov M_OWNER(LMTX_REG), LMTX_A_REG
1917 CHECK_UNLOCK(LMTX_C_REG, LMTX_A_REG)
1942 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */
1950 mov %gs:CPU_ACTIVE_THREAD, LMTX_A_REG
1951 mov LMTX_A_REG, M_OWNER(LMTX_REG) /* record owner of mutex */
1953 test LMTX_A_REG, LMTX_A_REG
1955 incl TH_MUTEX_COUNT(LMTX_A_REG) /* lock statistic */
1983 mov LMTX_C_REG, LMTX_A_REG /* eax contains snapshot for cmpxchgl */