Searched refs:s_writers (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/fs/ |
D | super.c | 163 percpu_free_rwsem(&s->s_writers.rw_sem[i]); in destroy_super_work() 234 if (__percpu_init_rwsem(&s->s_writers.rw_sem[i], in alloc_super() 239 init_waitqueue_head(&s->s_writers.wait_unfrozen); in alloc_super() 889 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super() 913 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super() 1627 percpu_down_write(sb->s_writers.rw_sem + level-1); in sb_wait_write() 1639 percpu_rwsem_release(sb->s_writers.rw_sem + level, 0, _THIS_IP_); in lockdep_sb_freeze_release() 1650 percpu_rwsem_acquire(sb->s_writers.rw_sem + level, 0, _THIS_IP_); in lockdep_sb_freeze_acquire() 1656 percpu_up_write(sb->s_writers.rw_sem + level); in sb_freeze_unlock() 1698 if (sb->s_writers.frozen != SB_UNFROZEN) { in freeze_super() [all …]
|
/Linux-v6.1/include/linux/ |
D | fs.h | 1493 struct sb_writers s_writers; member 1821 percpu_up_read(sb->s_writers.rw_sem + level-1); in __sb_end_write() 1826 percpu_down_read(sb->s_writers.rw_sem + level - 1); in __sb_start_write() 1831 return percpu_down_read_trylock(sb->s_writers.rw_sem + level - 1); in __sb_start_write_trylock() 1835 percpu_rwsem_acquire(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_) 1837 percpu_rwsem_release(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_) 1841 return lockdep_is_held_type(sb->s_writers.rw_sem + SB_FREEZE_WRITE - 1, 1); in sb_write_started()
|
/Linux-v6.1/fs/ext4/ |
D | ext4_jbd2.c | 75 WARN_ON(sb->s_writers.frozen == SB_FREEZE_COMPLETE); in ext4_journal_check_start()
|
/Linux-v6.1/fs/quota/ |
D | quota.c | 893 if (thawed && sb->s_writers.frozen != SB_UNFROZEN) { in quotactl_block() 898 wait_event(sb->s_writers.wait_unfrozen, in quotactl_block() 899 sb->s_writers.frozen == SB_UNFROZEN); in quotactl_block()
|
/Linux-v6.1/fs/gfs2/ |
D | sys.c | 149 int frozen = (sb->s_writers.frozen == SB_UNFROZEN) ? 0 : 1; in freeze_show()
|
/Linux-v6.1/fs/xfs/ |
D | xfs_mount.c | 1109 if ((mp->m_super->s_writers.frozen >= level) || in xfs_fs_writable()
|
D | xfs_trans.c | 271 mp->m_super->s_writers.frozen == SB_FREEZE_COMPLETE); in xfs_trans_alloc()
|
D | xfs_super.c | 786 if (sb->s_writers.frozen == SB_FREEZE_PAGEFAULT) { in xfs_fs_sync_fs()
|
/Linux-v6.1/fs/f2fs/ |
D | gc.c | 69 if (sbi->sb->s_writers.frozen >= SB_FREEZE_WRITE) { in gc_thread_func()
|