Searched refs:btrfs_test_opt (Results 1 – 13 of 13) sorted by relevance
/fs/btrfs/ |
D | super.c | 577 if (!ret && btrfs_test_opt(root, SPACE_CACHE)) in btrfs_parse_options() 833 if (btrfs_test_opt(root, DEGRADED)) in btrfs_show_options() 835 if (btrfs_test_opt(root, NODATASUM)) in btrfs_show_options() 837 if (btrfs_test_opt(root, NODATACOW)) in btrfs_show_options() 839 if (btrfs_test_opt(root, NOBARRIER)) in btrfs_show_options() 850 if (btrfs_test_opt(root, COMPRESS)) { in btrfs_show_options() 855 if (btrfs_test_opt(root, FORCE_COMPRESS)) in btrfs_show_options() 860 if (btrfs_test_opt(root, NOSSD)) in btrfs_show_options() 862 if (btrfs_test_opt(root, SSD_SPREAD)) in btrfs_show_options() 864 else if (btrfs_test_opt(root, SSD)) in btrfs_show_options() [all …]
|
D | inode-map.c | 41 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in caching_kthread() 146 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in start_caching() 186 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_find_free_ino() 213 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_return_ino() 265 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_unpin_free_ino() 419 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_save_ino_cache()
|
D | tree-defrag.c | 58 if (btrfs_test_opt(root, SSD)) in btrfs_defrag_leaves()
|
D | disk-io.c | 2379 if (!btrfs_test_opt(tree_root, SSD) && in open_ctree() 2380 !btrfs_test_opt(tree_root, NOSSD) && in open_ctree() 2388 if (btrfs_test_opt(tree_root, CHECK_INTEGRITY)) { in open_ctree() 2390 btrfs_test_opt(tree_root, in open_ctree() 2539 if (!btrfs_test_opt(tree_root, RECOVERY)) in open_ctree() 2830 do_barriers = !btrfs_test_opt(root, NOBARRIER); in write_all_supers() 3138 if (btrfs_test_opt(root, CHECK_INTEGRITY)) in close_ctree() 3560 if (btrfs_test_opt(root, DISCARD)) in btrfs_destroy_pinned_extent()
|
D | transaction.c | 1087 if (btrfs_test_opt(root, SPACE_CACHE)) in update_super_roots() 1235 int flush_on_commit = btrfs_test_opt(root, FLUSHONCOMMIT); in btrfs_commit_transaction()
|
D | extent-tree.c | 3477 if (left < thresh && btrfs_test_opt(root, ENOSPC_DEBUG)) { in check_system_chunk() 4691 if (btrfs_test_opt(root, SPACE_CACHE) && in update_block_group() 4958 if (btrfs_test_opt(root, DISCARD)) in btrfs_finish_extent_commit() 5473 if (!btrfs_test_opt(root, SSD)) in find_free_extent() 5478 btrfs_test_opt(root, SSD)) { in find_free_extent() 5910 } else if (btrfs_test_opt(root, ENOSPC_DEBUG)) { in btrfs_reserve_extent() 5940 if (btrfs_test_opt(root, DISCARD)) in __btrfs_free_reserved_extent() 7626 if (btrfs_test_opt(root, SPACE_CACHE) && in btrfs_read_block_groups() 7629 if (btrfs_test_opt(root, CLEAR_CACHE)) in btrfs_read_block_groups()
|
D | volumes.c | 2845 if (btrfs_test_opt(fs_info->tree_root, SKIP_BALANCE)) { in balance_kthread() 3622 if (btrfs_test_opt(root, DEGRADED)) { in btrfs_chunk_readonly() 4288 if (!map->stripes[i].dev && !btrfs_test_opt(root, DEGRADED)) { in read_one_chunk() 4401 if (ret && !btrfs_test_opt(root, DEGRADED)) in read_one_dev() 4407 if (!btrfs_test_opt(root, DEGRADED)) in read_one_dev()
|
D | free-space-cache.c | 2519 if (btrfs_test_opt(root, SSD_SPREAD)) { in btrfs_find_space_cluster() 2884 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in load_free_ino_cache() 2925 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_write_out_ino_cache()
|
D | inode.c | 402 (btrfs_test_opt(root, COMPRESS) || in compress_file_range() 531 if (!btrfs_test_opt(root, FORCE_COMPRESS) && in compress_file_range() 1384 else if (!btrfs_test_opt(root, COMPRESS) && in run_delalloc_range() 4674 if (btrfs_test_opt(root, NODATASUM)) in btrfs_new_inode() 4676 if (btrfs_test_opt(root, NODATACOW) || in btrfs_new_inode()
|
D | tree-log.c | 2068 if (!btrfs_test_opt(root, SSD) && root->log_multiple_pids) { in btrfs_sync_log() 3106 if (btrfs_test_opt(root, NOTREELOG)) { in btrfs_log_inode_parent()
|
D | file.c | 128 if (!btrfs_test_opt(root, AUTO_DEFRAG)) in btrfs_add_inode_defrag()
|
D | ctree.h | 1547 #define btrfs_test_opt(root, opt) ((root)->fs_info->mount_opt & \ macro
|
D | ioctl.c | 1973 if (!btrfs_test_opt(root, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()
|