Home
last modified time | relevance | path

Searched refs:s_writers (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/fs/
Dsuper.c164 percpu_free_rwsem(&s->s_writers.rw_sem[i]); in destroy_super_work()
235 if (__percpu_init_rwsem(&s->s_writers.rw_sem[i], in alloc_super()
240 init_waitqueue_head(&s->s_writers.wait_unfrozen); in alloc_super()
797 if (!s || s->s_writers.frozen == SB_UNFROZEN) in __get_super_thawed()
803 wait_event(s->s_writers.wait_unfrozen, in __get_super_thawed()
804 s->s_writers.frozen == SB_UNFROZEN); in __get_super_thawed()
912 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super()
935 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super()
1644 percpu_down_write(sb->s_writers.rw_sem + level-1); in sb_wait_write()
1656 percpu_rwsem_release(sb->s_writers.rw_sem + level, 0, _THIS_IP_); in lockdep_sb_freeze_release()
[all …]
/Linux-v5.10/fs/ext4/
Dext4_jbd2.c75 WARN_ON(sb->s_writers.frozen == SB_FREEZE_COMPLETE); in ext4_journal_check_start()
/Linux-v5.10/include/linux/
Dfs.h1458 struct sb_writers s_writers; member
1589 percpu_up_read(sb->s_writers.rw_sem + level-1); in __sb_end_write()
1594 percpu_down_read(sb->s_writers.rw_sem + level - 1); in __sb_start_write()
1599 return percpu_down_read_trylock(sb->s_writers.rw_sem + level - 1); in __sb_start_write_trylock()
1603 percpu_rwsem_acquire(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_)
1605 percpu_rwsem_release(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_)
/Linux-v5.10/fs/xfs/
Dxfs_trans.c275 mp->m_super->s_writers.frozen == SB_FREEZE_COMPLETE); in xfs_trans_alloc()
Dxfs_mount.c1160 if ((mp->m_super->s_writers.frozen >= level) || in xfs_fs_writable()
/Linux-v5.10/fs/gfs2/
Dsys.c84 int frozen = (sb->s_writers.frozen == SB_UNFROZEN) ? 0 : 1; in freeze_show()
/Linux-v5.10/fs/f2fs/
Dgc.c58 if (sbi->sb->s_writers.frozen >= SB_FREEZE_WRITE) { in gc_thread_func()