Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Dsuper.c623 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options()
1442 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1444 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1446 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1448 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1455 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1464 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1466 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1468 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1470 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
[all …]
A Ddiscard.c252 !btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC)) in btrfs_discard_check_filter()
321 if (!block_group || !btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC)) in btrfs_discard_queue_work()
597 !btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC) || in btrfs_discard_update_discardable()
679 if (!btrfs_test_opt(fs_info, DISCARD_ASYNC)) { in btrfs_discard_resume()
A Dblock-group.c662 if (btrfs_test_opt(fs_info, SPACE_CACHE)) { in caching_thread()
758 if (btrfs_test_opt(fs_info, SPACE_CACHE)) in btrfs_cache_block_group()
1017 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_remove_block_group()
2018 if (btrfs_test_opt(info, SPACE_CACHE)) in read_one_block_group()
2095 if (btrfs_test_opt(info, DISCARD_ASYNC)) in read_one_block_group()
2187 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_read_block_groups()
2190 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_read_block_groups()
2701 if (!btrfs_test_opt(fs_info, SPACE_CACHE)) in cache_save_setup()
2860 !btrfs_test_opt(fs_info, SPACE_CACHE)) in btrfs_setup_space_cache()
3228 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_update_block_group()
[all …]
A Dblock-group.h234 return (btrfs_test_opt(fs_info, FRAGMENT_METADATA) && in btrfs_should_fragment_free_space()
236 (btrfs_test_opt(fs_info, FRAGMENT_DATA) && in btrfs_should_fragment_free_space()
A Ddisk-io.c2453 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) { in btrfs_read_roots()
2465 if (!btrfs_test_opt(fs_info, IGNOREBADROOTS)) { in btrfs_read_roots()
2477 if (!btrfs_test_opt(fs_info, IGNOREDATACSUMS)) { in btrfs_read_roots()
2798 if (!btrfs_test_opt(fs_info, USEBACKUPROOT)) in init_tree_roots()
3101 if (btrfs_test_opt(fs_info, CLEAR_CACHE) && in btrfs_start_pre_rw_mount()
3155 if (btrfs_test_opt(fs_info, FREE_SPACE_TREE) && in btrfs_start_pre_rw_mount()
3592 if (!btrfs_test_opt(fs_info, NOSSD) && in open_ctree()
3604 if (btrfs_test_opt(fs_info, CHECK_INTEGRITY)) { in open_ctree()
3606 btrfs_test_opt(fs_info, in open_ctree()
3624 !btrfs_test_opt(fs_info, NOLOGREPLAY)) { in open_ctree()
[all …]
A Dref-verify.c676 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_ref_tree_mod()
895 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_cache()
914 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_free_ref_tree_range()
981 if (!btrfs_test_opt(fs_info, REF_VERIFY)) in btrfs_build_ref_tree()
A Dspace-info.c892 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in maybe_fail_all_tickets()
906 if (!aborted && btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in maybe_fail_all_tickets()
1603 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in btrfs_reserve_metadata_bytes()
1634 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) in btrfs_reserve_data_bytes()
A Dblock-rsv.c516 btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_use_block_rsv()
A Ddev-replace.c186 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace()
195 !btrfs_test_opt(fs_info, DEGRADED)) { in btrfs_init_dev_replace()
A Dtransaction.c1830 if (btrfs_test_opt(fs_info, SPACE_CACHE)) in update_super_roots()
2024 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush()
2031 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
A Dvolumes.c4432 if (btrfs_test_opt(fs_info, SKIP_BALANCE)) { in btrfs_resume_balance_async()
5203 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in gather_device_info()
5323 if (btrfs_test_opt(info, ENOSPC_DEBUG)) { in decide_stripe_size()
5456 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_create_chunk()
7115 !btrfs_test_opt(fs_info, DEGRADED)) { in read_one_chunk()
7191 if (!btrfs_test_opt(fs_info, DEGRADED)) in open_seed_devices()
7256 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev()
7272 if (!btrfs_test_opt(fs_info, DEGRADED)) { in read_one_dev()
8155 if (btrfs_test_opt(fs_info, IGNOREBADROOTS)) in btrfs_verify_dev_extents()
8306 if (btrfs_test_opt(fs_info, DEGRADED)) in btrfs_repair_one_zone()
A Dzoned.c693 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_check_mountopts_zoned()
698 if (btrfs_test_opt(info, NODATACOW)) { in btrfs_check_mountopts_zoned()
A Dextent-tree.c1345 ASSERT(btrfs_test_opt(fs_info, DEGRADED)); in btrfs_discard_extent()
2673 if (btrfs_test_opt(fs_info, SSD)) in fetch_cluster_info()
2678 btrfs_test_opt(fs_info, SSD_SPREAD)) { in fetch_cluster_info()
2808 if (btrfs_test_opt(fs_info, DISCARD_SYNC)) in btrfs_finish_extent_commit()
2819 if (btrfs_test_opt(fs_info, DISCARD_ASYNC)) { in btrfs_finish_extent_commit()
4513 } else if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_reserve_extent()
A Dfree-space-cache.c2602 if (btrfs_test_opt(block_group->fs_info, DISCARD_SYNC)) in btrfs_add_free_space()
2634 if (btrfs_test_opt(block_group->fs_info, DISCARD_SYNC) || in btrfs_add_free_space_async_trimmed()
2635 btrfs_test_opt(block_group->fs_info, DISCARD_ASYNC)) in btrfs_add_free_space_async_trimmed()
3431 if (btrfs_test_opt(fs_info, SSD_SPREAD)) { in btrfs_find_space_cluster()
A Dctree.h1444 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ macro
1449 if (!btrfs_test_opt(fs_info, opt)) \
1456 if (btrfs_test_opt(fs_info, opt)) \
A Dinode.c548 if (btrfs_test_opt(fs_info, FORCE_COMPRESS)) in inode_need_compress()
556 if (btrfs_test_opt(fs_info, COMPRESS) || in inode_need_compress()
840 if (!btrfs_test_opt(fs_info, FORCE_COMPRESS) && in compress_file_range()
1416 !btrfs_test_opt(fs_info, FORCE_COMPRESS)) { in cow_file_range_async()
3186 if (ret && btrfs_test_opt(fs_info, DISCARD_SYNC)) in btrfs_finish_ordered_io()
6579 if (btrfs_test_opt(fs_info, NODATASUM)) in btrfs_new_inode()
6581 if (btrfs_test_opt(fs_info, NODATACOW)) in btrfs_new_inode()
A Dioctl.c452 if (btrfs_test_opt(fs_info, NOLOGREPLAY)) in btrfs_ioctl_fitrim()
3031 if (!btrfs_test_opt(fs_info, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()
A Dtree-log.c3148 if (!btrfs_test_opt(fs_info, SSD) && in btrfs_sync_log()
6376 if (btrfs_test_opt(fs_info, NOTREELOG)) { in btrfs_log_inode_parent()
A Dfile.c123 if (!btrfs_test_opt(fs_info, AUTO_DEFRAG)) in __need_auto_defrag()
A Dscrub.c3917 if (btrfs_test_opt(fs_info, DISCARD_ASYNC)) in scrub_enumerate_chunks()

Completed in 152 milliseconds