Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Dsuper.c427 if (btrfs_test_opt(root, NODATASUM)) { in btrfs_parse_options()
428 if (btrfs_test_opt(root, NODATACOW)) in btrfs_parse_options()
437 if (!btrfs_test_opt(root, NODATACOW)) { in btrfs_parse_options()
438 if (!btrfs_test_opt(root, COMPRESS) || in btrfs_parse_options()
439 !btrfs_test_opt(root, FORCE_COMPRESS)) { in btrfs_parse_options()
491 if (!btrfs_test_opt(root, COMPRESS)) in btrfs_parse_options()
757 if (!ret && btrfs_test_opt(root, SPACE_CACHE)) in btrfs_parse_options()
1124 if (btrfs_test_opt(root, DEGRADED)) in btrfs_show_options()
1126 if (btrfs_test_opt(root, NODATASUM)) in btrfs_show_options()
1128 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()
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.c3012 if (!btrfs_test_opt(tree_root, SSD) && in open_ctree()
3013 !btrfs_test_opt(tree_root, NOSSD) && in open_ctree()
3027 if (btrfs_test_opt(tree_root, CHECK_INTEGRITY)) { in open_ctree()
3029 btrfs_test_opt(tree_root, in open_ctree()
3118 } else if (btrfs_test_opt(tree_root, RESCAN_UUID_TREE) || in open_ctree()
3189 if (!btrfs_test_opt(tree_root, RECOVERY)) in open_ctree()
3604 do_barriers = !btrfs_test_opt(root, NOBARRIER); in write_all_supers()
3888 if (btrfs_test_opt(root, CHECK_INTEGRITY)) in close_ctree()
Dextent-tree.c3404 !btrfs_test_opt(root, SPACE_CACHE)) { in cache_save_setup()
3481 !btrfs_test_opt(root, SPACE_CACHE)) in btrfs_setup_space_cache()
4308 if (left < thresh && btrfs_test_opt(root, ENOSPC_DEBUG)) { in check_system_chunk()
5893 if (btrfs_test_opt(root, SPACE_CACHE) && in update_block_group()
6221 bool ssd = btrfs_test_opt(root, SSD); in fetch_cluster_info()
6351 if (btrfs_test_opt(root, DISCARD)) in btrfs_finish_extent_commit()
7561 } else if (btrfs_test_opt(root, ENOSPC_DEBUG)) { in btrfs_reserve_extent()
7592 if (btrfs_test_opt(root, DISCARD)) in __btrfs_free_reserved_extent()
7891 if (btrfs_test_opt(root, ENOSPC_DEBUG)) { in use_block_rsv()
9579 if (btrfs_test_opt(info->tree_root, ENOSPC_DEBUG)) { in btrfs_free_block_groups()
[all …]
Dtransaction.c1605 if (btrfs_test_opt(root, SPACE_CACHE)) in update_super_roots()
1791 if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush()
1798 if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
Dctree.h2194 #define btrfs_test_opt(root, opt) ((root)->fs_info->mount_opt & \ macro
2199 if (!btrfs_test_opt(root, opt)) \
2206 if (btrfs_test_opt(root, opt)) \
2216 return (btrfs_test_opt(root, FRAGMENT_METADATA) && in btrfs_should_fragment_free_space()
2218 (btrfs_test_opt(root, FRAGMENT_DATA) && in btrfs_should_fragment_free_space()
Dfree-space-cache.c3037 if (btrfs_test_opt(root, SSD_SPREAD)) { in btrfs_find_space_cluster()
3481 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in load_free_ino_cache()
3525 if (!btrfs_test_opt(root, INODE_MAP_CACHE)) in btrfs_write_out_ino_cache()
Dvolumes.c3847 if (btrfs_test_opt(fs_info->tree_root, SKIP_BALANCE)) { in btrfs_resume_balance_async()
6257 if (!map->stripes[i].dev && !btrfs_test_opt(root, DEGRADED)) { in read_one_chunk()
6325 if (!btrfs_test_opt(root, DEGRADED)) in open_seed_devices()
6387 if (!btrfs_test_opt(root, DEGRADED)) in read_one_dev()
6396 if (!device->bdev && !btrfs_test_opt(root, DEGRADED)) in read_one_dev()
Dinode.c371 if (btrfs_test_opt(root, FORCE_COMPRESS)) in inode_need_compress()
376 if (btrfs_test_opt(root, COMPRESS) || in inode_need_compress()
599 if (!btrfs_test_opt(root, FORCE_COMPRESS) && in compress_file_range()
1148 !btrfs_test_opt(root, FORCE_COMPRESS)) in cow_file_range_async()
6221 if (btrfs_test_opt(root, NODATASUM)) in btrfs_new_inode()
6223 if (btrfs_test_opt(root, NODATACOW)) in btrfs_new_inode()
Dtree-log.c2759 if (!btrfs_test_opt(root, SSD) && in btrfs_sync_log()
5264 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.c2396 if (!btrfs_test_opt(root, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()