Home
last modified time | relevance | path

Searched refs:btrfs_test_opt (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/fs/btrfs/
Dsuper.c441 if (btrfs_test_opt(root, NODATASUM)) { in btrfs_parse_options()
442 if (btrfs_test_opt(root, NODATACOW)) in btrfs_parse_options()
451 if (!btrfs_test_opt(root, NODATACOW)) { in btrfs_parse_options()
452 if (!btrfs_test_opt(root, COMPRESS) || in btrfs_parse_options()
453 !btrfs_test_opt(root, FORCE_COMPRESS)) { in btrfs_parse_options()
505 if (!btrfs_test_opt(root, COMPRESS)) in btrfs_parse_options()
755 if (!ret && btrfs_test_opt(root, SPACE_CACHE)) in btrfs_parse_options()
1036 if (btrfs_test_opt(root, DEGRADED)) in btrfs_show_options()
1038 if (btrfs_test_opt(root, NODATASUM)) in btrfs_show_options()
1040 if (btrfs_test_opt(root, NODATACOW)) in btrfs_show_options()
[all …]
Dinode-map.c41 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in caching_kthread()
144 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in start_caching()
188 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_find_free_ino()
214 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_return_ino()
254 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_unpin_free_ino()
415 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_save_ino_cache()
Dtree-defrag.c55 if (btrfs_test_opt(root, SSD)) in btrfs_defrag_leaves()
Ddev-replace.c148 !btrfs_test_opt(dev_root, DEGRADED)) { in btrfs_init_dev_replace()
157 !btrfs_test_opt(dev_root, DEGRADED)) { in btrfs_init_dev_replace()
Ddisk-io.c2946 if (!btrfs_test_opt(tree_root, SSD) && in open_ctree()
2947 !btrfs_test_opt(tree_root, NOSSD) && in open_ctree()
2961 if (btrfs_test_opt(tree_root, CHECK_INTEGRITY)) { in open_ctree()
2963 btrfs_test_opt(tree_root, in open_ctree()
3052 } else if (btrfs_test_opt(tree_root, RESCAN_UUID_TREE) || in open_ctree()
3120 if (!btrfs_test_opt(tree_root, RECOVERY)) in open_ctree()
3513 do_barriers = !btrfs_test_opt(root, NOBARRIER); in write_all_supers()
3786 if (btrfs_test_opt(root, CHECK_INTEGRITY)) in close_ctree()
Dextent-tree.c3306 !btrfs_test_opt(root, SPACE_CACHE)) { in cache_save_setup()
3364 !btrfs_test_opt(root, SPACE_CACHE)) in btrfs_setup_space_cache()
4129 if (left < thresh && btrfs_test_opt(root, ENOSPC_DEBUG)) { in check_system_chunk()
5661 if (btrfs_test_opt(root, SPACE_CACHE) && in update_block_group()
6065 if (btrfs_test_opt(root, DISCARD)) in btrfs_finish_extent_commit()
6763 if (!btrfs_test_opt(root, SSD)) in find_free_extent()
6768 btrfs_test_opt(root, SSD)) { in find_free_extent()
7195 } else if (btrfs_test_opt(root, ENOSPC_DEBUG)) { in btrfs_reserve_extent()
7226 if (btrfs_test_opt(root, DISCARD)) in __btrfs_free_reserved_extent()
7539 if (btrfs_test_opt(root, ENOSPC_DEBUG)) { in use_block_rsv()
[all …]
Dtransaction.c1547 if (btrfs_test_opt(root, SPACE_CACHE)) in update_super_roots()
1737 if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush()
1744 if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
Dfree-space-cache.c2993 if (btrfs_test_opt(root, SSD_SPREAD)) { in btrfs_find_space_cluster()
3427 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in load_free_ino_cache()
3471 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_write_out_ino_cache()
Dvolumes.c3558 if (btrfs_test_opt(fs_info->tree_root, SKIP_BALANCE)) { in btrfs_resume_balance_async()
6070 if (!map->stripes[i].dev && !btrfs_test_opt(root, DEGRADED)) { in read_one_chunk()
6136 if (!btrfs_test_opt(root, DEGRADED)) in open_seed_devices()
6198 if (!btrfs_test_opt(root, DEGRADED)) in read_one_dev()
6206 if (!device->bdev && !btrfs_test_opt(root, DEGRADED)) in read_one_dev()
Dctree.h2162 #define btrfs_test_opt(root, opt) ((root)->fs_info->mount_opt & \ macro
2167 if (!btrfs_test_opt(root, opt)) \
2174 if (btrfs_test_opt(root, opt)) \
Dinode.c364 if (btrfs_test_opt(root, FORCE_COMPRESS)) in inode_need_compress()
369 if (btrfs_test_opt(root, COMPRESS) || in inode_need_compress()
592 if (!btrfs_test_opt(root, FORCE_COMPRESS) && in compress_file_range()
1138 !btrfs_test_opt(root, FORCE_COMPRESS)) in cow_file_range_async()
6150 if (btrfs_test_opt(root, NODATASUM)) in btrfs_new_inode()
6152 if (btrfs_test_opt(root, NODATACOW)) in btrfs_new_inode()
Dtree-log.c2659 if (!btrfs_test_opt(root, SSD) && in btrfs_sync_log()
5077 if (btrfs_test_opt(root, NOTREELOG)) { in btrfs_log_inode_parent()
Dfile.c134 if (!btrfs_test_opt(root, AUTO_DEFRAG)) in __need_auto_defrag()
Dioctl.c2369 if (!btrfs_test_opt(root, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()