Lines Matching refs:lock
51 #define KSYN_MLWAIT 301 /* mutex lock wait syscall */
88 /* Internal routine to handle pthread mutex lock operation. This is in the PFZ.
103 /* lock is available (if we act fast) */
106 lock
107 cmpxchgl %edx,PTHRW_LVAL(%edi) // try to acquire lock for real
131 lock
132 cmpxchgl %edx,PTHRW_LVAL(%edi) // try to update lock status atomically
166 /* Internal routine to handle pthread mutex lock operation. This is in the PFZ.
181 testl %eax,%ecx // can we acquire the lock?
184 /* lock is available (if we act fast) */
187 lock
188 cmpxchgl %r11d,PTHRW_LVAL(%rdi) // try to acquire lock
208 lock
209 cmpxchgl %r11d,PTHRW_LVAL(%rdi) // try to update lock status atomically