Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Dsuper.c279 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic()
477 if (btrfs_test_opt(info, NODATASUM)) { in btrfs_parse_options()
478 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options()
488 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options()
489 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options()
490 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options()
512 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options()
516 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options()
575 if ((btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options()
578 (!btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options()
[all …]
Dinode-map.c27 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in caching_kthread()
131 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in start_caching()
175 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_find_free_ino()
202 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_return_ino()
242 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_unpin_free_ino()
403 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_save_ino_cache()
Dref-verify.c700 if (!btrfs_test_opt(root->fs_info, REF_VERIFY)) in btrfs_ref_tree_mod()
897 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_cache()
916 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_tree_range()
982 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_build_ref_tree()
Ddisk-io.c3110 if (!btrfs_test_opt(fs_info, NOSSD) && in open_ctree()
3122 if (btrfs_test_opt(fs_info, CHECK_INTEGRITY)) { in open_ctree()
3124 btrfs_test_opt(fs_info, in open_ctree()
3143 !btrfs_test_opt(fs_info, NOLOGREPLAY)) { in open_ctree()
3185 if (btrfs_test_opt(fs_info, CLEAR_CACHE) && in open_ctree()
3205 if (btrfs_test_opt(fs_info, FREE_SPACE_TREE) && in open_ctree()
3251 } else if (btrfs_test_opt(fs_info, RESCAN_UUID_TREE) || in open_ctree()
3325 if (!btrfs_test_opt(fs_info, USEBACKUPROOT)) in open_ctree()
3495 if (i == 0 && !btrfs_test_opt(device->fs_info, NOBARRIER)) in write_dev_supers()
3716 do_barriers = !btrfs_test_opt(fs_info, NOBARRIER); in write_all_supers()
[all …]
Dextent-tree.c626 if (btrfs_test_opt(fs_info, SPACE_CACHE)) { in cache_block_group()
1990 ASSERT(btrfs_test_opt(fs_info, DEGRADED)); in btrfs_discard_extent()
3407 !btrfs_test_opt(fs_info, SPACE_CACHE)) { in cache_save_setup()
3485 !btrfs_test_opt(fs_info, SPACE_CACHE)) in btrfs_setup_space_cache()
4408 if (left < thresh && btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in check_system_chunk()
5243 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in reserve_metadata_bytes()
6103 if (btrfs_test_opt(info, SPACE_CACHE) && in update_block_group()
6492 if (btrfs_test_opt(fs_info, SSD)) in fetch_cluster_info()
6497 btrfs_test_opt(fs_info, SSD_SPREAD)) { in fetch_cluster_info()
6631 if (btrfs_test_opt(fs_info, DISCARD)) in btrfs_finish_extent_commit()
[all …]
Ddev-replace.c125 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace()
134 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace()
Dtransaction.c1708 if (btrfs_test_opt(fs_info, SPACE_CACHE)) in update_super_roots()
1900 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush()
1907 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
Dctree.h1372 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ macro
1377 if (!btrfs_test_opt(fs_info, opt)) \
1384 if (btrfs_test_opt(fs_info, opt)) \
1395 return (btrfs_test_opt(fs_info, FRAGMENT_METADATA) && in btrfs_should_fragment_free_space()
1397 (btrfs_test_opt(fs_info, FRAGMENT_DATA) && in btrfs_should_fragment_free_space()
Dvolumes.c3903 if (btrfs_test_opt(fs_info, SKIP_BALANCE)) { in btrfs_resume_balance_async()
4611 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in __btrfs_alloc_chunk()
4698 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in __btrfs_alloc_chunk()
4729 if (btrfs_test_opt(info, ENOSPC_DEBUG)) { in __btrfs_alloc_chunk()
6490 !btrfs_test_opt(fs_info, DEGRADED)) { in read_one_chunk()
6568 if (!btrfs_test_opt(fs_info, DEGRADED)) in open_seed_devices()
6629 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev()
6645 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev()
Dfree-space-cache.c3020 if (btrfs_test_opt(fs_info, SSD_SPREAD)) { in btrfs_find_space_cluster()
3464 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in load_free_ino_cache()
3509 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_write_out_ino_cache()
Dinode.c396 if (btrfs_test_opt(fs_info, FORCE_COMPRESS)) in inode_need_compress()
404 if (btrfs_test_opt(fs_info, COMPRESS) || in inode_need_compress()
652 if (!btrfs_test_opt(fs_info, FORCE_COMPRESS) && in compress_file_range()
1198 !btrfs_test_opt(fs_info, FORCE_COMPRESS)) in cow_file_range_async()
6320 if (btrfs_test_opt(fs_info, NODATASUM)) in btrfs_new_inode()
6322 if (btrfs_test_opt(fs_info, NODATACOW)) in btrfs_new_inode()
Dtree-log.c2983 if (!btrfs_test_opt(fs_info, SSD) && in btrfs_sync_log()
5618 if (btrfs_test_opt(fs_info, NOTREELOG)) { in btrfs_log_inode_parent()
Dfile.c119 if (!btrfs_test_opt(fs_info, AUTO_DEFRAG)) in __need_auto_defrag()
Dioctl.c2875 if (!btrfs_test_opt(fs_info, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()