Searched refs:raw_lock (Results 1 – 3 of 3) sorted by relevance
26 lock->raw_lock = (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED; in __raw_spin_lock_init()45 lock->raw_lock = (arch_rwlock_t) __ARCH_RW_LOCK_UNLOCKED; in __rwlock_init()115 arch_spin_lock(&lock->raw_lock); in do_raw_spin_lock()122 int ret = arch_spin_trylock(&lock->raw_lock); in do_raw_spin_trylock()141 arch_spin_unlock(&lock->raw_lock); in do_raw_spin_unlock()161 arch_read_lock(&lock->raw_lock); in do_raw_read_lock()166 int ret = arch_read_trylock(&lock->raw_lock); in do_raw_read_trylock()180 arch_read_unlock(&lock->raw_lock); in do_raw_read_unlock()210 arch_write_lock(&lock->raw_lock); in do_raw_write_lock()216 int ret = arch_write_trylock(&lock->raw_lock); in do_raw_write_trylock()[all …]
76 arch_##op##_relax(&lock->raw_lock); \92 arch_##op##_relax(&lock->raw_lock); \
80 raw_spinlock_t raw_lock; member142 raw_spin_lock_init(&htab->buckets[i].raw_lock); in htab_init_buckets()143 lockdep_set_class(&htab->buckets[i].raw_lock, in htab_init_buckets()166 raw_spin_lock(&b->raw_lock); in htab_lock_bucket()177 raw_spin_unlock(&b->raw_lock); in htab_unlock_bucket()