Lines Matching refs:HW_LOCK_REGISTER
333 #define HW_LOCK_REGISTER %edx
334 #define LOAD_HW_LOCK_REGISTER mov L_ARG0, HW_LOCK_REGISTER
340 #define HW_LOCK_REGISTER %rdi
357 HW_LOCK_MOV_WORD $0, (HW_LOCK_REGISTER) /* clear the lock */
368 movb $0, (HW_LOCK_REGISTER) /* clear the lock */
383 mov (HW_LOCK_REGISTER), HW_LOCK_EXAM_REGISTER
386 lock; cmpxchg HW_LOCK_THREAD_REGISTER,(HW_LOCK_REGISTER) /* try to acquire the HW lock */
406 movb (HW_LOCK_REGISTER), %al /* Load byte at address */
409 lock; cmpxchg %cl,(HW_LOCK_REGISTER) /* attempt atomic compare exchange */
433 mov (HW_LOCK_REGISTER), HW_LOCK_EXAM_REGISTER
436 lock; cmpxchg HW_LOCK_THREAD_REGISTER,(HW_LOCK_REGISTER) /* try to acquire the HW lock */
481 mov (HW_LOCK_REGISTER),HW_LOCK_EXAM_REGISTER /* spin checking lock value in cache */
524 lock; cmpxchg HW_LOCK_THREAD_REGISTER,(HW_LOCK_REGISTER) /* try to acquire the HW lock */
543 HW_LOCK_MOV_WORD $0, (HW_LOCK_REGISTER) /* clear the lock */
556 movb $0, (HW_LOCK_REGISTER) /* Clear the lock byte */
569 mov (HW_LOCK_REGISTER),HW_LOCK_EXAM_REGISTER
572 lock; cmpxchg HW_LOCK_THREAD_REGISTER,(HW_LOCK_REGISTER) /* try to acquire the HW lock */
590 mov (HW_LOCK_REGISTER),HW_LOCK_EXAM_REGISTER /* check lock value */