/fs/btrfs/ |
D | disk-io.c | 56 struct btrfs_fs_info *fs_info); 58 static int btrfs_destroy_marked_extents(struct btrfs_fs_info *fs_info, 61 static int btrfs_destroy_pinned_extent(struct btrfs_fs_info *fs_info, 63 static int btrfs_cleanup_transaction(struct btrfs_fs_info *fs_info); 64 static void btrfs_error_commit_super(struct btrfs_fs_info *fs_info); 100 static void btrfs_free_csum_hash(struct btrfs_fs_info *fs_info) in btrfs_free_csum_hash() argument 102 if (fs_info->csum_shash) in btrfs_free_csum_hash() 103 crypto_free_shash(fs_info->csum_shash); in btrfs_free_csum_hash() 211 struct btrfs_fs_info *fs_info = buf->fs_info; in csum_tree_block() local 212 const int num_pages = fs_info->nodesize >> PAGE_SHIFT; in csum_tree_block() [all …]
|
D | transaction.c | 128 btrfs_err(transaction->fs_info, in btrfs_put_transaction() 156 struct btrfs_fs_info *fs_info = trans->fs_info; in switch_commit_roots() local 160 down_write(&fs_info->commit_root_sem); in switch_commit_roots() 180 btrfs_drop_and_free_fs_root(fs_info, root); in switch_commit_roots() 212 &fs_info->caching_block_groups, list) { in switch_commit_roots() 223 up_write(&fs_info->commit_root_sem); in switch_commit_roots() 257 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_chunk_metadata() local 264 btrfs_block_rsv_release(fs_info, &fs_info->chunk_block_rsv, in btrfs_trans_release_chunk_metadata() 272 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction() argument 277 spin_lock(&fs_info->trans_lock); in join_transaction() [all …]
|
D | qgroup.c | 69 static void qgroup_rsv_add(struct btrfs_fs_info *fs_info, in qgroup_rsv_add() argument 73 trace_qgroup_update_reserve(fs_info, qgroup, num_bytes, type); in qgroup_rsv_add() 77 static void qgroup_rsv_release(struct btrfs_fs_info *fs_info, in qgroup_rsv_release() argument 81 trace_qgroup_update_reserve(fs_info, qgroup, -(s64)num_bytes, type); in qgroup_rsv_release() 95 static void qgroup_rsv_add_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_add_by_qgroup() argument 102 qgroup_rsv_add(fs_info, dest, src->rsv.values[i], i); in qgroup_rsv_add_by_qgroup() 105 static void qgroup_rsv_release_by_qgroup(struct btrfs_fs_info *fs_info, in qgroup_rsv_release_by_qgroup() argument 112 qgroup_rsv_release(fs_info, dest, src->rsv.values[i], i); in qgroup_rsv_release_by_qgroup() 166 qgroup_rescan_init(struct btrfs_fs_info *fs_info, u64 progress_objectid, 168 static void qgroup_rescan_zero_tracking(struct btrfs_fs_info *fs_info); [all …]
|
D | dev-replace.c | 65 static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info, 69 int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info) in btrfs_init_dev_replace() argument 72 struct btrfs_root *dev_root = fs_info->dev_root; in btrfs_init_dev_replace() 73 struct btrfs_dev_replace *dev_replace = &fs_info->dev_replace; in btrfs_init_dev_replace() 98 if (btrfs_find_device(fs_info->fs_devices, in btrfs_init_dev_replace() 100 btrfs_err(fs_info, in btrfs_init_dev_replace() 130 btrfs_warn(fs_info, in btrfs_init_dev_replace() 161 if (btrfs_find_device(fs_info->fs_devices, in btrfs_init_dev_replace() 163 btrfs_err(fs_info, in btrfs_init_dev_replace() 173 dev_replace->srcdev = btrfs_find_device(fs_info->fs_devices, in btrfs_init_dev_replace() [all …]
|
D | delalloc-space.c | 117 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() local 121 bytes = ALIGN(bytes, fs_info->sectorsize); in btrfs_alloc_data_chunk_ondemand() 126 return btrfs_reserve_data_bytes(fs_info, bytes, flush); in btrfs_alloc_data_chunk_ondemand() 132 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space() local 136 len = round_up(start + len, fs_info->sectorsize) - in btrfs_check_data_free_space() 137 round_down(start, fs_info->sectorsize); in btrfs_check_data_free_space() 138 start = round_down(start, fs_info->sectorsize); in btrfs_check_data_free_space() 147 btrfs_free_reserved_data_space_noquota(fs_info, len); in btrfs_check_data_free_space() 161 void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, in btrfs_free_reserved_data_space_noquota() argument 166 ASSERT(IS_ALIGNED(len, fs_info->sectorsize)); in btrfs_free_reserved_data_space_noquota() [all …]
|
D | block-rsv.c | 102 static u64 block_rsv_release_bytes(struct btrfs_fs_info *fs_info, in block_rsv_release_bytes() argument 151 btrfs_space_info_free_bytes_may_use(fs_info, in block_rsv_release_bytes() 181 void btrfs_init_metadata_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_init_metadata_block_rsv() argument 186 rsv->space_info = btrfs_find_space_info(fs_info, in btrfs_init_metadata_block_rsv() 190 struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_alloc_block_rsv() argument 199 btrfs_init_metadata_block_rsv(fs_info, block_rsv, type); in btrfs_alloc_block_rsv() 203 void btrfs_free_block_rsv(struct btrfs_fs_info *fs_info, in btrfs_free_block_rsv() argument 208 btrfs_block_rsv_release(fs_info, rsv, (u64)-1, NULL); in btrfs_free_block_rsv() 275 u64 btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, in btrfs_block_rsv_release() argument 279 struct btrfs_block_rsv *global_rsv = &fs_info->global_block_rsv; in btrfs_block_rsv_release() [all …]
|
D | space-info.c | 221 int btrfs_init_space_info(struct btrfs_fs_info *fs_info) in btrfs_init_space_info() argument 229 disk_super = fs_info->super_copy; in btrfs_init_space_info() 238 ret = create_space_info(fs_info, flags); in btrfs_init_space_info() 244 ret = create_space_info(fs_info, flags); in btrfs_init_space_info() 247 ret = create_space_info(fs_info, flags); in btrfs_init_space_info() 252 ret = create_space_info(fs_info, flags); in btrfs_init_space_info() 298 static u64 calc_available_free_space(struct btrfs_fs_info *fs_info, in calc_available_free_space() argument 307 profile = btrfs_system_alloc_profile(fs_info); in calc_available_free_space() 309 profile = btrfs_metadata_alloc_profile(fs_info); in calc_available_free_space() 311 avail = atomic64_read(&fs_info->free_chunk_space); in calc_available_free_space() [all …]
|
D | reada.c | 80 struct btrfs_fs_info *fs_info; member 86 static void reada_start_machine(struct btrfs_fs_info *fs_info); 87 static void __reada_start_machine(struct btrfs_fs_info *fs_info); 94 static void __readahead_hook(struct btrfs_fs_info *fs_info, in __readahead_hook() argument 159 btrfs_debug(fs_info, in __readahead_hook() 192 reada_extent_put(fs_info, re); /* one ref for each entry */ in __readahead_hook() 200 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_readahead_hook() local 205 spin_lock(&fs_info->reada_lock); in btree_readahead_hook() 206 re = radix_tree_lookup(&fs_info->reada_tree, in btree_readahead_hook() 210 spin_unlock(&fs_info->reada_lock); in btree_readahead_hook() [all …]
|
D | sysfs.c | 92 static u64 get_features(struct btrfs_fs_info *fs_info, in get_features() argument 95 struct btrfs_super_block *disk_super = fs_info->super_copy; in get_features() 104 static void set_features(struct btrfs_fs_info *fs_info, in set_features() argument 107 struct btrfs_super_block *disk_super = fs_info->super_copy; in set_features() 151 struct btrfs_fs_info *fs_info = to_fs_info(kobj); in btrfs_feature_attr_show() local 153 if (fs_info) { in btrfs_feature_attr_show() 154 u64 features = get_features(fs_info, fa->feature_set); in btrfs_feature_attr_show() 167 struct btrfs_fs_info *fs_info; in btrfs_feature_attr_store() local 173 fs_info = to_fs_info(kobj); in btrfs_feature_attr_store() 174 if (!fs_info) in btrfs_feature_attr_store() [all …]
|
D | volumes.c | 221 static int btrfs_relocate_sys_chunks(struct btrfs_fs_info *fs_info); 224 static int __btrfs_map_block(struct btrfs_fs_info *fs_info, 412 static struct btrfs_device *__alloc_device(struct btrfs_fs_info *fs_info) in __alloc_device() argument 439 extent_io_tree_init(fs_info, &dev->alloc_state, in __alloc_device() 999 btrfs_info_in_rcu(device->fs_info, in device_list_add() 1188 device->fs_info = NULL; in btrfs_close_one_device() 1229 fs_devices->fs_info = NULL; in close_fs_devices() 1466 lockdep_assert_held(&device->fs_info->chunk_mutex); in contains_pending_extent() 1567 struct btrfs_fs_info *fs_info = device->fs_info; in find_free_dev_extent_start() local 1568 struct btrfs_root *root = fs_info->dev_root; in find_free_dev_extent_start() [all …]
|
D | ref-verify.c | 211 static void __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() argument 215 btrfs_err(fs_info, " ref-verify: no stacktrace"); in __print_stack_trace() 225 static void inline __print_stack_trace(struct btrfs_fs_info *fs_info, in __print_stack_trace() argument 228 btrfs_err(fs_info, " ref-verify: no stacktrace support"); in __print_stack_trace() 260 static struct block_entry *add_block_entry(struct btrfs_fs_info *fs_info, in add_block_entry() argument 280 spin_lock(&fs_info->ref_verify_lock); in add_block_entry() 281 exist = insert_block_entry(&fs_info->block_tree, be); in add_block_entry() 309 static int add_tree_block(struct btrfs_fs_info *fs_info, u64 ref_root, in add_tree_block() argument 329 be = add_block_entry(fs_info, bytenr, fs_info->nodesize, ref_root); in add_tree_block() 349 spin_unlock(&fs_info->ref_verify_lock); in add_tree_block() [all …]
|
D | block-group.c | 25 static u64 get_restripe_target(struct btrfs_fs_info *fs_info, u64 flags) in get_restripe_target() argument 27 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in get_restripe_target() 54 static u64 btrfs_reduce_alloc_profile(struct btrfs_fs_info *fs_info, u64 flags) in btrfs_reduce_alloc_profile() argument 56 u64 num_devices = fs_info->fs_devices->rw_devices; in btrfs_reduce_alloc_profile() 65 spin_lock(&fs_info->balance_lock); in btrfs_reduce_alloc_profile() 66 target = get_restripe_target(fs_info, flags); in btrfs_reduce_alloc_profile() 68 spin_unlock(&fs_info->balance_lock); in btrfs_reduce_alloc_profile() 71 spin_unlock(&fs_info->balance_lock); in btrfs_reduce_alloc_profile() 103 u64 btrfs_get_alloc_profile(struct btrfs_fs_info *fs_info, u64 orig_flags) in btrfs_get_alloc_profile() argument 110 seq = read_seqbegin(&fs_info->profiles_lock); in btrfs_get_alloc_profile() [all …]
|
D | super.c | 127 void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, in __btrfs_handle_fs_error() argument 130 struct super_block *sb = fs_info->sb; in __btrfs_handle_fs_error() 165 set_bit(BTRFS_FS_STATE_ERROR, &fs_info->fs_state); in __btrfs_handle_fs_error() 174 btrfs_discard_stop(fs_info); in __btrfs_handle_fs_error() 178 btrfs_info(fs_info, "forced readonly"); in __btrfs_handle_fs_error() 217 void __cold btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_printk() argument 245 fs_info ? fs_info->sb->s_id : "<unknown>", &vaf); in btrfs_printk() 269 struct btrfs_fs_info *fs_info = trans->fs_info; in __btrfs_abort_transaction() local 278 btrfs_warn(fs_info, in __btrfs_abort_transaction() 285 wake_up(&fs_info->transaction_wait); in __btrfs_abort_transaction() [all …]
|
D | scrub.c | 157 struct btrfs_fs_info *fs_info; member 215 static void scrub_recheck_block(struct btrfs_fs_info *fs_info, 245 static void scrub_remap_extent(struct btrfs_fs_info *fs_info, 255 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info); 256 static void scrub_blocked_if_needed(struct btrfs_fs_info *fs_info); 278 static void __scrub_blocked_if_needed(struct btrfs_fs_info *fs_info) in __scrub_blocked_if_needed() argument 280 while (atomic_read(&fs_info->scrub_pause_req)) { in __scrub_blocked_if_needed() 281 mutex_unlock(&fs_info->scrub_lock); in __scrub_blocked_if_needed() 282 wait_event(fs_info->scrub_pause_wait, in __scrub_blocked_if_needed() 283 atomic_read(&fs_info->scrub_pause_req) == 0); in __scrub_blocked_if_needed() [all …]
|
D | disk-io.h | 41 void btrfs_check_leaked_roots(struct btrfs_fs_info *fs_info); 42 void btrfs_init_fs_info(struct btrfs_fs_info *fs_info); 45 struct extent_buffer *read_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr, 48 void readahead_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr); 50 struct btrfs_fs_info *fs_info, 56 void __cold close_ctree(struct btrfs_fs_info *fs_info); 57 int write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors); 61 int btrfs_commit_super(struct btrfs_fs_info *fs_info); 64 int btrfs_insert_fs_root(struct btrfs_fs_info *fs_info, 66 void btrfs_free_fs_roots(struct btrfs_fs_info *fs_info); [all …]
|
D | file-item.c | 43 struct btrfs_fs_info *fs_info = BTRFS_I(inode)->root->fs_info; in btrfs_inode_safe_disk_i_size_write() local 48 if (btrfs_fs_incompat(fs_info, NO_HOLES)) { in btrfs_inode_safe_disk_i_size_write() 82 ASSERT(IS_ALIGNED(start + len, inode->root->fs_info->sectorsize)); in btrfs_inode_set_file_extent_range() 84 if (btrfs_fs_incompat(inode->root->fs_info, NO_HOLES)) in btrfs_inode_set_file_extent_range() 108 ASSERT(IS_ALIGNED(start + len, inode->root->fs_info->sectorsize) || in btrfs_inode_clear_file_extent_range() 111 if (btrfs_fs_incompat(inode->root->fs_info, NO_HOLES)) in btrfs_inode_clear_file_extent_range() 117 static inline u32 max_ordered_sum_bytes(struct btrfs_fs_info *fs_info, in max_ordered_sum_bytes() argument 122 return ncsums * fs_info->sectorsize; in max_ordered_sum_bytes() 177 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_lookup_csum() local 184 u16 csum_size = btrfs_super_csum_size(fs_info->super_copy); in btrfs_lookup_csum() [all …]
|
D | ctree.h | 379 #define BTRFS_MAX_EXTENT_ITEM_SIZE(r) ((BTRFS_LEAF_DATA_SIZE(r->fs_info) >> 4) - \ 498 void btrfs_init_async_reclaim_work(struct btrfs_fs_info *fs_info); 1061 struct btrfs_fs_info *fs_info; member 1314 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ argument 1317 #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ argument 1319 if (!btrfs_test_opt(fs_info, opt)) \ 1320 btrfs_info(fs_info, fmt, ##args); \ 1321 btrfs_set_opt(fs_info->mount_opt, opt); \ 1324 #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ argument 1326 if (btrfs_test_opt(fs_info, opt)) \ [all …]
|
D | inode-map.c | 18 struct btrfs_fs_info *fs_info = root->fs_info; in fail_caching_thread() local 20 btrfs_warn(fs_info, "failed to start inode caching task"); in fail_caching_thread() 21 btrfs_clear_pending_and_info(fs_info, INODE_MAP_CACHE, in fail_caching_thread() 32 struct btrfs_fs_info *fs_info = root->fs_info; in caching_kthread() local 41 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in caching_kthread() 60 down_read(&fs_info->commit_root_sem); in caching_kthread() 67 if (btrfs_fs_closing(fs_info)) in caching_kthread() 80 btrfs_transaction_in_commit(fs_info)) { in caching_kthread() 93 up_read(&fs_info->commit_root_sem); in caching_kthread() 109 __btrfs_add_free_space(fs_info, ctl, last + 1, in caching_kthread() [all …]
|
D | tree-checker.c | 53 const struct btrfs_fs_info *fs_info = eb->fs_info; in generic_err() local 62 btrfs_crit(fs_info, in generic_err() 78 const struct btrfs_fs_info *fs_info = eb->fs_info; in file_extent_err() local 89 btrfs_crit(fs_info, in file_extent_err() 120 end = ALIGN(key->offset + len, leaf->fs_info->sectorsize); in file_extent_end() 137 const struct btrfs_fs_info *fs_info = eb->fs_info; in dir_item_err() local 148 btrfs_crit(fs_info, in dir_item_err() 200 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_extent_data_item() local 202 u32 sectorsize = fs_info->sectorsize; in check_extent_data_item() 337 struct btrfs_fs_info *fs_info = leaf->fs_info; in check_csum_item() local [all …]
|
D | extent-tree.c | 64 int btrfs_add_excluded_extent(struct btrfs_fs_info *fs_info, in btrfs_add_excluded_extent() argument 68 set_extent_bits(&fs_info->excluded_extents, start, end, in btrfs_add_excluded_extent() 75 struct btrfs_fs_info *fs_info = cache->fs_info; in btrfs_free_excluded_extents() local 81 clear_extent_bits(&fs_info->excluded_extents, start, end, in btrfs_free_excluded_extents() 86 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len) in btrfs_lookup_data_extent() argument 99 ret = btrfs_search_slot(NULL, fs_info->extent_root, &key, path, 0, 0); in btrfs_lookup_data_extent() 114 struct btrfs_fs_info *fs_info, u64 bytenr, in btrfs_lookup_extent_info() argument 132 if (metadata && !btrfs_fs_incompat(fs_info, SKINNY_METADATA)) { in btrfs_lookup_extent_info() 133 offset = fs_info->nodesize; in btrfs_lookup_extent_info() 154 ret = btrfs_search_slot(trans, fs_info->extent_root, &key, path, 0, 0); in btrfs_lookup_extent_info() [all …]
|
D | ref-verify.h | 10 int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info); 11 void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info); 12 int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, 14 void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, u64 start, 17 static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info) in btrfs_init_ref_verify() argument 19 spin_lock_init(&fs_info->ref_verify_lock); in btrfs_init_ref_verify() 20 fs_info->block_tree = RB_ROOT; in btrfs_init_ref_verify() 23 static inline int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info) in btrfs_build_ref_tree() argument 28 static inline void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info) in btrfs_free_ref_cache() argument 32 static inline int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info, in btrfs_ref_tree_mod() argument [all …]
|
D | volumes.h | 60 struct btrfs_fs_info *fs_info; member 260 struct btrfs_fs_info *fs_info; member 326 struct btrfs_fs_info *fs_info; member 420 int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, 423 int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, 426 int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, 428 int btrfs_read_sys_array(struct btrfs_fs_info *fs_info); 429 int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info); 432 blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio, 443 struct btrfs_device *btrfs_find_device_by_devspec(struct btrfs_fs_info *fs_info, [all …]
|
/fs/btrfs/tests/ |
D | btrfs-tests.c | 89 struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info) in btrfs_alloc_dummy_device() argument 99 list_add(&dev->dev_list, &fs_info->fs_devices->devices); in btrfs_alloc_dummy_device() 112 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info() local 115 if (!fs_info) in btrfs_alloc_dummy_fs_info() 116 return fs_info; in btrfs_alloc_dummy_fs_info() 117 fs_info->fs_devices = kzalloc(sizeof(struct btrfs_fs_devices), in btrfs_alloc_dummy_fs_info() 119 if (!fs_info->fs_devices) { in btrfs_alloc_dummy_fs_info() 120 kfree(fs_info); in btrfs_alloc_dummy_fs_info() 123 INIT_LIST_HEAD(&fs_info->fs_devices->devices); in btrfs_alloc_dummy_fs_info() 125 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info() [all …]
|
D | qgroup-tests.c | 211 struct btrfs_fs_info *fs_info = root->fs_info; in test_no_shared_qgroup() local 216 btrfs_init_dummy_trans(&trans, fs_info); in test_no_shared_qgroup() 230 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, in test_no_shared_qgroup() 244 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots, in test_no_shared_qgroup() 263 if (btrfs_verify_qgroup_counts(fs_info, BTRFS_FS_TREE_OBJECTID, in test_no_shared_qgroup() 269 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, in test_no_shared_qgroup() 282 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots, in test_no_shared_qgroup() 297 if (btrfs_verify_qgroup_counts(fs_info, BTRFS_FS_TREE_OBJECTID, 0, 0)) { in test_no_shared_qgroup() 314 struct btrfs_fs_info *fs_info = root->fs_info; in test_multiple_refs() local 319 btrfs_init_dummy_trans(&trans, fs_info); in test_multiple_refs() [all …]
|
D | free-space-tree-tests.c | 20 struct btrfs_fs_info *fs_info, in __check_free_space_extents() argument 70 offset += fs_info->sectorsize; in __check_free_space_extents() 107 struct btrfs_fs_info *fs_info, in check_free_space_extents() argument 126 ret = __check_free_space_extents(trans, fs_info, cache, path, extents, in check_free_space_extents() 145 return __check_free_space_extents(trans, fs_info, cache, path, extents, in check_free_space_extents() 150 struct btrfs_fs_info *fs_info, in test_empty_block_group() argument 159 return check_free_space_extents(trans, fs_info, cache, path, in test_empty_block_group() 164 struct btrfs_fs_info *fs_info, in test_remove_all() argument 180 return check_free_space_extents(trans, fs_info, cache, path, in test_remove_all() 185 struct btrfs_fs_info *fs_info, in test_remove_beginning() argument [all …]
|