Lines Matching refs:test_opt
650 if (test_opt(sb, WARN_ON_ERROR)) in ext4_handle_error()
653 if (sb_rdonly(sb) || test_opt(sb, ERRORS_CONT)) in ext4_handle_error()
664 if (test_opt(sb, ERRORS_RO) || system_going_down()) { in ext4_handle_error()
672 } else if (test_opt(sb, ERRORS_PANIC)) { in ext4_handle_error()
885 if (test_opt(sb, ERRORS_PANIC) && !system_going_down()) in __ext4_abort()
979 if (test_opt(sb, WARN_ON_ERROR)) in __ext4_grp_locked_error()
982 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
2324 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { in handle_mount_opt()
2364 (test_opt(sb, DATA_FLAGS) == in handle_mount_opt()
2463 if (test_opt(sb, PRJQUOTA) && !ext4_has_feature_project(sb)) { in parse_options()
2471 if (test_opt(sb, USRQUOTA) && usr_qf_name) in parse_options()
2474 if (test_opt(sb, GRPQUOTA) && grp_qf_name) in parse_options()
2477 if (test_opt(sb, GRPQUOTA) || test_opt(sb, USRQUOTA)) { in parse_options()
2490 if (test_opt(sb, DIOREAD_NOLOCK)) { in parse_options()
2589 if (test_opt(sb, ERRORS_RO) && def_errors != EXT4_ERRORS_RO) in _ext4_show_options()
2591 if (test_opt(sb, ERRORS_CONT) && def_errors != EXT4_ERRORS_CONTINUE) in _ext4_show_options()
2593 if (test_opt(sb, ERRORS_PANIC) && def_errors != EXT4_ERRORS_PANIC) in _ext4_show_options()
2607 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in _ext4_show_options()
2609 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in _ext4_show_options()
2611 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in _ext4_show_options()
2619 if (test_opt(sb, INIT_INODE_TABLE) && (nodefs || in _ext4_show_options()
2624 if (test_opt(sb, DATA_ERR_ABORT)) in _ext4_show_options()
2632 if (test_opt(sb, DAX_ALWAYS)) { in _ext4_show_options()
2706 if (test_opt(sb, DEBUG)) in ext4_setup_super()
3093 if (test_opt(sb, DEBUG)) in ext4_orphan_cleanup()
3114 if (test_opt(sb, DEBUG)) in ext4_orphan_cleanup()
3448 !sb_rdonly(sb) && test_opt(sb, INIT_INODE_TABLE)) { in ext4_run_li_request()
3714 if (test_opt(sb, PREFETCH_BLOCK_BITMAPS)) in ext4_li_request_new()
3749 if (!test_opt(sb, PREFETCH_BLOCK_BITMAPS) && in ext4_register_li_request()
3751 !test_opt(sb, INIT_INODE_TABLE))) in ext4_register_li_request()
3826 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in set_journal_csum_feature_set()
3831 } else if (test_opt(sb, JOURNAL_CHECKSUM)) { in set_journal_csum_feature_set()
4329 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { in ext4_fill_super()
4339 if (test_opt(sb, DAX_ALWAYS)) { in ext4_fill_super()
4349 if (test_opt(sb, DELALLOC)) in ext4_fill_super()
4356 (test_opt(sb, POSIX_ACL) ? SB_POSIXACL : 0); in ext4_fill_super()
4786 if (!test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) { in ext4_fill_super()
4790 } else if (test_opt(sb, NOLOAD) && !sb_rdonly(sb) && in ext4_fill_super()
4797 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in ext4_fill_super()
4852 switch (test_opt(sb, DATA_FLAGS)) { in ext4_fill_super()
4880 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA && in ext4_fill_super()
4881 test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in ext4_fill_super()
4895 if (!test_opt(sb, NO_MBCACHE)) { in ext4_fill_super()
4985 if (test_opt(sb, BLOCK_VALIDITY)) { in ext4_fill_super()
5085 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in ext4_fill_super()
5087 else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_fill_super()
5094 if (test_opt(sb, DISCARD)) { in ext4_fill_super()
5223 if (test_opt(sb, BARRIER)) in ext4_init_journal_params()
5227 if (test_opt(sb, DATA_ERR_ABORT)) in ext4_init_journal_params()
5560 REQ_SYNC | (test_opt(sb, BARRIER) ? REQ_FUA : 0)); in ext4_commit_super()
5695 } else if (wait && test_opt(sb, BARRIER)) in ext4_sync_fs()
5844 test_opt(sb, JOURNAL_CHECKSUM)) { in ext4_remount()
5850 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { in ext4_remount()
5857 if (test_opt(sb, DIOREAD_NOLOCK)) { in ext4_remount()
5863 } else if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) { in ext4_remount()
5864 if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) { in ext4_remount()
5882 (test_opt(sb, POSIX_ACL) ? SB_POSIXACL : 0); in ext4_remount()
6002 if (test_opt(sb, BLOCK_VALIDITY) && !sbi->s_system_blks) { in ext4_remount()
6028 if (!test_opt(sb, BLOCK_VALIDITY) && sbi->s_system_blks) in ext4_remount()
6035 if (sb_rdonly(sb) || !test_opt(sb, INIT_INODE_TABLE)) in ext4_remount()
6073 if (!test_opt(sb, BLOCK_VALIDITY) && sbi->s_system_blks) in ext4_remount()
6144 if (!test_opt(sb, MINIX_DF)) in ext4_statfs()
6301 if (!test_opt(sb, QUOTA)) in ext4_quota_on()
6440 test_opt(sb, USRQUOTA), in ext4_enable_quotas()
6441 test_opt(sb, GRPQUOTA), in ext4_enable_quotas()
6442 test_opt(sb, PRJQUOTA), in ext4_enable_quotas()
6486 if (test_opt(sb, DELALLOC)) in ext4_quota_off()