@@ -33,8 +33,8 @@ extern void queued_read_lock_slowpath(struct qrwlock *lock);
3333extern void queued_write_lock_slowpath (struct qrwlock * lock );
3434
3535/**
36- * queued_read_trylock - try to acquire read lock of a queue rwlock
37- * @lock : Pointer to queue rwlock structure
36+ * queued_read_trylock - try to acquire read lock of a queued rwlock
37+ * @lock : Pointer to queued rwlock structure
3838 * Return: 1 if lock acquired, 0 if failed
3939 */
4040static inline int queued_read_trylock (struct qrwlock * lock )
@@ -52,8 +52,8 @@ static inline int queued_read_trylock(struct qrwlock *lock)
5252}
5353
5454/**
55- * queued_write_trylock - try to acquire write lock of a queue rwlock
56- * @lock : Pointer to queue rwlock structure
55+ * queued_write_trylock - try to acquire write lock of a queued rwlock
56+ * @lock : Pointer to queued rwlock structure
5757 * Return: 1 if lock acquired, 0 if failed
5858 */
5959static inline int queued_write_trylock (struct qrwlock * lock )
@@ -68,8 +68,8 @@ static inline int queued_write_trylock(struct qrwlock *lock)
6868 _QW_LOCKED ));
6969}
7070/**
71- * queued_read_lock - acquire read lock of a queue rwlock
72- * @lock: Pointer to queue rwlock structure
71+ * queued_read_lock - acquire read lock of a queued rwlock
72+ * @lock: Pointer to queued rwlock structure
7373 */
7474static inline void queued_read_lock (struct qrwlock * lock )
7575{
@@ -84,8 +84,8 @@ static inline void queued_read_lock(struct qrwlock *lock)
8484}
8585
8686/**
87- * queued_write_lock - acquire write lock of a queue rwlock
88- * @lock : Pointer to queue rwlock structure
87+ * queued_write_lock - acquire write lock of a queued rwlock
88+ * @lock : Pointer to queued rwlock structure
8989 */
9090static inline void queued_write_lock (struct qrwlock * lock )
9191{
@@ -98,8 +98,8 @@ static inline void queued_write_lock(struct qrwlock *lock)
9898}
9999
100100/**
101- * queued_read_unlock - release read lock of a queue rwlock
102- * @lock : Pointer to queue rwlock structure
101+ * queued_read_unlock - release read lock of a queued rwlock
102+ * @lock : Pointer to queued rwlock structure
103103 */
104104static inline void queued_read_unlock (struct qrwlock * lock )
105105{
@@ -110,8 +110,8 @@ static inline void queued_read_unlock(struct qrwlock *lock)
110110}
111111
112112/**
113- * queued_write_unlock - release write lock of a queue rwlock
114- * @lock : Pointer to queue rwlock structure
113+ * queued_write_unlock - release write lock of a queued rwlock
114+ * @lock : Pointer to queued rwlock structure
115115 */
116116static inline void queued_write_unlock (struct qrwlock * lock )
117117{
@@ -120,7 +120,7 @@ static inline void queued_write_unlock(struct qrwlock *lock)
120120
121121/**
122122 * queued_rwlock_is_contended - check if the lock is contended
123- * @lock : Pointer to queue rwlock structure
123+ * @lock : Pointer to queued rwlock structure
124124 * Return: 1 if lock contended, 0 otherwise
125125 */
126126static inline int queued_rwlock_is_contended (struct qrwlock * lock )
@@ -130,7 +130,7 @@ static inline int queued_rwlock_is_contended(struct qrwlock *lock)
130130
131131/*
132132 * Remapping rwlock architecture specific functions to the corresponding
133- * queue rwlock functions.
133+ * queued rwlock functions.
134134 */
135135#define arch_read_lock (l ) queued_read_lock(l)
136136#define arch_write_lock (l ) queued_write_lock(l)
0 commit comments