| /linux/fs/btrfs/ |
| A D | super.c | 1058 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options() 1060 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options() 1062 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options() 1064 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options() 1071 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options() 1080 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options() 1082 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options() 1084 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options() 1086 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options() 1138 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options() [all …]
|
| A D | discard.c | 291 !btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC)) in btrfs_discard_check_filter() 363 if (!block_group || !btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC)) in btrfs_discard_queue_work() 644 !btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC) || in btrfs_discard_update_discardable() 733 if (!btrfs_test_opt(fs_info, DISCARD_ASYNC)) { in btrfs_discard_resume()
|
| A D | block-group.c | 32 (btrfs_test_opt(fs_info, FRAGMENT_DATA) && in btrfs_should_fragment_free_space() 859 if (btrfs_test_opt(fs_info, SPACE_CACHE)) { in caching_thread() 1213 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_remove_block_group() 2358 if (btrfs_test_opt(info, SPACE_CACHE)) in read_one_block_group() 2429 if (btrfs_test_opt(info, DISCARD_ASYNC)) in read_one_block_group() 2523 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_read_block_groups() 2526 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_read_block_groups() 3160 if (!btrfs_test_opt(fs_info, SPACE_CACHE)) in cache_save_setup() 3319 !btrfs_test_opt(fs_info, SPACE_CACHE)) in btrfs_setup_space_cache() 3681 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_update_block_group() [all …]
|
| A D | disk-io.c | 2136 btrfs_test_opt(fs_info, IGNOREDATACSUMS)) { in load_global_roots_objectid() 2171 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) in load_global_roots_objectid() 2192 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) in load_global_roots_objectid() 2261 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) { in btrfs_read_roots() 2281 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) { in btrfs_read_roots() 2641 if (!btrfs_test_opt(fs_info, USEBACKUPROOT)) in init_tree_roots() 2881 if (btrfs_test_opt(fs_info, IGNOREMETACSUMS)) in init_mount_fs_info() 2985 if (btrfs_test_opt(fs_info, CLEAR_CACHE) && in btrfs_start_pre_rw_mount() 3054 if (btrfs_test_opt(fs_info, FREE_SPACE_TREE) && in btrfs_start_pre_rw_mount() 3164 !btrfs_test_opt(fs_info, NOLOGREPLAY)) { in btrfs_check_features() [all …]
|
| A D | ref-verify.c | 687 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_ref_tree_mod() 910 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_cache() 929 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_tree_range() 997 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_build_ref_tree()
|
| A D | messages.c | 305 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic()
|
| A D | delayed-ref.h | 308 if (btrfs_test_opt(fs_info, FREE_SPACE_TREE)) in btrfs_calc_delayed_ref_bytes()
|
| A D | space-info.c | 1040 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in maybe_fail_all_tickets() 1053 if (!aborted && btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in maybe_fail_all_tickets() 1804 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in btrfs_reserve_metadata_bytes() 1835 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in btrfs_reserve_data_bytes()
|
| A D | block-rsv.c | 516 btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_use_block_rsv()
|
| A D | dev-replace.c | 185 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace() 194 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace()
|
| A D | volumes.c | 4618 if (btrfs_test_opt(fs_info, SKIP_BALANCE)) { in btrfs_resume_balance_async() 5219 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in gather_device_info() 5342 if (btrfs_test_opt(info, ENOSPC_DEBUG)) { in decide_stripe_size() 5532 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_create_chunk() 6859 if (!btrfs_test_opt(fs_info, DEGRADED)) { in handle_missing_device() 7019 if (!btrfs_test_opt(fs_info, DEGRADED)) in open_seed_devices() 7085 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev() 7101 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev() 7959 if (btrfs_test_opt(fs_info, IGNOREBADROOTS)) in btrfs_verify_dev_extents() 8116 if (btrfs_test_opt(fs_info, DEGRADED)) in btrfs_repair_one_zone()
|
| A D | transaction.c | 1944 if (btrfs_test_opt(fs_info, SPACE_CACHE)) in update_super_roots() 2123 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush() 2130 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
|
| A D | fs.h | 1022 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ macro
|
| A D | extent-tree.c | 1401 ASSERT(btrfs_test_opt(fs_info, DEGRADED)); in btrfs_discard_extent() 2732 if (btrfs_test_opt(fs_info, SSD)) in fetch_cluster_info() 2737 btrfs_test_opt(fs_info, SSD_SPREAD)) { in fetch_cluster_info() 2867 if (btrfs_test_opt(fs_info, DISCARD_SYNC)) in btrfs_finish_extent_commit() 2879 if (btrfs_test_opt(fs_info, DISCARD_ASYNC)) { in btrfs_finish_extent_commit() 4708 } else if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_reserve_extent()
|
| A D | free-space-cache.c | 2762 if (btrfs_test_opt(block_group->fs_info, DISCARD_SYNC)) in btrfs_add_free_space() 2792 if (btrfs_test_opt(block_group->fs_info, DISCARD_SYNC) || in btrfs_add_free_space_async_trimmed() 2793 btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC)) in btrfs_add_free_space_async_trimmed() 3575 if (btrfs_test_opt(fs_info, SSD_SPREAD)) { in btrfs_find_space_cluster()
|
| A D | zoned.c | 1451 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_load_block_group_raid1() 1458 if (!btrfs_test_opt(fs_info, DEGRADED) && in btrfs_load_block_group_raid1()
|
| A D | defrag.c | 110 if (!btrfs_test_opt(fs_info, AUTO_DEFRAG)) in need_auto_defrag()
|
| A D | inode.c | 867 if (btrfs_test_opt(fs_info, FORCE_COMPRESS)) in inode_need_compress() 875 if (btrfs_test_opt(fs_info, COMPRESS) || in inode_need_compress() 1108 if (!btrfs_test_opt(fs_info, FORCE_COMPRESS) && !inode->prop_compress) in compress_file_range() 3257 if (ret && btrfs_test_opt(fs_info, DISCARD_SYNC)) in btrfs_finish_one_ordered() 6303 if (btrfs_test_opt(fs_info, NODATASUM)) in btrfs_create_new_inode() 6305 if (btrfs_test_opt(fs_info, NODATACOW)) in btrfs_create_new_inode()
|
| A D | ioctl.c | 517 if (btrfs_test_opt(fs_info, NOLOGREPLAY)) in btrfs_ioctl_fitrim() 2553 if (!btrfs_test_opt(fs_info, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()
|
| A D | tree-log.c | 2964 if (!btrfs_test_opt(fs_info, SSD) && in btrfs_sync_log() 7071 if (btrfs_test_opt(fs_info, NOTREELOG)) { in btrfs_log_inode_parent()
|
| A D | scrub.c | 2732 if (btrfs_test_opt(fs_info, DISCARD_ASYNC)) in scrub_enumerate_chunks()
|