/fs/btrfs/ |
D | block-group.h | 37 struct btrfs_block_group_cache *block_group; 45 struct btrfs_block_group_cache { struct 162 struct btrfs_block_group_cache *block_group) in btrfs_should_fragment_free_space() argument 173 struct btrfs_block_group_cache *btrfs_lookup_first_block_group( 175 struct btrfs_block_group_cache *btrfs_lookup_block_group( 177 struct btrfs_block_group_cache *btrfs_next_block_group( 178 struct btrfs_block_group_cache *cache); 179 void btrfs_get_block_group(struct btrfs_block_group_cache *cache); 180 void btrfs_put_block_group(struct btrfs_block_group_cache *cache); 183 void btrfs_wait_block_group_reservations(struct btrfs_block_group_cache *bg); [all …]
|
D | free-space-cache.h | 54 struct btrfs_block_group_cache *block_group, 57 struct btrfs_block_group_cache *block_group, 63 struct btrfs_block_group_cache *block_group, 65 int load_free_space_cache(struct btrfs_block_group_cache *block_group); 67 struct btrfs_block_group_cache *block_group, 70 struct btrfs_block_group_cache *block_group, 84 void btrfs_init_free_space_ctl(struct btrfs_block_group_cache *block_group); 88 int btrfs_add_free_space(struct btrfs_block_group_cache *block_group, 90 int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group, 93 void btrfs_remove_free_space_cache(struct btrfs_block_group_cache [all …]
|
D | free-space-tree.h | 19 void set_free_space_tree_thresholds(struct btrfs_block_group_cache *block_group); 24 struct btrfs_block_group_cache *block_group); 26 struct btrfs_block_group_cache *block_group); 35 struct btrfs_block_group_cache *block_group, 38 struct btrfs_block_group_cache *block_group, 41 struct btrfs_block_group_cache *block_group, 44 struct btrfs_block_group_cache *block_group, 47 struct btrfs_block_group_cache *block_group, 49 int free_space_test_bit(struct btrfs_block_group_cache *block_group,
|
D | block-group.c | 123 void btrfs_get_block_group(struct btrfs_block_group_cache *cache) in btrfs_get_block_group() 128 void btrfs_put_block_group(struct btrfs_block_group_cache *cache) in btrfs_put_block_group() 152 struct btrfs_block_group_cache *block_group) in btrfs_add_block_group_cache() 156 struct btrfs_block_group_cache *cache; in btrfs_add_block_group_cache() 163 cache = rb_entry(parent, struct btrfs_block_group_cache, in btrfs_add_block_group_cache() 191 static struct btrfs_block_group_cache *block_group_cache_tree_search( in block_group_cache_tree_search() 194 struct btrfs_block_group_cache *cache, *ret = NULL; in block_group_cache_tree_search() 202 cache = rb_entry(n, struct btrfs_block_group_cache, in block_group_cache_tree_search() 235 struct btrfs_block_group_cache *btrfs_lookup_first_block_group( in btrfs_lookup_first_block_group() 244 struct btrfs_block_group_cache *btrfs_lookup_block_group( in btrfs_lookup_block_group() [all …]
|
D | free-space-tree.c | 16 struct btrfs_block_group_cache *block_group, 19 void set_free_space_tree_thresholds(struct btrfs_block_group_cache *cache) in set_free_space_tree_thresholds() 48 struct btrfs_block_group_cache *block_group, in add_new_free_space_info() 81 struct btrfs_block_group_cache *block_group, in search_free_space_info() 183 struct btrfs_block_group_cache *block_group, in convert_free_space_to_bitmaps() 323 struct btrfs_block_group_cache *block_group, in convert_free_space_to_extents() 456 struct btrfs_block_group_cache *block_group, in update_free_space_extent_count() 494 int free_space_test_bit(struct btrfs_block_group_cache *block_group, in free_space_test_bit() 516 static void free_space_set_bits(struct btrfs_block_group_cache *block_group, in free_space_set_bits() 584 struct btrfs_block_group_cache *block_group, in modify_free_space_bitmap() [all …]
|
D | free-space-cache.c | 95 struct btrfs_block_group_cache *block_group, in lookup_free_space_inode() 193 struct btrfs_block_group_cache *block_group, in create_free_space_inode() 227 struct btrfs_block_group_cache *block_group, in btrfs_truncate_free_space_cache() 828 int load_free_space_cache(struct btrfs_block_group_cache *block_group) in load_free_space_cache() 927 struct btrfs_block_group_cache *block_group, in write_cache_extent_entries() 1055 struct btrfs_block_group_cache *block_group, in write_pinned_extent_entries() 1155 struct btrfs_block_group_cache *block_group, in __btrfs_wait_cache_io() 1223 struct btrfs_block_group_cache *block_group, in btrfs_wait_cache_io() 1244 struct btrfs_block_group_cache *block_group, in __btrfs_write_out_cache() 1383 struct btrfs_block_group_cache *block_group, in btrfs_write_out_cache() [all …]
|
D | extent-tree.c | 58 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) in block_group_bits() 74 void btrfs_free_excluded_extents(struct btrfs_block_group_cache *cache) in btrfs_free_excluded_extents() 2555 struct btrfs_block_group_cache *block_group; in btrfs_extent_readonly() 2585 struct btrfs_block_group_cache *cache; in first_logical_byte() 2605 static int pin_down_extent(struct btrfs_block_group_cache *cache, in pin_down_extent() 2635 struct btrfs_block_group_cache *cache; in btrfs_pin_extent() 2652 struct btrfs_block_group_cache *cache; in btrfs_pin_extent_for_log_replay() 2679 struct btrfs_block_group_cache *block_group; in __exclude_logged_extent() 2756 btrfs_inc_block_group_reservations(struct btrfs_block_group_cache *bg) in btrfs_inc_block_group_reservations() 2765 struct btrfs_block_group_cache *cache; in btrfs_prepare_extent_commit() [all …]
|
D | sysfs.h | 35 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group_cache *cache);
|
D | qgroup.h | 412 struct btrfs_block_group_cache *bg,
|
D | sysfs.c | 375 struct btrfs_block_group_cache *block_group; in raid_bytes_show() 825 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group_cache *cache) in btrfs_sysfs_add_block_group_type()
|
D | ctree.h | 41 struct btrfs_block_group_cache; 416 struct btrfs_block_group_cache *block_group; 2404 void btrfs_free_excluded_extents(struct btrfs_block_group_cache *cache); 2460 void btrfs_get_block_group_trimming(struct btrfs_block_group_cache *cache); 2461 void btrfs_put_block_group_trimming(struct btrfs_block_group_cache *cache);
|
D | transaction.c | 68 struct btrfs_block_group_cache *cache; in btrfs_put_transaction() 71 struct btrfs_block_group_cache, in btrfs_put_transaction() 1883 struct btrfs_block_group_cache *block_group, *tmp; in btrfs_cleanup_pending_block_groups()
|
D | relocation.c | 150 struct btrfs_block_group_cache *block_group; 1615 struct btrfs_block_group_cache *block_group) in in_block_group() 3643 struct btrfs_block_group_cache *block_group, in delete_block_group_cache() 4318 struct btrfs_block_group_cache *group) in create_reloc_inode() 4394 struct btrfs_block_group_cache *block_group) in describe_relocation() 4410 struct btrfs_block_group_cache *bg; in btrfs_relocate_block_group()
|
D | scrub.c | 392 static u64 get_full_stripe_logical(struct btrfs_block_group_cache *cache, in get_full_stripe_logical() 426 struct btrfs_block_group_cache *bg_cache; in lock_full_stripe() 473 struct btrfs_block_group_cache *bg_cache; in unlock_full_stripe() 3420 struct btrfs_block_group_cache *cache) in scrub_chunk() 3484 struct btrfs_block_group_cache *cache; in scrub_enumerate_chunks()
|
D | disk-io.c | 4529 static void btrfs_cleanup_bg_io(struct btrfs_block_group_cache *cache) in btrfs_cleanup_bg_io() 4552 struct btrfs_block_group_cache *cache; in btrfs_cleanup_dirty_bgs() 4557 struct btrfs_block_group_cache, in btrfs_cleanup_dirty_bgs() 4585 struct btrfs_block_group_cache, in btrfs_cleanup_dirty_bgs()
|
D | space-info.c | 288 struct btrfs_block_group_cache *cache; in btrfs_dump_space_info()
|
D | reada.c | 230 struct btrfs_block_group_cache *cache = NULL; in reada_find_zone()
|
D | volumes.c | 3334 struct btrfs_block_group_cache *cache; in btrfs_may_alloc_data_chunk() 3542 struct btrfs_block_group_cache *cache; in chunk_usage_range_filter() 3575 struct btrfs_block_group_cache *cache; in chunk_usage_filter()
|
D | qgroup.c | 4151 struct btrfs_block_group_cache *bg, in btrfs_qgroup_add_swapped_blocks()
|
D | inode.c | 3175 struct btrfs_block_group_cache *cache; in btrfs_release_delalloc_bytes() 10962 struct btrfs_block_group_cache *bg; in btrfs_swap_activate()
|
D | ioctl.c | 4134 struct btrfs_block_group_cache *block_group; in get_block_group_info()
|
/fs/btrfs/tests/ |
D | free-space-tree-tests.c | 21 struct btrfs_block_group_cache *cache, in __check_free_space_extents() 110 struct btrfs_block_group_cache *cache, in check_free_space_extents() 153 struct btrfs_block_group_cache *cache, in test_empty_block_group() 167 struct btrfs_block_group_cache *cache, in test_remove_all() 188 struct btrfs_block_group_cache *cache, in test_remove_beginning() 212 struct btrfs_block_group_cache *cache, in test_remove_end() 236 struct btrfs_block_group_cache *cache, in test_remove_middle() 261 struct btrfs_block_group_cache *cache, in test_merge_left() 299 struct btrfs_block_group_cache *cache, in test_merge_right() 338 struct btrfs_block_group_cache *cache, in test_merge_both() [all …]
|
D | free-space-tests.c | 20 static int test_extents(struct btrfs_block_group_cache *cache) in test_extents() 90 static int test_bitmaps(struct btrfs_block_group_cache *cache, in test_bitmaps() 159 static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache, in test_bitmaps_and_extents() 334 check_num_extents_and_bitmaps(const struct btrfs_block_group_cache *cache, in check_num_extents_and_bitmaps() 354 static int check_cache_empty(struct btrfs_block_group_cache *cache) in check_cache_empty() 396 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group_cache *cache, in test_steal_space_from_bitmap_to_extent() 832 struct btrfs_block_group_cache *cache; in btrfs_test_free_space_cache()
|
D | btrfs-tests.h | 44 struct btrfs_block_group_cache * 46 void btrfs_free_dummy_block_group(struct btrfs_block_group_cache *cache);
|
D | btrfs-tests.c | 204 struct btrfs_block_group_cache * 208 struct btrfs_block_group_cache *cache; in btrfs_alloc_dummy_block_group() 235 void btrfs_free_dummy_block_group(struct btrfs_block_group_cache *cache) in btrfs_free_dummy_block_group()
|