Lines Matching refs:REISERFS_SB

185 		if (REISERFS_SB(s)->s_qf_names[i]) {  in finish_unfinished()
202 REISERFS_SB(s)->s_is_unlinked_ok = 1; in finish_unfinished()
313 REISERFS_SB(s)->s_is_unlinked_ok = 0; in finish_unfinished()
459 if (REISERFS_SB(s)) { in reiserfs_kill_sb()
470 dput(REISERFS_SB(s)->xattr_root); in reiserfs_kill_sb()
471 REISERFS_SB(s)->xattr_root = NULL; in reiserfs_kill_sb()
472 dput(REISERFS_SB(s)->priv_root); in reiserfs_kill_sb()
473 REISERFS_SB(s)->priv_root = NULL; in reiserfs_kill_sb()
497 REISERFS_SB(s)->s_mount_state); in reiserfs_put_super()
513 if (REISERFS_SB(s)->reserved_blocks != 0) { in reiserfs_put_super()
515 REISERFS_SB(s)->reserved_blocks); in reiserfs_put_super()
521 mutex_destroy(&REISERFS_SB(s)->lock); in reiserfs_put_super()
611 long opts = REISERFS_SB(s)->s_mount_opt; in reiserfs_show_options()
647 if (REISERFS_SB(s)->s_jdev) in reiserfs_show_options()
648 seq_printf(seq, ",jdev=%s", REISERFS_SB(s)->s_jdev); in reiserfs_show_options()
654 if (REISERFS_SB(s)->s_qf_names[USRQUOTA]) in reiserfs_show_options()
655 seq_printf(seq, ",usrjquota=%s", REISERFS_SB(s)->s_qf_names[USRQUOTA]); in reiserfs_show_options()
658 if (REISERFS_SB(s)->s_qf_names[GRPQUOTA]) in reiserfs_show_options()
659 seq_printf(seq, ",grpjquota=%s", REISERFS_SB(s)->s_qf_names[GRPQUOTA]); in reiserfs_show_options()
662 if (REISERFS_SB(s)->s_jquota_fmt) { in reiserfs_show_options()
663 if (REISERFS_SB(s)->s_jquota_fmt == QFMT_VFS_OLD) in reiserfs_show_options()
665 else if (REISERFS_SB(s)->s_jquota_fmt == QFMT_VFS_V0) in reiserfs_show_options()
1084 (!*arg != !REISERFS_SB(s)->s_qf_names[qtype])) { in reiserfs_parse_options()
1092 if (REISERFS_SB(s)->s_qf_names[qtype] in reiserfs_parse_options()
1093 && strcmp(REISERFS_SB(s)->s_qf_names[qtype], in reiserfs_parse_options()
1123 REISERFS_SB(s)->s_qf_names[qtype]) in reiserfs_parse_options()
1144 *qfmt != REISERFS_SB(s)->s_jquota_fmt) { in reiserfs_parse_options()
1162 if (!REISERFS_SB(s)->s_jquota_fmt && !*qfmt in reiserfs_parse_options()
1183 REISERFS_SB(s)->s_mount_opt &= ~((1 << REISERFS_DATA_LOG) | in switch_data_mode()
1186 REISERFS_SB(s)->s_mount_opt |= (1 << mode); in switch_data_mode()
1216 REISERFS_SB(s)->s_mount_opt &= ~all_barrier; in handle_barrier_mode()
1218 REISERFS_SB(s)->s_mount_opt |= flush; in handle_barrier_mode()
1221 REISERFS_SB(s)->s_mount_opt |= none; in handle_barrier_mode()
1235 REISERFS_SB(s)->s_mount_opt &= ~(1 << REISERFS_ATTRS); in handle_attrs()
1242 REISERFS_SB(s)->s_mount_opt &= ~(1 << REISERFS_ATTRS); in handle_attrs()
1254 if (qf_names[i] != REISERFS_SB(s)->s_qf_names[i]) in handle_quota_files()
1255 kfree(REISERFS_SB(s)->s_qf_names[i]); in handle_quota_files()
1256 REISERFS_SB(s)->s_qf_names[i] = qf_names[i]; in handle_quota_files()
1259 REISERFS_SB(s)->s_jquota_fmt = *qfmt; in handle_quota_files()
1268 unsigned long mount_options = REISERFS_SB(s)->s_mount_opt; in reiserfs_remount()
1283 memcpy(qf_names, REISERFS_SB(s)->s_qf_names, sizeof(qf_names)); in reiserfs_remount()
1293 if (qf_names[i] != REISERFS_SB(s)->s_qf_names[i]) in reiserfs_remount()
1325 REISERFS_SB(s)->s_mount_opt = in reiserfs_remount()
1326 (REISERFS_SB(s)-> in reiserfs_remount()
1363 || REISERFS_SB(s)->s_mount_state != REISERFS_VALID_FS) { in reiserfs_remount()
1373 set_sb_umount_state(rs, REISERFS_SB(s)->s_mount_state); in reiserfs_remount()
1389 REISERFS_SB(s)->s_mount_state = sb_umount_state(rs); in reiserfs_remount()
1397 REISERFS_SB(s)->s_mount_state = sb_umount_state(rs); in reiserfs_remount()
1404 REISERFS_SB(s)->s_mount_state = REISERFS_VALID_FS; in reiserfs_remount()
1748 REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_SMALLTAIL); in reiserfs_fill_super()
1749 REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_ERROR_RO); in reiserfs_fill_super()
1750 REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_BARRIER_FLUSH); in reiserfs_fill_super()
1753 REISERFS_SB(s)->s_alloc_options.preallocmin = 0; in reiserfs_fill_super()
1755 REISERFS_SB(s)->s_alloc_options.preallocsize = 17; in reiserfs_fill_super()
1759 mutex_init(&REISERFS_SB(s)->lock); in reiserfs_fill_super()
1760 REISERFS_SB(s)->lock_depth = -1; in reiserfs_fill_super()
1769 REISERFS_SB(s)->s_jdev = kstrdup(jdev_name, GFP_KERNEL); in reiserfs_fill_super()
1770 if (!REISERFS_SB(s)->s_jdev) { in reiserfs_fill_super()
1828 REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_DATA_ORDERED); in reiserfs_fill_super()
2134 if (REISERFS_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || in reiserfs_mark_dquot_dirty()
2135 REISERFS_SB(dquot->dq_sb)->s_qf_names[GRPQUOTA]) { in reiserfs_mark_dquot_dirty()
2168 return dquot_quota_on_mount(sb, REISERFS_SB(sb)->s_qf_names[type], in reiserfs_quota_on_mount()
2169 REISERFS_SB(sb)->s_jquota_fmt, type); in reiserfs_quota_on_mount()
2184 if (!(REISERFS_SB(sb)->s_mount_opt & (1 << opt))) { in reiserfs_quota_on()
2208 if (REISERFS_SB(sb)->s_qf_names[type]) { in reiserfs_quota_on()
2291 int journal_quota = REISERFS_SB(sb)->s_qf_names[type] != NULL; in reiserfs_quota_write()