Home
last modified time | relevance | path

Searched refs:lockword64 (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/lib/libc/port/threads/
H A Dsynch.c319 clear_lockbyte64(volatile uint64_t *lockword64) in clear_lockbyte64() argument
325 old = *lockword64; in clear_lockbyte64()
327 } while (atomic_cas_64(lockword64, old, new) != old); in clear_lockbyte64()
355 set_lock_byte64(volatile uint64_t *lockword64, pid_t ownerpid) in set_lock_byte64() argument
360 old = *lockword64 & ~LOCKMASK64; in set_lock_byte64()
362 if (atomic_cas_64(lockword64, old, new) == old) in set_lock_byte64()