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()
2586 test_opt(sb, USRQUOTA)); in ext4_check_quota_consistency()
2589 test_opt(sb, GRPQUOTA)); in ext4_check_quota_consistency()
2743 test_opt(sb, DATA_FLAGS)) { in ext4_check_opt_consistency()
2752 (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA)) { in ext4_check_opt_consistency()
2930 if (test_opt(sb, ERRORS_RO) && def_errors != EXT4_ERRORS_RO) in _ext4_show_options()
2932 if (test_opt(sb, ERRORS_CONT) && def_errors != EXT4_ERRORS_CONTINUE) in _ext4_show_options()
2934 if (test_opt(sb, ERRORS_PANIC) && def_errors != EXT4_ERRORS_PANIC) in _ext4_show_options()
2946 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in _ext4_show_options()
2948 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in _ext4_show_options()
2950 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in _ext4_show_options()
2958 if (test_opt(sb, INIT_INODE_TABLE) && (nodefs || in _ext4_show_options()
2963 if (test_opt(sb, DATA_ERR_ABORT)) in _ext4_show_options()
2971 if (test_opt(sb, DAX_ALWAYS)) { in _ext4_show_options()
3057 if (test_opt(sb, DEBUG)) in ext4_setup_super()
3652 !sb_rdonly(sb) && test_opt(sb, INIT_INODE_TABLE)) { in ext4_run_li_request()
3917 if (test_opt(sb, NO_PREFETCH_BLOCK_BITMAPS)) { in ext4_li_request_new()
3953 (test_opt(sb, NO_PREFETCH_BLOCK_BITMAPS) && in ext4_register_li_request()
3954 (first_not_zeroed == ngroups || !test_opt(sb, INIT_INODE_TABLE)))) in ext4_register_li_request()
4029 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in set_journal_csum_feature_set()
4034 } else if (test_opt(sb, JOURNAL_CHECKSUM)) { in set_journal_csum_feature_set()
4835 switch (test_opt(sb, DATA_FLAGS)) { in ext4_load_and_init_journal()
4864 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA && in ext4_load_and_init_journal()
4865 test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in ext4_load_and_init_journal()
4890 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { in ext4_journal_data_mode_check()
4902 if (test_opt(sb, DAX_ALWAYS)) { in ext4_journal_data_mode_check()
4912 if (test_opt(sb, DELALLOC)) in ext4_journal_data_mode_check()
5104 (test_opt(sb, POSIX_ACL) ? SB_POSIXACL : 0); in __ext4_fill_super()
5280 if (!test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) { in __ext4_fill_super()
5284 } else if (test_opt(sb, NOLOAD) && !sb_rdonly(sb) && in __ext4_fill_super()
5291 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in __ext4_fill_super()
5322 if (!test_opt(sb, NO_MBCACHE)) { in __ext4_fill_super()
5412 if (test_opt(sb, BLOCK_VALIDITY)) { in __ext4_fill_super()
5534 if (test_opt(sb, DISCARD) && !bdev_max_discard_sectors(sb->s_bdev)) in __ext4_fill_super()
5650 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in ext4_fill_super()
5652 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_fill_super()
5693 if (test_opt(sb, BARRIER)) in ext4_init_journal_params()
5697 if (test_opt(sb, DATA_ERR_ABORT)) in ext4_init_journal_params()
6081 (test_opt(sb, BARRIER) ? REQ_FUA : 0), sbh); in ext4_commit_super()
6224 } else if (wait && test_opt(sb, BARRIER)) in ext4_sync_fs()
6368 test_opt(sb, JOURNAL_CHECKSUM)) { in __ext4_remount()
6374 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { in __ext4_remount()
6381 if (test_opt(sb, DIOREAD_NOLOCK)) { in __ext4_remount()
6387 } else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) { in __ext4_remount()
6388 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in __ext4_remount()
6406 (test_opt(sb, POSIX_ACL) ? SB_POSIXACL : 0); in __ext4_remount()
6528 if (sb_rdonly(sb) || !test_opt(sb, INIT_INODE_TABLE)) in __ext4_remount()
6541 if (test_opt(sb, BLOCK_VALIDITY) && !sbi->s_system_blks) { in __ext4_remount()
6567 if (!test_opt(sb, BLOCK_VALIDITY) && sbi->s_system_blks) in __ext4_remount()
6584 if (!test_opt(sb, BLOCK_VALIDITY) && sbi->s_system_blks) in __ext4_remount()
6674 if (!test_opt(sb, MINIX_DF)) in ext4_statfs()
6816 if (!test_opt(sb, QUOTA)) in ext4_quota_on()
6955 test_opt(sb, USRQUOTA), in ext4_enable_quotas()
6956 test_opt(sb, GRPQUOTA), in ext4_enable_quotas()
6957 test_opt(sb, PRJQUOTA), in ext4_enable_quotas()
7001 if (test_opt(sb, DELALLOC)) in ext4_quota_off()