Searched refs:s_writers (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/fs/ |
D | super.c | 287 percpu_free_rwsem(&s->s_writers.rw_sem[i]); in destroy_super_work() 358 if (__percpu_init_rwsem(&s->s_writers.rw_sem[i], in alloc_super() 1089 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super() 1113 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super() 1846 percpu_down_write(sb->s_writers.rw_sem + level-1); in sb_wait_write() 1858 percpu_rwsem_release(sb->s_writers.rw_sem + level, 0, _THIS_IP_); in lockdep_sb_freeze_release() 1869 percpu_rwsem_acquire(sb->s_writers.rw_sem + level, 0, _THIS_IP_); in lockdep_sb_freeze_acquire() 1875 percpu_up_write(sb->s_writers.rw_sem + level); in sb_freeze_unlock() 1883 unsigned short old = sb->s_writers.frozen; in wait_for_partially_frozen() 1886 ret = wait_var_event_killable(&sb->s_writers.frozen, in wait_for_partially_frozen() [all …]
|
/Linux-v6.6/include/linux/ |
D | fs.h | 1230 struct sb_writers s_writers; member 1566 percpu_up_read(sb->s_writers.rw_sem + level-1); in __sb_end_write() 1571 percpu_down_read(sb->s_writers.rw_sem + level - 1); in __sb_start_write() 1576 return percpu_down_read_trylock(sb->s_writers.rw_sem + level - 1); in __sb_start_write_trylock() 1580 percpu_rwsem_acquire(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_) 1582 percpu_rwsem_release(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_) 1586 return lockdep_is_held_type(sb->s_writers.rw_sem + SB_FREEZE_WRITE - 1, 1); in sb_write_started()
|
/Linux-v6.6/fs/ext4/ |
D | ext4_jbd2.c | 76 WARN_ON(sb->s_writers.frozen == SB_FREEZE_COMPLETE); in ext4_journal_check_start()
|
/Linux-v6.6/fs/gfs2/ |
D | trans.c | 276 if (unlikely(sb->s_writers.frozen == SB_FREEZE_COMPLETE)) { in gfs2_trans_add_meta()
|
D | sys.c | 159 int frozen = (sb->s_writers.frozen == SB_UNFROZEN) ? 0 : 1; in freeze_show()
|
/Linux-v6.6/fs/xfs/ |
D | xfs_mount.c | 1129 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 | 815 if (sb->s_writers.frozen == SB_FREEZE_PAGEFAULT) { in xfs_fs_sync_fs()
|
/Linux-v6.6/fs/quota/ |
D | quota.c | 893 if (thawed && sb->s_writers.frozen != SB_UNFROZEN) { in quotactl_block()
|
/Linux-v6.6/fs/f2fs/ |
D | gc.c | 69 if (sbi->sb->s_writers.frozen >= SB_FREEZE_WRITE) { in gc_thread_func()
|