Home
last modified time | relevance | path

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

/fs/quota/
Dquota.c133 tstate = state.s_state + type; in quota_getinfo()
323 if (state->s_state[USRQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
325 if (state->s_state[USRQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags()
327 if (state->s_state[GRPQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
329 if (state->s_state[GRPQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags()
331 if (state->s_state[PRJQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
333 if (state->s_state[PRJQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags()
361 if (state.s_state[type].flags & QCI_ACCT_ENABLED) in quota_getstate()
364 fqs->qs_btimelimit = state.s_state[type].spc_timelimit; in quota_getstate()
365 fqs->qs_itimelimit = state.s_state[type].ino_timelimit; in quota_getstate()
[all …]
Ddquot.c2759 tstate = state->s_state + type; in dquot_get_state()
/fs/xfs/
Dxfs_quotaops.c80 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
82 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
84 state->s_state[GRPQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
86 state->s_state[GRPQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
88 state->s_state[PRJQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
90 state->s_state[PRJQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
92 xfs_qm_fill_state(&state->s_state[USRQUOTA], mp, q->qi_uquotaip, in xfs_fs_get_quota_state()
94 xfs_qm_fill_state(&state->s_state[GRPQUOTA], mp, q->qi_gquotaip, in xfs_fs_get_quota_state()
96 xfs_qm_fill_state(&state->s_state[PRJQUOTA], mp, q->qi_pquotaip, in xfs_fs_get_quota_state()
/fs/ceph/
Dmds_client.c452 s->s_state = CEPH_MDS_SESSION_NEW; in register_session()
929 session->s_state = CEPH_MDS_SESSION_OPENING; in __open_session()
956 if (session->s_state == CEPH_MDS_SESSION_NEW || in __open_export_target_session()
957 session->s_state == CEPH_MDS_SESSION_CLOSING) in __open_export_target_session()
1326 session->s_mds, ceph_session_state_name(session->s_state), seq); in send_flushmsg_ack()
1378 session->s_mds, ceph_session_state_name(session->s_state), in request_close_session()
1393 if (session->s_state >= CEPH_MDS_SESSION_CLOSING) in __close_session()
1395 session->s_state = CEPH_MDS_SESSION_CLOSING; in __close_session()
2173 ceph_session_state_name(session->s_state)); in __do_request()
2174 if (session->s_state != CEPH_MDS_SESSION_OPEN && in __do_request()
[all …]
Dmds_client.h130 int s_state; member
Ddebugfs.c185 ceph_session_state_name(session->s_state)); in mds_sessions_show()
Dcaps.c1921 if (cap->session->s_state < CEPH_MDS_SESSION_OPEN) { in try_flush_caps()
/fs/jfs/
Djfs_mount.c337 le32_to_cpu(j_sb->s_flag), le32_to_cpu(j_sb->s_state), in chkSuper()
364 if (j_sb->s_state != cpu_to_le32(FM_CLEAN) && in chkSuper()
371 sbi->state = le32_to_cpu(j_sb->s_state); in chkSuper()
435 j_sb->s_state = cpu_to_le32(state); in updateSuper()
Djfs_superblock.h57 __le32 s_state; /* 4: mount/unmount/recovery state: member
Dresize.c242 j_sb->s_state |= cpu_to_le32(FM_EXTENDFS); in jfs_extendfs()
500 j_sb->s_state &= cpu_to_le32(~FM_EXTENDFS); in jfs_extendfs()
/fs/minix/
Dinode.c47 sbi->s_ms->s_state = sbi->s_mount_state; in minix_put_super()
131 if (ms->s_state & MINIX_VALID_FS || in minix_remount()
136 ms->s_state = sbi->s_mount_state; in minix_remount()
141 sbi->s_mount_state = ms->s_state; in minix_remount()
142 ms->s_state &= ~MINIX_VALID_FS; in minix_remount()
186 sbi->s_mount_state = ms->s_state; in minix_fill_super()
298 ms->s_state &= ~MINIX_VALID_FS; in minix_fill_super()
/fs/nilfs2/
Dsuper.c100 sbp[0]->s_state |= cpu_to_le16(NILFS_ERROR_FS); in nilfs_set_error()
102 sbp[1]->s_state |= cpu_to_le16(NILFS_ERROR_FS); in nilfs_set_error()
328 sbp[0]->s_state = cpu_to_le16(nilfs->ns_mount_state); in nilfs_cleanup_super()
336 sbp[1]->s_state = sbp[0]->s_state; in nilfs_cleanup_super()
453 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()
Dthe_nilfs.c645 nilfs->ns_mount_state = le16_to_cpu(sbp->s_state); in init_nilfs()
/fs/ext2/
Dsuper.c58 es->s_state |= cpu_to_le16(EXT2_ERROR_FS); in ext2_error()
142 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_put_super()
995 sbi->s_mount_state = le16_to_cpu(es->s_state); in ext2_fill_super()
1234 if (es->s_state & cpu_to_le16(EXT2_VALID_FS)) { in ext2_sync_fs()
1236 es->s_state &= cpu_to_le16(~EXT2_VALID_FS); in ext2_sync_fs()
1258 sbi->s_es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_freeze()
1318 if (le16_to_cpu(es->s_state) & EXT2_VALID_FS || in ext2_remount()
1328 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_remount()
1355 sbi->s_mount_state = le16_to_cpu(es->s_state); in ext2_remount()
Dext2.h436 __le16 s_state; /* File system state */ member
/fs/gfs2/
Dquota.c1584 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state()
1585 state->s_state[GRPQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state()
1588 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state()
1590 state->s_state[GRPQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state()
1597 state->s_state[USRQUOTA].ino = in gfs2_quota_get_state()
1599 state->s_state[USRQUOTA].blocks = sdp->sd_quota_inode->i_blocks; in gfs2_quota_get_state()
1601 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()
1602 state->s_state[GRPQUOTA] = state->s_state[USRQUOTA]; in gfs2_quota_get_state()
/fs/sysv/
Dsuper.c101 sbi->s_sb_state = &sbd->s_state; in detected_sysv4()
129 sbi->s_sb_state = &sbd->s_state; in detected_sysv2()
/fs/ext4/
Dsuper.c322 es->s_state |= cpu_to_le16(EXT4_ERROR_FS); in __save_error_info()
855 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext4_put_super()
2082 es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in ext4_setup_super()
3733 sbi->s_mount_state = le16_to_cpu(es->s_state); in ext4_fill_super()
4709 es->s_state |= cpu_to_le16(EXT4_ERROR_FS); in ext4_clear_journal_err()
4972 if (!(es->s_state & cpu_to_le16(EXT4_VALID_FS)) && in ext4_remount()
4974 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext4_remount()
5025 sbi->s_mount_state = le16_to_cpu(es->s_state); in ext4_remount()
Dresize.c1135 sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); in update_backups()
Dext4.h1223 __le16 s_state; /* File system state */ member
/fs/ocfs2/
Docfs2_fs.h629 __le16 s_state; /* File system state */ member