Lines Matching refs:REISERFS_SB
117 struct reiserfs_sb_info *sbi = REISERFS_SB(s); in reiserfs_schedule_old_flush()
138 struct reiserfs_sb_info *sbi = REISERFS_SB(s); in reiserfs_cancel_old_flush()
144 cancel_delayed_work_sync(&REISERFS_SB(s)->old_work); in reiserfs_cancel_old_flush()
172 struct reiserfs_sb_info *sbi = REISERFS_SB(s); in reiserfs_unfreeze()
264 if (REISERFS_SB(s)->s_qf_names[i]) { in finish_unfinished()
283 REISERFS_SB(s)->s_is_unlinked_ok = 1; in finish_unfinished()
402 REISERFS_SB(s)->s_is_unlinked_ok = 0; in finish_unfinished()
552 if (REISERFS_SB(s)) { in reiserfs_kill_sb()
564 dput(REISERFS_SB(s)->xattr_root); in reiserfs_kill_sb()
565 REISERFS_SB(s)->xattr_root = NULL; in reiserfs_kill_sb()
566 dput(REISERFS_SB(s)->priv_root); in reiserfs_kill_sb()
567 REISERFS_SB(s)->priv_root = NULL; in reiserfs_kill_sb()
607 REISERFS_SB(s)->s_mount_state); in reiserfs_put_super()
624 if (REISERFS_SB(s)->reserved_blocks != 0) { in reiserfs_put_super()
626 REISERFS_SB(s)->reserved_blocks); in reiserfs_put_super()
630 mutex_destroy(&REISERFS_SB(s)->lock); in reiserfs_put_super()
631 destroy_workqueue(REISERFS_SB(s)->commit_wq); in reiserfs_put_super()
632 kfree(REISERFS_SB(s)->s_jdev); in reiserfs_put_super()
725 long opts = REISERFS_SB(s)->s_mount_opt; in reiserfs_show_options()
761 if (REISERFS_SB(s)->s_jdev) in reiserfs_show_options()
762 seq_show_option(seq, "jdev", REISERFS_SB(s)->s_jdev); in reiserfs_show_options()
768 if (REISERFS_SB(s)->s_qf_names[USRQUOTA]) in reiserfs_show_options()
770 REISERFS_SB(s)->s_qf_names[USRQUOTA]); in reiserfs_show_options()
773 if (REISERFS_SB(s)->s_qf_names[GRPQUOTA]) in reiserfs_show_options()
775 REISERFS_SB(s)->s_qf_names[GRPQUOTA]); in reiserfs_show_options()
778 if (REISERFS_SB(s)->s_jquota_fmt) { in reiserfs_show_options()
779 if (REISERFS_SB(s)->s_jquota_fmt == QFMT_VFS_OLD) in reiserfs_show_options()
781 else if (REISERFS_SB(s)->s_jquota_fmt == QFMT_VFS_V0) in reiserfs_show_options()
1252 (!*arg != !REISERFS_SB(s)->s_qf_names[qtype])) { in reiserfs_parse_options()
1260 REISERFS_SB(s)->s_qf_names[qtype]) in reiserfs_parse_options()
1264 if (REISERFS_SB(s)->s_qf_names[qtype] in reiserfs_parse_options()
1265 && strcmp(REISERFS_SB(s)->s_qf_names[qtype], in reiserfs_parse_options()
1310 *qfmt != REISERFS_SB(s)->s_jquota_fmt) { in reiserfs_parse_options()
1328 if (!REISERFS_SB(s)->s_jquota_fmt && !*qfmt in reiserfs_parse_options()
1349 REISERFS_SB(s)->s_mount_opt &= ~((1 << REISERFS_DATA_LOG) | in switch_data_mode()
1352 REISERFS_SB(s)->s_mount_opt |= (1 << mode); in switch_data_mode()
1382 REISERFS_SB(s)->s_mount_opt &= ~all_barrier; in handle_barrier_mode()
1384 REISERFS_SB(s)->s_mount_opt |= flush; in handle_barrier_mode()
1387 REISERFS_SB(s)->s_mount_opt |= none; in handle_barrier_mode()
1401 REISERFS_SB(s)->s_mount_opt &= ~(1 << REISERFS_ATTRS); in handle_attrs()
1408 REISERFS_SB(s)->s_mount_opt &= ~(1 << REISERFS_ATTRS); in handle_attrs()
1420 if (qf_names[i] != REISERFS_SB(s)->s_qf_names[i]) in handle_quota_files()
1421 kfree(REISERFS_SB(s)->s_qf_names[i]); in handle_quota_files()
1422 REISERFS_SB(s)->s_qf_names[i] = qf_names[i]; in handle_quota_files()
1425 REISERFS_SB(s)->s_jquota_fmt = *qfmt; in handle_quota_files()
1434 unsigned long mount_options = REISERFS_SB(s)->s_mount_opt; in reiserfs_remount()
1449 memcpy(qf_names, REISERFS_SB(s)->s_qf_names, sizeof(qf_names)); in reiserfs_remount()
1459 if (qf_names[i] != REISERFS_SB(s)->s_qf_names[i]) in reiserfs_remount()
1493 REISERFS_SB(s)->s_mount_opt = in reiserfs_remount()
1494 (REISERFS_SB(s)-> in reiserfs_remount()
1526 || REISERFS_SB(s)->s_mount_state != REISERFS_VALID_FS) { in reiserfs_remount()
1538 set_sb_umount_state(rs, REISERFS_SB(s)->s_mount_state); in reiserfs_remount()
1555 REISERFS_SB(s)->s_mount_state = sb_umount_state(rs); in reiserfs_remount()
1565 REISERFS_SB(s)->s_mount_state = sb_umount_state(rs); in reiserfs_remount()
1572 REISERFS_SB(s)->s_mount_state = REISERFS_VALID_FS; in reiserfs_remount()
2342 if (REISERFS_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || in reiserfs_mark_dquot_dirty()
2343 REISERFS_SB(dquot->dq_sb)->s_qf_names[GRPQUOTA]) { in reiserfs_mark_dquot_dirty()
2377 return dquot_quota_on_mount(sb, REISERFS_SB(sb)->s_qf_names[type], in reiserfs_quota_on_mount()
2378 REISERFS_SB(sb)->s_jquota_fmt, type); in reiserfs_quota_on_mount()
2393 if (!(REISERFS_SB(sb)->s_mount_opt & (1 << opt))) { in reiserfs_quota_on()
2420 if (REISERFS_SB(sb)->s_qf_names[type]) { in reiserfs_quota_on()
2543 int journal_quota = REISERFS_SB(sb)->s_qf_names[type] != NULL; in reiserfs_quota_write()