s_writers 53 fs/ext4/ext4_jbd2.c WARN_ON(sb->s_writers.frozen == SB_FREEZE_COMPLETE); s_writers 50 fs/f2fs/gc.c if (sbi->sb->s_writers.frozen >= SB_FREEZE_WRITE) { s_writers 84 fs/gfs2/sys.c int frozen = (sb->s_writers.frozen == SB_UNFROZEN) ? 0 : 1; s_writers 164 fs/super.c percpu_free_rwsem(&s->s_writers.rw_sem[i]); s_writers 235 fs/super.c if (__percpu_init_rwsem(&s->s_writers.rw_sem[i], s_writers 240 fs/super.c init_waitqueue_head(&s->s_writers.wait_unfrozen); s_writers 797 fs/super.c if (!s || s->s_writers.frozen == SB_UNFROZEN) s_writers 803 fs/super.c wait_event(s->s_writers.wait_unfrozen, s_writers 804 fs/super.c s->s_writers.frozen == SB_UNFROZEN); s_writers 912 fs/super.c if (sb->s_writers.frozen != SB_UNFROZEN) s_writers 935 fs/super.c if (sb->s_writers.frozen != SB_UNFROZEN) s_writers 1640 fs/super.c percpu_up_read(sb->s_writers.rw_sem + level-1); s_writers 1667 fs/super.c if (percpu_rwsem_is_held(sb->s_writers.rw_sem + i)) { s_writers 1674 fs/super.c percpu_down_read(sb->s_writers.rw_sem + level-1); s_writers 1676 fs/super.c ret = percpu_down_read_trylock(sb->s_writers.rw_sem + level-1); s_writers 1693 fs/super.c percpu_down_write(sb->s_writers.rw_sem + level-1); s_writers 1705 fs/super.c percpu_rwsem_release(sb->s_writers.rw_sem + level, 0, _THIS_IP_); s_writers 1716 fs/super.c percpu_rwsem_acquire(sb->s_writers.rw_sem + level, 0, _THIS_IP_); s_writers 1724 fs/super.c percpu_up_write(sb->s_writers.rw_sem + level); s_writers 1766 fs/super.c if (sb->s_writers.frozen != SB_UNFROZEN) { s_writers 1778 fs/super.c sb->s_writers.frozen = SB_FREEZE_COMPLETE; s_writers 1783 fs/super.c sb->s_writers.frozen = SB_FREEZE_WRITE; s_writers 1790 fs/super.c sb->s_writers.frozen = SB_FREEZE_PAGEFAULT; s_writers 1797 fs/super.c sb->s_writers.frozen = SB_FREEZE_FS; s_writers 1805 fs/super.c sb->s_writers.frozen = SB_UNFROZEN; s_writers 1807 fs/super.c wake_up(&sb->s_writers.wait_unfrozen); s_writers 1816 fs/super.c sb->s_writers.frozen = SB_FREEZE_COMPLETE; s_writers 1833 fs/super.c if (sb->s_writers.frozen != SB_FREEZE_COMPLETE) { s_writers 1839 fs/super.c sb->s_writers.frozen = SB_UNFROZEN; s_writers 1856 fs/super.c sb->s_writers.frozen = SB_UNFROZEN; s_writers 1859 fs/super.c wake_up(&sb->s_writers.wait_unfrozen); s_writers 1133 fs/xfs/xfs_mount.c if ((mp->m_super->s_writers.frozen >= level) || s_writers 275 fs/xfs/xfs_trans.c mp->m_super->s_writers.frozen == SB_FREEZE_COMPLETE); s_writers 1463 include/linux/fs.h struct sb_writers s_writers; s_writers 1590 include/linux/fs.h percpu_rwsem_acquire(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_) s_writers 1592 include/linux/fs.h percpu_rwsem_release(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_)