torture_rwlock 213 kernel/locking/locktorture.c static DEFINE_RWLOCK(torture_rwlock); torture_rwlock 215 kernel/locking/locktorture.c static int torture_rwlock_write_lock(void) __acquires(torture_rwlock) torture_rwlock 217 kernel/locking/locktorture.c write_lock(&torture_rwlock); torture_rwlock 236 kernel/locking/locktorture.c static void torture_rwlock_write_unlock(void) __releases(torture_rwlock) torture_rwlock 238 kernel/locking/locktorture.c write_unlock(&torture_rwlock); torture_rwlock 241 kernel/locking/locktorture.c static int torture_rwlock_read_lock(void) __acquires(torture_rwlock) torture_rwlock 243 kernel/locking/locktorture.c read_lock(&torture_rwlock); torture_rwlock 262 kernel/locking/locktorture.c static void torture_rwlock_read_unlock(void) __releases(torture_rwlock) torture_rwlock 264 kernel/locking/locktorture.c read_unlock(&torture_rwlock); torture_rwlock 278 kernel/locking/locktorture.c static int torture_rwlock_write_lock_irq(void) __acquires(torture_rwlock) torture_rwlock 282 kernel/locking/locktorture.c write_lock_irqsave(&torture_rwlock, flags); torture_rwlock 288 kernel/locking/locktorture.c __releases(torture_rwlock) torture_rwlock 290 kernel/locking/locktorture.c write_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); torture_rwlock 293 kernel/locking/locktorture.c static int torture_rwlock_read_lock_irq(void) __acquires(torture_rwlock) torture_rwlock 297 kernel/locking/locktorture.c read_lock_irqsave(&torture_rwlock, flags); torture_rwlock 303 kernel/locking/locktorture.c __releases(torture_rwlock) torture_rwlock 305 kernel/locking/locktorture.c read_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags);