rwlock 101 arch/arc/include/asm/spinlock.h : [rwlock] "r" (&(rw->counter)), rwlock 125 arch/arc/include/asm/spinlock.h : [rwlock] "r" (&(rw->counter)), rwlock 158 arch/arc/include/asm/spinlock.h : [rwlock] "r" (&(rw->counter)), rwlock 183 arch/arc/include/asm/spinlock.h : [rwlock] "r" (&(rw->counter)), rwlock 209 arch/arc/include/asm/spinlock.h : [rwlock] "r" (&(rw->counter)) rwlock 118 drivers/infiniband/core/cache.c rwlock_t rwlock; rwlock 242 drivers/infiniband/core/cache.c write_lock_irq(&table->rwlock); rwlock 253 drivers/infiniband/core/cache.c write_unlock_irq(&table->rwlock); rwlock 327 drivers/infiniband/core/cache.c write_lock_irq(&table->rwlock); rwlock 329 drivers/infiniband/core/cache.c write_unlock_irq(&table->rwlock); rwlock 389 drivers/infiniband/core/cache.c write_lock_irq(&table->rwlock); rwlock 397 drivers/infiniband/core/cache.c write_unlock_irq(&table->rwlock); rwlock 701 drivers/infiniband/core/cache.c read_lock_irqsave(&table->rwlock, flags); rwlock 706 drivers/infiniband/core/cache.c read_unlock_irqrestore(&table->rwlock, flags); rwlock 710 drivers/infiniband/core/cache.c read_unlock_irqrestore(&table->rwlock, flags); rwlock 748 drivers/infiniband/core/cache.c read_lock_irqsave(&table->rwlock, flags); rwlock 764 drivers/infiniband/core/cache.c read_unlock_irqrestore(&table->rwlock, flags); rwlock 782 drivers/infiniband/core/cache.c rwlock_init(&table->rwlock); rwlock 966 drivers/infiniband/core/cache.c read_lock_irqsave(&table->rwlock, flags); rwlock 976 drivers/infiniband/core/cache.c read_unlock_irqrestore(&table->rwlock, flags); rwlock 1013 drivers/infiniband/core/cache.c read_lock_irqsave(&table->rwlock, flags); rwlock 1020 drivers/infiniband/core/cache.c read_unlock_irqrestore(&table->rwlock, flags); rwlock 1023 drivers/infiniband/core/cache.c read_unlock_irqrestore(&table->rwlock, flags); rwlock 1213 drivers/infiniband/core/cache.c read_lock_irqsave(&table->rwlock, flags); rwlock 1220 drivers/infiniband/core/cache.c read_unlock_irqrestore(&table->rwlock, flags); rwlock 1289 drivers/infiniband/core/cache.c read_lock_irqsave(&table->rwlock, flags); rwlock 1297 drivers/infiniband/core/cache.c read_unlock_irqrestore(&table->rwlock, flags); rwlock 50 include/linux/rwlock.h # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while (0) rwlock 53 include/linux/rwlock.h # define do_raw_read_trylock(rwlock) arch_read_trylock(&(rwlock)->raw_lock) rwlock 54 include/linux/rwlock.h # define do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } while (0) rwlock 55 include/linux/rwlock.h # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } while (0) rwlock 58 include/linux/rwlock.h # define do_raw_write_trylock(rwlock) arch_write_trylock(&(rwlock)->raw_lock) rwlock 59 include/linux/rwlock.h # define do_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); } while (0) rwlock 127 kernel/locking/spinlock.c BUILD_LOCK_OPS(read, rwlock); rwlock 128 kernel/locking/spinlock.c BUILD_LOCK_OPS(write, rwlock); rwlock 227 kernel/trace/trace_probe.h rwlock_t rwlock; rwlock 262 kernel/trace/trace_uprobe.c rwlock_init(&filter->rwlock); rwlock 1213 kernel/trace/trace_uprobe.c write_lock(&filter->rwlock); rwlock 1223 kernel/trace/trace_uprobe.c write_unlock(&filter->rwlock); rwlock 1234 kernel/trace/trace_uprobe.c write_lock(&filter->rwlock); rwlock 1252 kernel/trace/trace_uprobe.c write_unlock(&filter->rwlock); rwlock 1318 kernel/trace/trace_uprobe.c read_lock(&filter->rwlock); rwlock 1320 kernel/trace/trace_uprobe.c read_unlock(&filter->rwlock); rwlock 140 lib/locking-selftest.c init_class_##class(raw_spinlock_t *lock, rwlock_t *rwlock, \ rwlock 144 lib/locking-selftest.c rwlock_init(rwlock); \ rwlock 9 tools/lib/lockdep/include/liblockdep/rwlock.h pthread_rwlock_t rwlock; rwlock 17 tools/lib/lockdep/include/liblockdep/rwlock.h .rwlock = PTHREAD_RWLOCK_INITIALIZER, \ rwlock 28 tools/lib/lockdep/include/liblockdep/rwlock.h return pthread_rwlock_init(&lock->rwlock, attr); rwlock 41 tools/lib/lockdep/include/liblockdep/rwlock.h return pthread_rwlock_rdlock(&lock->rwlock); rwlock 48 tools/lib/lockdep/include/liblockdep/rwlock.h return pthread_rwlock_unlock(&lock->rwlock); rwlock 54 tools/lib/lockdep/include/liblockdep/rwlock.h return pthread_rwlock_wrlock(&lock->rwlock); rwlock 60 tools/lib/lockdep/include/liblockdep/rwlock.h return pthread_rwlock_tryrdlock(&lock->rwlock) == 0 ? 1 : 0; rwlock 66 tools/lib/lockdep/include/liblockdep/rwlock.h return pthread_rwlock_trywrlock(&lock->rwlock) == 0 ? 1 : 0; rwlock 71 tools/lib/lockdep/include/liblockdep/rwlock.h return pthread_rwlock_destroy(&lock->rwlock); rwlock 67 tools/lib/lockdep/preload.c extern int __pthread_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr); rwlock 68 tools/lib/lockdep/preload.c extern int __pthread_rwlock_destroy(pthread_rwlock_t *rwlock); rwlock 69 tools/lib/lockdep/preload.c extern int __pthread_rwlock_wrlock(pthread_rwlock_t *rwlock); rwlock 70 tools/lib/lockdep/preload.c extern int __pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock); rwlock 71 tools/lib/lockdep/preload.c extern int __pthread_rwlock_rdlock(pthread_rwlock_t *rwlock); rwlock 72 tools/lib/lockdep/preload.c extern int __pthread_rwlock_tryrdlock(pthread_rwlock_t *rwlock); rwlock 73 tools/lib/lockdep/preload.c extern int __pthread_rwlock_unlock(pthread_rwlock_t *rwlock); rwlock 84 tools/lib/lockdep/preload.c static int (*ll_pthread_rwlock_init)(pthread_rwlock_t *rwlock, rwlock 86 tools/lib/lockdep/preload.c static int (*ll_pthread_rwlock_destroy)(pthread_rwlock_t *rwlock) = __pthread_rwlock_destroy; rwlock 87 tools/lib/lockdep/preload.c static int (*ll_pthread_rwlock_rdlock)(pthread_rwlock_t *rwlock) = __pthread_rwlock_rdlock; rwlock 88 tools/lib/lockdep/preload.c static int (*ll_pthread_rwlock_tryrdlock)(pthread_rwlock_t *rwlock) = __pthread_rwlock_tryrdlock; rwlock 89 tools/lib/lockdep/preload.c static int (*ll_pthread_rwlock_trywrlock)(pthread_rwlock_t *rwlock) = __pthread_rwlock_trywrlock; rwlock 90 tools/lib/lockdep/preload.c static int (*ll_pthread_rwlock_wrlock)(pthread_rwlock_t *rwlock) = __pthread_rwlock_wrlock; rwlock 91 tools/lib/lockdep/preload.c static int (*ll_pthread_rwlock_unlock)(pthread_rwlock_t *rwlock) = __pthread_rwlock_unlock; rwlock 326 tools/lib/lockdep/preload.c int pthread_rwlock_init(pthread_rwlock_t *rwlock, rwlock 333 tools/lib/lockdep/preload.c r = ll_pthread_rwlock_init(rwlock, attr); rwlock 335 tools/lib/lockdep/preload.c __get_lock(rwlock); rwlock 340 tools/lib/lockdep/preload.c int pthread_rwlock_destroy(pthread_rwlock_t *rwlock) rwlock 344 tools/lib/lockdep/preload.c debug_check_no_locks_freed(rwlock, sizeof(*rwlock)); rwlock 345 tools/lib/lockdep/preload.c __del_lock(__get_lock(rwlock)); rwlock 346 tools/lib/lockdep/preload.c return ll_pthread_rwlock_destroy(rwlock); rwlock 349 tools/lib/lockdep/preload.c int pthread_rwlock_rdlock(pthread_rwlock_t *rwlock) rwlock 355 tools/lib/lockdep/preload.c lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 2, 1, NULL, (unsigned long)_RET_IP_); rwlock 356 tools/lib/lockdep/preload.c r = ll_pthread_rwlock_rdlock(rwlock); rwlock 358 tools/lib/lockdep/preload.c lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); rwlock 363 tools/lib/lockdep/preload.c int pthread_rwlock_tryrdlock(pthread_rwlock_t *rwlock) rwlock 369 tools/lib/lockdep/preload.c lock_acquire(&__get_lock(rwlock)->dep_map, 0, 1, 2, 1, NULL, (unsigned long)_RET_IP_); rwlock 370 tools/lib/lockdep/preload.c r = ll_pthread_rwlock_tryrdlock(rwlock); rwlock 372 tools/lib/lockdep/preload.c lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); rwlock 377 tools/lib/lockdep/preload.c int pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock) rwlock 383 tools/lib/lockdep/preload.c lock_acquire(&__get_lock(rwlock)->dep_map, 0, 1, 0, 1, NULL, (unsigned long)_RET_IP_); rwlock 384 tools/lib/lockdep/preload.c r = ll_pthread_rwlock_trywrlock(rwlock); rwlock 386 tools/lib/lockdep/preload.c lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); rwlock 391 tools/lib/lockdep/preload.c int pthread_rwlock_wrlock(pthread_rwlock_t *rwlock) rwlock 397 tools/lib/lockdep/preload.c lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_); rwlock 398 tools/lib/lockdep/preload.c r = ll_pthread_rwlock_wrlock(rwlock); rwlock 400 tools/lib/lockdep/preload.c lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); rwlock 405 tools/lib/lockdep/preload.c int pthread_rwlock_unlock(pthread_rwlock_t *rwlock) rwlock 411 tools/lib/lockdep/preload.c lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); rwlock 412 tools/lib/lockdep/preload.c r = ll_pthread_rwlock_unlock(rwlock); rwlock 414 tools/lib/lockdep/preload.c lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_);