Home
last modified time | relevance | path

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

/fs/btrfs/
A Dsuper.c1063 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1065 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1067 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1069 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1076 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1085 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1087 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1089 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1091 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
1143 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options()
[all …]
A Ddiscard.c301 !btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC)) in btrfs_discard_check_filter()
373 if (!block_group || !btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC)) in btrfs_discard_queue_work()
657 !btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC) || in btrfs_discard_update_discardable()
746 if (!btrfs_test_opt(fs_info, DISCARD_ASYNC)) { in btrfs_discard_resume()
A Dblock-group.c32 (btrfs_test_opt(fs_info, FRAGMENT_DATA) && in btrfs_should_fragment_free_space()
867 if (btrfs_test_opt(fs_info, SPACE_CACHE)) { in caching_thread()
1221 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_remove_block_group()
2396 if (btrfs_test_opt(info, SPACE_CACHE)) in read_one_block_group()
2468 if (btrfs_test_opt(info, DISCARD_ASYNC)) in read_one_block_group()
2563 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_read_block_groups()
2566 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_read_block_groups()
3200 if (!btrfs_test_opt(fs_info, SPACE_CACHE)) in cache_save_setup()
3359 !btrfs_test_opt(fs_info, SPACE_CACHE)) in btrfs_setup_space_cache()
3720 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_update_block_group()
[all …]
A Ddisk-io.c2123 btrfs_test_opt(fs_info, IGNOREDATACSUMS)) { in load_global_roots_objectid()
2178 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) in load_global_roots_objectid()
2246 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) { in btrfs_read_roots()
2266 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) { in btrfs_read_roots()
2285 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) { in btrfs_read_roots()
2702 if (!btrfs_test_opt(fs_info, USEBACKUPROOT)) in init_tree_roots()
2956 if (btrfs_test_opt(fs_info, IGNOREMETACSUMS)) in init_mount_fs_info()
3060 if (btrfs_test_opt(fs_info, CLEAR_CACHE) && in btrfs_start_pre_rw_mount()
3129 if (btrfs_test_opt(fs_info, FREE_SPACE_TREE) && in btrfs_start_pre_rw_mount()
3239 !btrfs_test_opt(fs_info, NOLOGREPLAY)) { in btrfs_check_features()
[all …]
A Dref-verify.c669 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_ref_tree_mod()
893 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_cache()
912 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_tree_range()
980 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_build_ref_tree()
A Ddelayed-ref.h323 if (btrfs_test_opt(fs_info, FREE_SPACE_TREE)) in btrfs_calc_delayed_ref_bytes()
A Dmessages.c305 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic()
A Dspace-info.c1096 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in maybe_fail_all_tickets()
1109 if (!aborted && btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in maybe_fail_all_tickets()
1889 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in btrfs_reserve_metadata_bytes()
1920 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in btrfs_reserve_data_bytes()
A Dblock-rsv.c523 btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_use_block_rsv()
A Ddev-replace.c181 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace()
190 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace()
A Dtransaction.c1950 if (btrfs_test_opt(fs_info, SPACE_CACHE)) in update_super_roots()
2136 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush()
2143 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
A Dvolumes.c4679 if (btrfs_test_opt(fs_info, SKIP_BALANCE)) { in btrfs_resume_balance_async()
5284 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in gather_device_info()
5411 if (btrfs_test_opt(info, ENOSPC_DEBUG)) { in decide_stripe_size()
5604 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_create_chunk()
7012 if (!btrfs_test_opt(fs_info, DEGRADED)) { in handle_missing_device()
7163 if (!btrfs_test_opt(fs_info, DEGRADED)) { in open_seed_devices()
7233 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev()
7249 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev()
8066 if (btrfs_test_opt(fs_info, IGNOREBADROOTS)) in btrfs_verify_dev_extents()
8223 if (btrfs_test_opt(fs_info, DEGRADED)) in btrfs_repair_one_zone()
A Dfs.h1059 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ macro
A Dextent-tree.c1413 ASSERT(btrfs_test_opt(fs_info, DEGRADED)); in btrfs_discard_extent()
2728 if (btrfs_test_opt(fs_info, SSD)) in fetch_cluster_info()
2733 btrfs_test_opt(fs_info, SSD_SPREAD)) { in fetch_cluster_info()
2841 if (btrfs_test_opt(fs_info, DISCARD_SYNC)) in btrfs_finish_extent_commit()
2886 if (btrfs_test_opt(fs_info, DISCARD_ASYNC)) { in btrfs_finish_extent_commit()
4728 } else if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_reserve_extent()
A Dfree-space-cache.c2763 if (btrfs_test_opt(block_group->fs_info, DISCARD_SYNC)) in btrfs_add_free_space()
2793 if (btrfs_test_opt(block_group->fs_info, DISCARD_SYNC) || in btrfs_add_free_space_async_trimmed()
2794 btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC)) in btrfs_add_free_space_async_trimmed()
3575 if (btrfs_test_opt(fs_info, SSD_SPREAD)) { in btrfs_find_space_cluster()
A Dzoned.c1487 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_load_block_group_raid1()
1494 if (!btrfs_test_opt(fs_info, DEGRADED) && in btrfs_load_block_group_raid1()
A Ddefrag.c104 if (!btrfs_test_opt(fs_info, AUTO_DEFRAG)) in need_auto_defrag()
A Dinode.c793 if (btrfs_test_opt(fs_info, FORCE_COMPRESS)) in inode_need_compress()
798 if (btrfs_test_opt(fs_info, COMPRESS) || in inode_need_compress()
1023 if (!btrfs_test_opt(fs_info, FORCE_COMPRESS) && !inode->prop_compress) in compress_file_range()
3289 if (ret && btrfs_test_opt(fs_info, DISCARD_SYNC)) in btrfs_finish_one_ordered()
6474 if (btrfs_test_opt(fs_info, NODATASUM)) in btrfs_create_new_inode()
6476 if (btrfs_test_opt(fs_info, NODATACOW)) in btrfs_create_new_inode()
A Dioctl.c436 if (btrfs_test_opt(fs_info, NOLOGREPLAY)) in btrfs_ioctl_fitrim()
2451 if (!btrfs_test_opt(fs_info, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()
A Dtree-log.c3003 if (!btrfs_test_opt(fs_info, SSD) && in btrfs_sync_log()
7105 if (btrfs_test_opt(fs_info, NOTREELOG)) in btrfs_log_inode_parent()
A Dscrub.c2848 if (btrfs_test_opt(fs_info, DISCARD_ASYNC)) in scrub_enumerate_chunks()

Completed in 139 milliseconds