| H A D | block-group.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "block-group.h" 8 #include "space-info.h" 9 #include "disk-io.h" 10 #include "free-space-cache 154 btrfs_get_block_group(struct btrfs_block_group * cache) btrfs_get_block_group() argument 159 btrfs_put_block_group(struct btrfs_block_group * cache) btrfs_put_block_group() argument 233 struct btrfs_block_group *cache, *ret = NULL; block_group_cache_tree_search() local 286 btrfs_next_block_group(struct btrfs_block_group * cache) btrfs_next_block_group() argument 416 btrfs_get_caching_control(struct btrfs_block_group * cache) btrfs_get_caching_control() argument 451 btrfs_wait_block_group_cache_progress(struct btrfs_block_group * cache,u64 num_bytes) btrfs_wait_block_group_cache_progress() argument 476 btrfs_caching_ctl_wait_done(struct btrfs_block_group * cache,struct btrfs_caching_control * caching_ctl) btrfs_caching_ctl_wait_done() argument 483 btrfs_wait_block_group_cache_done(struct btrfs_block_group * cache) btrfs_wait_block_group_cache_done() argument 534 u64 extent_start, extent_end, size; btrfs_add_new_free_space() local 683 int i; load_block_group_size_class() local 926 btrfs_cache_block_group(struct btrfs_block_group * cache,bool wait) btrfs_cache_block_group() argument 1361 inc_block_group_ro(struct btrfs_block_group * cache,bool force) inc_block_group_ro() argument 2150 int i, nr = 0; btrfs_rmap_block() local 2217 exclude_super_stripes(struct btrfs_block_group * cache) exclude_super_stripes() argument 2224 int i, nr, ret; exclude_super_stripes() local 2274 struct btrfs_block_group *cache; btrfs_create_block_group_cache() local 2369 struct btrfs_block_group *cache; read_one_block_group() local 2540 struct btrfs_block_group *cache; btrfs_read_block_groups() local 2600 int i; btrfs_read_block_groups() local 2734 int i; insert_dev_extents() local 2883 btrfs_make_block_group(struct btrfs_trans_handle * trans,struct btrfs_space_info * space_info,u64 type,u64 chunk_offset,u64 size) btrfs_make_block_group() argument 2886 struct btrfs_block_group *cache; btrfs_make_block_group() local 2978 btrfs_inc_block_group_ro(struct btrfs_block_group * cache,bool do_chunk_alloc) btrfs_inc_block_group_ro() argument 3092 btrfs_dec_block_group_ro(struct btrfs_block_group * cache) btrfs_dec_block_group_ro() argument 3123 update_block_group_item(struct btrfs_trans_handle * trans,struct btrfs_path * path,struct btrfs_block_group * cache) update_block_group_item() argument 3357 struct btrfs_block_group *cache, *tmp; btrfs_setup_space_cache() local 3394 struct btrfs_block_group *cache; btrfs_start_dirty_block_groups() local 3559 struct btrfs_block_group *cache; btrfs_write_dirty_block_groups() local 3685 struct btrfs_block_group *cache; btrfs_update_block_group() local 3801 btrfs_add_reserved_bytes(struct btrfs_block_group * cache,u64 ram_bytes,u64 num_bytes,int delalloc,bool force_wrong_size_class) btrfs_add_reserved_bytes() argument 3854 btrfs_free_reserved_bytes(struct btrfs_block_group * cache,u64 num_bytes,bool is_delalloc) btrfs_free_reserved_bytes() argument 4445 for (int i = 0; i < BTRFS_SPACE_INFO_SUB_GROUP_MAX; i++) { check_removing_space_info() local 4583 btrfs_freeze_block_group(struct btrfs_block_group * cache) btrfs_freeze_block_group() argument 4642 btrfs_calc_block_group_size_class(u64 size) btrfs_calc_block_group_size_class() argument [all...] |