rw_sem 164 fs/super.c percpu_free_rwsem(&s->s_writers.rw_sem[i]); rw_sem 235 fs/super.c if (__percpu_init_rwsem(&s->s_writers.rw_sem[i], rw_sem 1640 fs/super.c percpu_up_read(sb->s_writers.rw_sem + level-1); rw_sem 1667 fs/super.c if (percpu_rwsem_is_held(sb->s_writers.rw_sem + i)) { rw_sem 1674 fs/super.c percpu_down_read(sb->s_writers.rw_sem + level-1); rw_sem 1676 fs/super.c ret = percpu_down_read_trylock(sb->s_writers.rw_sem + level-1); rw_sem 1693 fs/super.c percpu_down_write(sb->s_writers.rw_sem + level-1); rw_sem 1705 fs/super.c percpu_rwsem_release(sb->s_writers.rw_sem + level, 0, _THIS_IP_); rw_sem 1716 fs/super.c percpu_rwsem_acquire(sb->s_writers.rw_sem + level, 0, _THIS_IP_); rw_sem 1724 fs/super.c percpu_up_write(sb->s_writers.rw_sem + level); rw_sem 1422 include/linux/fs.h struct percpu_rw_semaphore rw_sem[SB_FREEZE_LEVELS]; rw_sem 1590 include/linux/fs.h percpu_rwsem_acquire(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_) rw_sem 1592 include/linux/fs.h percpu_rwsem_release(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_) rw_sem 15 include/linux/percpu-rwsem.h struct rw_semaphore rw_sem; /* slowpath */ rw_sem 25 include/linux/percpu-rwsem.h .rw_sem = __RWSEM_INITIALIZER(name.rw_sem), \ rw_sem 40 include/linux/percpu-rwsem.h rwsem_acquire_read(&sem->rw_sem.dep_map, 0, 0, _RET_IP_); rw_sem 79 include/linux/percpu-rwsem.h rwsem_acquire_read(&sem->rw_sem.dep_map, 0, 1, _RET_IP_); rw_sem 96 include/linux/percpu-rwsem.h rwsem_release(&sem->rw_sem.dep_map, 1, _RET_IP_); rw_sem 113 include/linux/percpu-rwsem.h #define percpu_rwsem_is_held(sem) lockdep_is_held(&(sem)->rw_sem) rw_sem 116 include/linux/percpu-rwsem.h lockdep_assert_held(&(sem)->rw_sem) rw_sem 121 include/linux/percpu-rwsem.h lock_release(&sem->rw_sem.dep_map, 1, ip); rw_sem 124 include/linux/percpu-rwsem.h atomic_long_set(&sem->rw_sem.owner, RWSEM_OWNER_UNKNOWN); rw_sem 131 include/linux/percpu-rwsem.h lock_acquire(&sem->rw_sem.dep_map, 0, 1, read, 1, NULL, ip); rw_sem 134 include/linux/percpu-rwsem.h atomic_long_set(&sem->rw_sem.owner, (long)current); rw_sem 334 kernel/cpu.c rwsem_acquire(&cpu_hotplug_lock.rw_sem.dep_map, 0, 0, _THIS_IP_); rw_sem 339 kernel/cpu.c rwsem_release(&cpu_hotplug_lock.rw_sem.dep_map, 1, _THIS_IP_); rw_sem 22 kernel/locking/percpu-rwsem.c __init_rwsem(&sem->rw_sem, name, rwsem_key); rw_sem 88 kernel/locking/percpu-rwsem.c __down_read(&sem->rw_sem); rw_sem 90 kernel/locking/percpu-rwsem.c __up_read(&sem->rw_sem); rw_sem 148 kernel/locking/percpu-rwsem.c down_write(&sem->rw_sem); rw_sem 186 kernel/locking/percpu-rwsem.c up_write(&sem->rw_sem);