Lines Matching refs:test_opt
654 bool continue_fs = !force_ro && test_opt(sb, ERRORS_CONT); in ext4_handle_error()
657 if (test_opt(sb, WARN_ON_ERROR)) in ext4_handle_error()
685 if (test_opt(sb, ERRORS_PANIC) && !system_going_down()) { in ext4_handle_error()
1015 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
1016 if (test_opt(sb, WARN_ON_ERROR)) in __ext4_grp_locked_error()
2585 test_opt(sb, USRQUOTA)); in ext4_check_quota_consistency()
2588 test_opt(sb, GRPQUOTA)); in ext4_check_quota_consistency()
2742 test_opt(sb, DATA_FLAGS)) { in ext4_check_opt_consistency()
2751 (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA)) { in ext4_check_opt_consistency()
2929 if (test_opt(sb, ERRORS_RO) && def_errors != EXT4_ERRORS_RO) in _ext4_show_options()
2931 if (test_opt(sb, ERRORS_CONT) && def_errors != EXT4_ERRORS_CONTINUE) in _ext4_show_options()
2933 if (test_opt(sb, ERRORS_PANIC) && def_errors != EXT4_ERRORS_PANIC) in _ext4_show_options()
2945 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in _ext4_show_options()
2947 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in _ext4_show_options()
2949 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in _ext4_show_options()
2957 if (test_opt(sb, INIT_INODE_TABLE) && (nodefs || in _ext4_show_options()
2962 if (test_opt(sb, DATA_ERR_ABORT)) in _ext4_show_options()
2970 if (test_opt(sb, DAX_ALWAYS)) { in _ext4_show_options()
3056 if (test_opt(sb, DEBUG)) in ext4_setup_super()
3651 !sb_rdonly(sb) && test_opt(sb, INIT_INODE_TABLE)) { in ext4_run_li_request()
3916 if (test_opt(sb, NO_PREFETCH_BLOCK_BITMAPS)) { in ext4_li_request_new()
3952 (test_opt(sb, NO_PREFETCH_BLOCK_BITMAPS) && in ext4_register_li_request()
3953 (first_not_zeroed == ngroups || !test_opt(sb, INIT_INODE_TABLE)))) in ext4_register_li_request()
4028 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in set_journal_csum_feature_set()
4033 } else if (test_opt(sb, JOURNAL_CHECKSUM)) { in set_journal_csum_feature_set()
4834 switch (test_opt(sb, DATA_FLAGS)) { in ext4_load_and_init_journal()
4863 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA && in ext4_load_and_init_journal()
4864 test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in ext4_load_and_init_journal()
4889 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { in ext4_journal_data_mode_check()
4901 if (test_opt(sb, DAX_ALWAYS)) { in ext4_journal_data_mode_check()
4911 if (test_opt(sb, DELALLOC)) in ext4_journal_data_mode_check()
5103 (test_opt(sb, POSIX_ACL) ? SB_POSIXACL : 0); in __ext4_fill_super()
5279 if (!test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) { in __ext4_fill_super()
5283 } else if (test_opt(sb, NOLOAD) && !sb_rdonly(sb) && in __ext4_fill_super()
5295 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in __ext4_fill_super()
5320 if (!test_opt(sb, NO_MBCACHE)) { in __ext4_fill_super()
5410 if (test_opt(sb, BLOCK_VALIDITY)) { in __ext4_fill_super()
5532 if (test_opt(sb, DISCARD) && !bdev_max_discard_sectors(sb->s_bdev)) in __ext4_fill_super()
5648 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in ext4_fill_super()
5650 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_fill_super()
5691 if (test_opt(sb, BARRIER)) in ext4_init_journal_params()
5695 if (test_opt(sb, DATA_ERR_ABORT)) in ext4_init_journal_params()
6079 (test_opt(sb, BARRIER) ? REQ_FUA : 0), sbh); in ext4_commit_super()
6222 } else if (wait && test_opt(sb, BARRIER)) in ext4_sync_fs()
6366 test_opt(sb, JOURNAL_CHECKSUM)) { in __ext4_remount()
6372 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { in __ext4_remount()
6379 if (test_opt(sb, DIOREAD_NOLOCK)) { in __ext4_remount()
6385 } else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) { in __ext4_remount()
6386 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in __ext4_remount()
6404 (test_opt(sb, POSIX_ACL) ? SB_POSIXACL : 0); in __ext4_remount()
6526 if (sb_rdonly(sb) || !test_opt(sb, INIT_INODE_TABLE)) in __ext4_remount()
6539 if (test_opt(sb, BLOCK_VALIDITY) && !sbi->s_system_blks) { in __ext4_remount()
6565 if (!test_opt(sb, BLOCK_VALIDITY) && sbi->s_system_blks) in __ext4_remount()
6582 if (!test_opt(sb, BLOCK_VALIDITY) && sbi->s_system_blks) in __ext4_remount()
6672 if (!test_opt(sb, MINIX_DF)) in ext4_statfs()
6814 if (!test_opt(sb, QUOTA)) in ext4_quota_on()
6932 test_opt(sb, USRQUOTA), in ext4_enable_quotas()
6933 test_opt(sb, GRPQUOTA), in ext4_enable_quotas()
6934 test_opt(sb, PRJQUOTA), in ext4_enable_quotas()
6977 if (test_opt(sb, DELALLOC)) in ext4_quota_off()