Home
last modified time | relevance | path

Searched refs:s_state (Results 1 – 21 of 21) sorted by relevance

/fs/quota/
A Dquota.c131 tstate = state.s_state + type; in quota_getinfo()
339 if (state->s_state[USRQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
343 if (state->s_state[GRPQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
380 if (state.s_state[USRQUOTA].ino) { in quota_getstate()
385 if (state.s_state[GRPQUOTA].ino) { in quota_getstate()
390 if (state.s_state[PRJQUOTA].ino) { in quota_getstate()
399 state.s_state[PRJQUOTA].blocks; in quota_getstate()
401 state.s_state[PRJQUOTA].nextents; in quota_getstate()
479 if (state.s_state[USRQUOTA].ino) { in quota_getstatev()
484 if (state.s_state[GRPQUOTA].ino) { in quota_getstatev()
[all …]
A Ddquot.c2844 tstate = state->s_state + type; in dquot_get_state()
/fs/xfs/
A Dxfs_quotaops.c70 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
72 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
74 state->s_state[GRPQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
76 state->s_state[GRPQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
78 state->s_state[PRJQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
80 state->s_state[PRJQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
82 error = xfs_qm_fill_state(&state->s_state[USRQUOTA], mp, in xfs_fs_get_quota_state()
86 error = xfs_qm_fill_state(&state->s_state[GRPQUOTA], mp, in xfs_fs_get_quota_state()
90 error = xfs_qm_fill_state(&state->s_state[PRJQUOTA], mp, in xfs_fs_get_quota_state()
/fs/jfs/
A Djfs_mount.c321 le32_to_cpu(j_sb->s_flag), le32_to_cpu(j_sb->s_state), in chkSuper()
348 if (j_sb->s_state != cpu_to_le32(FM_CLEAN) && in chkSuper()
355 sbi->state = le32_to_cpu(j_sb->s_state); in chkSuper()
368 le32_to_cpu(j_sb->s_state) > FM_STATE_MAX) { in chkSuper()
428 j_sb->s_state = cpu_to_le32(state); in updateSuper()
A Dresize.c229 j_sb->s_state |= cpu_to_le32(FM_EXTENDFS); in jfs_extendfs()
487 j_sb->s_state &= cpu_to_le32(~FM_EXTENDFS); in jfs_extendfs()
A Djfs_superblock.h46 __le32 s_state; /* 4: mount/unmount/recovery state: member
/fs/minix/
A Dinode.c49 sbi->s_ms->s_state = sbi->s_mount_state; in minix_put_super()
127 if (ms->s_state & MINIX_VALID_FS || in minix_reconfigure()
132 ms->s_state = sbi->s_mount_state; in minix_reconfigure()
137 sbi->s_mount_state = ms->s_state; in minix_reconfigure()
138 ms->s_state &= ~MINIX_VALID_FS; in minix_reconfigure()
202 sbi->s_mount_state = ms->s_state; in minix_fill_super()
317 ms->s_state &= ~MINIX_VALID_FS; in minix_fill_super()
/fs/nilfs2/
A Dsuper.c97 sbp[0]->s_state |= cpu_to_le16(NILFS_ERROR_FS); in nilfs_set_error()
99 sbp[1]->s_state |= cpu_to_le16(NILFS_ERROR_FS); in nilfs_set_error()
324 sbp[0]->s_state = cpu_to_le16(nilfs->ns_mount_state); in nilfs_cleanup_super()
332 sbp[1]->s_state = sbp[0]->s_state; in nilfs_cleanup_super()
483 sbp[0]->s_state = cpu_to_le16(le16_to_cpu(sbp[0]->s_state) & in nilfs_resize_fs()
841 sbp[0]->s_state = in nilfs_setup_super()
842 cpu_to_le16(le16_to_cpu(sbp[0]->s_state) & ~NILFS_VALID_FS); in nilfs_setup_super()
A Dthe_nilfs.c771 nilfs->ns_mount_state = le16_to_cpu(sbp->s_state); in init_nilfs()
/fs/ceph/
A Dmds_client.c999 s->s_state = CEPH_MDS_SESSION_NEW; in register_session()
1675 session->s_state = CEPH_MDS_SESSION_OPENING; in __open_session()
2124 session->s_state = CEPH_MDS_SESSION_CLOSING; in __close_session()
4270 session->s_state = CEPH_MDS_SESSION_OPEN; in handle_session()
4285 session->s_state = CEPH_MDS_SESSION_OPEN; in handle_session()
5067 s->s_state = CEPH_MDS_SESSION_RESTARTING; in check_new_map()
5154 if (s->s_state == CEPH_MDS_SESSION_OPEN || in check_new_map()
5155 s->s_state == CEPH_MDS_SESSION_HUNG || in check_new_map()
5354 switch (s->s_state) { in check_session_state()
5357 s->s_state = CEPH_MDS_SESSION_HUNG; in check_session_state()
[all …]
A Dmds_client.h217 int s_state; member
A Ddebugfs.c342 ceph_session_state_name(session->s_state)); in mds_sessions_show()
A Dcaps.c2295 if (session->s_state < CEPH_MDS_SESSION_OPEN) { in try_flush_caps()
/fs/ext2/
A Dsuper.c60 es->s_state |= cpu_to_le16(EXT2_ERROR_FS); in ext2_error()
186 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_put_super()
1063 sbi->s_mount_state = le16_to_cpu(es->s_state); in ext2_fill_super()
1320 if (es->s_state & cpu_to_le16(EXT2_VALID_FS)) { in ext2_sync_fs()
1322 es->s_state &= cpu_to_le16(~EXT2_VALID_FS); in ext2_sync_fs()
1344 sbi->s_es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_freeze()
1391 if (le16_to_cpu(es->s_state) & EXT2_VALID_FS || in ext2_reconfigure()
1399 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_reconfigure()
1424 sbi->s_mount_state = le16_to_cpu(es->s_state); in ext2_reconfigure()
A Dext2.h428 __le16 s_state; /* File system state */ member
/fs/bcachefs/
A Dquota.c678 state->s_state[i].flags |= QCI_SYSFILE; in bch2_quota_get_state()
683 state->s_state[i].flags |= QCI_ACCT_ENABLED; in bch2_quota_get_state()
685 state->s_state[i].spc_timelimit = c->quotas[i].limits[Q_SPC].timelimit; in bch2_quota_get_state()
686 state->s_state[i].spc_warnlimit = c->quotas[i].limits[Q_SPC].warnlimit; in bch2_quota_get_state()
688 state->s_state[i].ino_timelimit = c->quotas[i].limits[Q_INO].timelimit; in bch2_quota_get_state()
689 state->s_state[i].ino_warnlimit = c->quotas[i].limits[Q_INO].warnlimit; in bch2_quota_get_state()
/fs/gfs2/
A Dquota.c1642 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state()
1643 state->s_state[GRPQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state()
1646 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state()
1648 state->s_state[GRPQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state()
1655 state->s_state[USRQUOTA].ino = in gfs2_quota_get_state()
1657 state->s_state[USRQUOTA].blocks = sdp->sd_quota_inode->i_blocks; in gfs2_quota_get_state()
1659 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()
1660 state->s_state[GRPQUOTA] = state->s_state[USRQUOTA]; in gfs2_quota_get_state()
/fs/ext4/
A Dsuper.c1314 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext4_put_super()
3094 es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in ext4_setup_super()
5228 sbi->s_mount_state = le16_to_cpu(es->s_state) & ~EXT4_FC_REPLAY; in ext4_block_group_meta_init()
6074 orig_state = es->s_state; in ext4_load_journal()
6075 es->s_state |= cpu_to_le16(EXT4_SB(sb)->s_mount_state & in ext4_load_journal()
6077 if (orig_state != es->s_state) in ext4_load_journal()
6152 es->s_state |= cpu_to_le16(EXT4_ERROR_FS); in ext4_update_super()
6312 es->s_state |= cpu_to_le16(EXT4_ERROR_FS); in ext4_clear_journal_err()
6604 if (!(es->s_state & cpu_to_le16(EXT4_VALID_FS)) && in __ext4_remount()
6606 es->s_state = cpu_to_le16(sbi->s_mount_state); in __ext4_remount()
[all …]
A Dresize.c1238 sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in update_backups()
A Dext4.h1335 __le16 s_state; /* File system state */ member
/fs/ocfs2/
A Docfs2_fs.h587 __le16 s_state; /* File system state */ member

Completed in 106 milliseconds