Lines Matching refs:test_opt
697 bool continue_fs = !force_ro && test_opt(sb, ERRORS_CONT); in ext4_handle_error()
700 if (test_opt(sb, WARN_ON_ERROR)) in ext4_handle_error()
728 if (test_opt(sb, ERRORS_PANIC) && !system_going_down()) { in ext4_handle_error()
1068 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
1069 if (test_opt(sb, WARN_ON_ERROR)) in __ext4_grp_locked_error()
2638 test_opt(sb, USRQUOTA)); in ext4_check_quota_consistency()
2641 test_opt(sb, GRPQUOTA)); in ext4_check_quota_consistency()
2775 test_opt(sb, DATA_FLAGS)) { in ext4_check_opt_consistency()
2784 (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA)) { in ext4_check_opt_consistency()
2973 if (test_opt(sb, ERRORS_RO) && def_errors != EXT4_ERRORS_RO) in _ext4_show_options()
2975 if (test_opt(sb, ERRORS_CONT) && def_errors != EXT4_ERRORS_CONTINUE) in _ext4_show_options()
2977 if (test_opt(sb, ERRORS_PANIC) && def_errors != EXT4_ERRORS_PANIC) in _ext4_show_options()
2989 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in _ext4_show_options()
2991 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in _ext4_show_options()
2993 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in _ext4_show_options()
3001 if (test_opt(sb, INIT_INODE_TABLE) && (nodefs || in _ext4_show_options()
3006 if (test_opt(sb, DATA_ERR_ABORT)) in _ext4_show_options()
3014 if (test_opt(sb, DAX_ALWAYS)) { in _ext4_show_options()
3100 if (test_opt(sb, DEBUG)) in ext4_setup_super()
3688 !sb_rdonly(sb) && test_opt(sb, INIT_INODE_TABLE)) { in ext4_run_li_request()
3953 if (test_opt(sb, NO_PREFETCH_BLOCK_BITMAPS)) { in ext4_li_request_new()
3988 (test_opt(sb, NO_PREFETCH_BLOCK_BITMAPS) && in ext4_register_li_request()
3989 (first_not_zeroed == ngroups || !test_opt(sb, INIT_INODE_TABLE)))) in ext4_register_li_request()
4064 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in set_journal_csum_feature_set()
4069 } else if (test_opt(sb, JOURNAL_CHECKSUM)) { in set_journal_csum_feature_set()
4895 switch (test_opt(sb, DATA_FLAGS)) { in ext4_load_and_init_journal()
4924 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA && in ext4_load_and_init_journal()
4925 test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in ext4_load_and_init_journal()
4950 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { in ext4_check_journal_data_mode()
4962 if (test_opt(sb, DAX_ALWAYS)) { in ext4_check_journal_data_mode()
4972 if (test_opt(sb, DELALLOC)) in ext4_check_journal_data_mode()
5264 (test_opt(sb, POSIX_ACL) ? SB_POSIXACL : 0); in __ext4_fill_super()
5358 if (!test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) { in __ext4_fill_super()
5362 } else if (test_opt(sb, NOLOAD) && !sb_rdonly(sb) && in __ext4_fill_super()
5369 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in __ext4_fill_super()
5400 if (!test_opt(sb, NO_MBCACHE)) { in __ext4_fill_super()
5488 if (test_opt(sb, BLOCK_VALIDITY)) { in __ext4_fill_super()
5580 if (test_opt(sb, DISCARD) && !bdev_max_discard_sectors(sb->s_bdev)) in __ext4_fill_super()
5691 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in ext4_fill_super()
5693 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_fill_super()
5736 if (test_opt(sb, BARRIER)) in ext4_init_journal_params()
5740 if (test_opt(sb, DATA_ERR_ABORT)) in ext4_init_journal_params()
6190 (test_opt(sb, BARRIER) ? REQ_FUA : 0), sbh); in ext4_commit_super()
6329 } else if (wait && test_opt(sb, BARRIER)) in ext4_sync_fs()
6487 test_opt(sb, JOURNAL_CHECKSUM)) { in __ext4_remount()
6493 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { in __ext4_remount()
6500 if (test_opt(sb, DIOREAD_NOLOCK)) { in __ext4_remount()
6506 } else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) { in __ext4_remount()
6507 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in __ext4_remount()
6525 (test_opt(sb, POSIX_ACL) ? SB_POSIXACL : 0); in __ext4_remount()
6648 if (test_opt(sb, BLOCK_VALIDITY) && !sbi->s_system_blks) { in __ext4_remount()
6674 if (!test_opt(sb, BLOCK_VALIDITY) && sbi->s_system_blks) in __ext4_remount()
6681 if (sb_rdonly(sb) || !test_opt(sb, INIT_INODE_TABLE)) in __ext4_remount()
6714 if (!test_opt(sb, BLOCK_VALIDITY) && sbi->s_system_blks) in __ext4_remount()
6805 if (!test_opt(sb, MINIX_DF)) in ext4_statfs()
6959 if (!test_opt(sb, QUOTA)) in ext4_quota_on()
7081 test_opt(sb, USRQUOTA), in ext4_enable_quotas()
7082 test_opt(sb, GRPQUOTA), in ext4_enable_quotas()
7083 test_opt(sb, PRJQUOTA), in ext4_enable_quotas()
7115 if (test_opt(sb, DELALLOC)) in ext4_quota_off()