/Linux-v5.4/fs/btrfs/ |
D | super.c | 282 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic() 480 if (btrfs_test_opt(info, NODATASUM)) { in btrfs_parse_options() 481 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options() 491 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options() 492 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options() 493 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options() 515 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options() 519 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options() 584 if ((btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options() 587 (!btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options() [all …]
|
D | inode-map.c | 41 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in caching_kthread() 147 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in start_caching() 190 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_find_free_ino() 220 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_return_ino() 260 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_unpin_free_ino() 421 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_save_ino_cache()
|
D | block-group.h | 166 return (btrfs_test_opt(fs_info, FRAGMENT_METADATA) && in btrfs_should_fragment_free_space() 168 (btrfs_test_opt(fs_info, FRAGMENT_DATA) && in btrfs_should_fragment_free_space()
|
D | block-group.c | 739 if (btrfs_test_opt(fs_info, SPACE_CACHE)) { in btrfs_cache_block_group() 1049 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_remove_block_group() 1232 if (ret == -ENOSPC && btrfs_test_opt(cache->fs_info, ENOSPC_DEBUG)) { in inc_block_group_ro() 1368 trimming = btrfs_test_opt(fs_info, DISCARD); in btrfs_delete_unused_bgs() 1716 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_read_block_groups() 1719 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_read_block_groups() 1750 if (btrfs_test_opt(info, SPACE_CACHE)) in btrfs_read_block_groups() 2233 !btrfs_test_opt(fs_info, SPACE_CACHE)) { in cache_save_setup() 2311 !btrfs_test_opt(fs_info, SPACE_CACHE)) in btrfs_setup_space_cache() 2674 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_update_block_group() [all …]
|
D | ref-verify.c | 686 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_ref_tree_mod() 894 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_cache() 913 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_tree_range() 979 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_build_ref_tree()
|
D | space-info.c | 708 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in maybe_fail_all_tickets() 733 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in maybe_fail_all_tickets() 1112 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in btrfs_reserve_metadata_bytes()
|
D | disk-io.c | 3149 if (!btrfs_test_opt(fs_info, NOSSD) && in open_ctree() 3161 if (btrfs_test_opt(fs_info, CHECK_INTEGRITY)) { in open_ctree() 3163 btrfs_test_opt(fs_info, in open_ctree() 3182 !btrfs_test_opt(fs_info, NOLOGREPLAY)) { in open_ctree() 3224 if (btrfs_test_opt(fs_info, CLEAR_CACHE) && in open_ctree() 3244 if (btrfs_test_opt(fs_info, FREE_SPACE_TREE) && in open_ctree() 3290 } else if (btrfs_test_opt(fs_info, RESCAN_UUID_TREE) || in open_ctree() 3368 if (!btrfs_test_opt(fs_info, USEBACKUPROOT)) in open_ctree() 3541 if (i == 0 && !btrfs_test_opt(device->fs_info, NOBARRIER)) in write_dev_supers() 3762 do_barriers = !btrfs_test_opt(fs_info, NOBARRIER); in write_all_supers() [all …]
|
D | dev-replace.c | 125 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace() 134 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace()
|
D | block-rsv.c | 412 btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_use_block_rsv()
|
D | transaction.c | 1691 if (btrfs_test_opt(fs_info, SPACE_CACHE)) in update_super_roots() 1899 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) { in btrfs_start_delalloc_flush() 1927 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) { in btrfs_wait_delalloc_flush()
|
D | extent-tree.c | 1333 ASSERT(btrfs_test_opt(fs_info, DEGRADED)); in btrfs_discard_extent() 2771 if (btrfs_test_opt(fs_info, SSD)) in fetch_cluster_info() 2776 btrfs_test_opt(fs_info, SSD_SPREAD)) { in fetch_cluster_info() 2906 if (btrfs_test_opt(fs_info, DISCARD)) in btrfs_finish_extent_commit() 4116 } else if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_reserve_extent() 4149 if (btrfs_test_opt(fs_info, DISCARD)) in __btrfs_free_reserved_extent()
|
D | volumes.c | 4243 if (btrfs_test_opt(fs_info, SKIP_BALANCE)) { in btrfs_resume_balance_async() 4940 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in __btrfs_alloc_chunk() 5025 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in __btrfs_alloc_chunk() 5056 if (btrfs_test_opt(info, ENOSPC_DEBUG)) { in __btrfs_alloc_chunk() 6793 !btrfs_test_opt(fs_info, DEGRADED)) { in read_one_chunk() 6871 if (!btrfs_test_opt(fs_info, DEGRADED)) in open_seed_devices() 6933 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev() 6949 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev()
|
D | free-space-cache.c | 3071 if (btrfs_test_opt(fs_info, SSD_SPREAD)) { in btrfs_find_space_cluster() 3511 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in load_free_ino_cache() 3556 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_write_out_ino_cache()
|
D | ctree.h | 1198 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ macro 1203 if (!btrfs_test_opt(fs_info, opt)) \ 1210 if (btrfs_test_opt(fs_info, opt)) \
|
D | inode.c | 428 if (btrfs_test_opt(fs_info, FORCE_COMPRESS)) in inode_need_compress() 436 if (btrfs_test_opt(fs_info, COMPRESS) || in inode_need_compress() 703 if (!btrfs_test_opt(fs_info, FORCE_COMPRESS) && in compress_file_range() 1225 !btrfs_test_opt(fs_info, FORCE_COMPRESS)) { in cow_file_range_async() 6445 if (btrfs_test_opt(fs_info, NODATASUM)) in btrfs_new_inode() 6447 if (btrfs_test_opt(fs_info, NODATACOW)) in btrfs_new_inode()
|
D | ioctl.c | 503 if (btrfs_test_opt(fs_info, NOLOGREPLAY)) in btrfs_ioctl_fitrim() 2898 if (!btrfs_test_opt(fs_info, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()
|
D | tree-log.c | 3073 if (!btrfs_test_opt(fs_info, SSD) && in btrfs_sync_log() 6087 if (btrfs_test_opt(fs_info, NOTREELOG)) { in btrfs_log_inode_parent()
|
D | file.c | 120 if (!btrfs_test_opt(fs_info, AUTO_DEFRAG)) in __need_auto_defrag()
|