Searched refs:internal_lock (Results 1 – 1 of 1) sorted by relevance
124 struct lock_impl internal_lock; member127 #define SPIN_LOCK_UNLOCKED {.internal_lock = LOCK_IMPL_INITIALIZER}133 lock_impl_init(&lock->internal_lock); in spin_lock_init()144 lock_impl_lock(&lock->internal_lock); in spin_lock()151 lock_impl_unlock(&lock->internal_lock); in spin_unlock()170 return lock_impl_trylock(&lock->internal_lock); in spin_trylock()