/linux-4.19.296/fs/btrfs/ |
D | super.c | 279 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic() 478 if (btrfs_test_opt(info, NODATASUM)) { in btrfs_parse_options() 479 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options() 489 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options() 490 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options() 491 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options() 513 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options() 517 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options() 723 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_parse_options() 727 if (btrfs_test_opt(info, FREE_SPACE_TREE)) { in btrfs_parse_options() [all …]
|
D | inode-map.c | 40 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in caching_kthread() 146 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in start_caching() 188 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_find_free_ino() 218 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_return_ino() 258 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_unpin_free_ino() 419 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_save_ino_cache()
|
D | ref-verify.c | 702 if (!btrfs_test_opt(root->fs_info, REF_VERIFY)) in btrfs_ref_tree_mod() 905 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_cache() 924 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_tree_range() 990 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_build_ref_tree()
|
D | disk-io.c | 2929 !btrfs_test_opt(fs_info, NOLOGREPLAY))) { in open_ctree() 3049 if (fs_info->uuid_root && !btrfs_test_opt(fs_info, RESCAN_UUID_TREE) && in open_ctree() 3130 if (!btrfs_test_opt(fs_info, NOSSD) && in open_ctree() 3142 if (btrfs_test_opt(fs_info, CHECK_INTEGRITY)) { in open_ctree() 3144 btrfs_test_opt(fs_info, in open_ctree() 3163 !btrfs_test_opt(fs_info, NOLOGREPLAY)) { in open_ctree() 3207 if (btrfs_test_opt(fs_info, CLEAR_CACHE) && in open_ctree() 3227 if (btrfs_test_opt(fs_info, FREE_SPACE_TREE) && in open_ctree() 3273 } else if (btrfs_test_opt(fs_info, RESCAN_UUID_TREE) || in open_ctree() 3345 if (!btrfs_test_opt(fs_info, USEBACKUPROOT)) in open_ctree() [all …]
|
D | extent-tree.c | 626 if (btrfs_test_opt(fs_info, SPACE_CACHE)) { in cache_block_group() 1995 ASSERT(btrfs_test_opt(fs_info, DEGRADED)); in btrfs_discard_extent() 3415 !btrfs_test_opt(fs_info, SPACE_CACHE)) { in cache_save_setup() 3493 !btrfs_test_opt(fs_info, SPACE_CACHE)) in btrfs_setup_space_cache() 4415 if (left < thresh && btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in check_system_chunk() 5249 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in reserve_metadata_bytes() 6108 if (btrfs_test_opt(info, SPACE_CACHE) && in update_block_group() 6498 if (btrfs_test_opt(fs_info, SSD)) in fetch_cluster_info() 6503 btrfs_test_opt(fs_info, SSD_SPREAD)) { in fetch_cluster_info() 6639 if (btrfs_test_opt(fs_info, DISCARD)) in btrfs_finish_extent_commit() [all …]
|
D | dev-replace.c | 147 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace() 156 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace()
|
D | transaction.c | 1740 if (btrfs_test_opt(fs_info, SPACE_CACHE)) in update_super_roots() 1932 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush() 1939 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
|
D | ctree.h | 1371 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ macro 1376 if (!btrfs_test_opt(fs_info, opt)) \ 1383 if (btrfs_test_opt(fs_info, opt)) \ 1394 return (btrfs_test_opt(fs_info, FRAGMENT_METADATA) && in btrfs_should_fragment_free_space() 1396 (btrfs_test_opt(fs_info, FRAGMENT_DATA) && in btrfs_should_fragment_free_space()
|
D | volumes.c | 3947 if (btrfs_test_opt(fs_info, SKIP_BALANCE)) { in btrfs_resume_balance_async() 4648 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in __btrfs_alloc_chunk() 4735 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in __btrfs_alloc_chunk() 4766 if (btrfs_test_opt(info, ENOSPC_DEBUG)) { in __btrfs_alloc_chunk() 6457 !btrfs_test_opt(fs_info, DEGRADED)) { in read_one_chunk() 6535 if (!btrfs_test_opt(fs_info, DEGRADED)) in open_seed_devices() 6597 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev() 6613 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev()
|
D | free-space-cache.c | 3077 if (btrfs_test_opt(fs_info, SSD_SPREAD)) { in btrfs_find_space_cluster() 3521 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in load_free_ino_cache() 3566 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_write_out_ino_cache()
|
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() 699 if (!btrfs_test_opt(fs_info, FORCE_COMPRESS) && in compress_file_range() 1255 !btrfs_test_opt(fs_info, FORCE_COMPRESS)) in cow_file_range_async() 6470 if (btrfs_test_opt(fs_info, NODATASUM)) in btrfs_new_inode() 6472 if (btrfs_test_opt(fs_info, NODATACOW)) in btrfs_new_inode()
|
D | tree-log.c | 3046 if (!btrfs_test_opt(fs_info, SSD) && in btrfs_sync_log() 5670 if (btrfs_test_opt(fs_info, NOTREELOG)) { in btrfs_log_inode_parent()
|
D | ioctl.c | 506 if (btrfs_test_opt(fs_info, NOLOGREPLAY)) in btrfs_ioctl_fitrim() 2936 if (!btrfs_test_opt(fs_info, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()
|
D | file.c | 119 if (!btrfs_test_opt(fs_info, AUTO_DEFRAG)) in __need_auto_defrag()
|