Searched refs:qrwlock (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
H A Dqrwlock.h8 static inline void queue_write_unlock(struct qrwlock *lock) queue_write_unlock()
15 #include <asm-generic/qrwlock.h>
H A Dspinlock.h210 * On x86, we implement read-write locks using the generic qrwlock with
214 #include <asm/qrwlock.h>
/linux-4.1.27/include/asm-generic/
H A Dqrwlock_types.h11 typedef struct qrwlock { struct
H A Dqrwlock.h39 extern void queue_read_lock_slowpath(struct qrwlock *lock);
40 extern void queue_write_lock_slowpath(struct qrwlock *lock);
46 static inline int queue_read_can_lock(struct qrwlock *lock) queue_read_can_lock()
55 static inline int queue_write_can_lock(struct qrwlock *lock) queue_write_can_lock()
65 static inline int queue_read_trylock(struct qrwlock *lock) queue_read_trylock()
84 static inline int queue_write_trylock(struct qrwlock *lock) queue_write_trylock()
99 static inline void queue_read_lock(struct qrwlock *lock) queue_read_lock()
115 static inline void queue_write_lock(struct qrwlock *lock) queue_write_lock()
128 static inline void queue_read_unlock(struct qrwlock *lock) queue_read_unlock()
142 static inline void queue_write_unlock(struct qrwlock *lock) queue_write_unlock()
/linux-4.1.27/kernel/locking/
H A DMakefile28 obj-$(CONFIG_QUEUE_RWLOCK) += qrwlock.o
H A Dqrwlock.c23 #include <asm/qrwlock.h>
34 rspin_until_writer_unlock(struct qrwlock *lock, u32 cnts) rspin_until_writer_unlock()
46 void queue_read_lock_slowpath(struct qrwlock *lock) queue_read_lock_slowpath()
93 void queue_write_lock_slowpath(struct qrwlock *lock) queue_write_lock_slowpath()

Completed in 119 milliseconds