/Linux-v5.10/fs/btrfs/ |
D | block-group.h | 50 struct btrfs_block_group *block_group; 58 struct btrfs_block_group { struct 188 static inline u64 btrfs_block_group_end(struct btrfs_block_group *block_group) in btrfs_block_group_end() argument 194 struct btrfs_block_group *block_group) in btrfs_is_block_group_data_only() 206 struct btrfs_block_group *block_group) in btrfs_should_fragment_free_space() 217 struct btrfs_block_group *btrfs_lookup_first_block_group( 219 struct btrfs_block_group *btrfs_lookup_block_group( 221 struct btrfs_block_group *btrfs_next_block_group( 222 struct btrfs_block_group *cache); 223 void btrfs_get_block_group(struct btrfs_block_group *cache); [all …]
|
D | free-space-cache.h | 82 struct inode *lookup_free_space_inode(struct btrfs_block_group *block_group, 85 struct btrfs_block_group *block_group, 91 struct btrfs_block_group *block_group, 93 int load_free_space_cache(struct btrfs_block_group *block_group); 95 struct btrfs_block_group *block_group, 98 struct btrfs_block_group *block_group, 112 void btrfs_init_free_space_ctl(struct btrfs_block_group *block_group); 117 int btrfs_add_free_space(struct btrfs_block_group *block_group, 119 int btrfs_add_free_space_async_trimmed(struct btrfs_block_group *block_group, 121 int btrfs_remove_free_space(struct btrfs_block_group *block_group, [all …]
|
D | free-space-tree.h | 19 void set_free_space_tree_thresholds(struct btrfs_block_group *block_group); 24 struct btrfs_block_group *block_group); 26 struct btrfs_block_group *block_group); 35 struct btrfs_block_group *block_group, 38 struct btrfs_block_group *block_group, 41 struct btrfs_block_group *block_group, 44 struct btrfs_block_group *block_group, 47 struct btrfs_block_group *block_group, 49 int free_space_test_bit(struct btrfs_block_group *block_group,
|
D | discard.c | 72 struct btrfs_block_group *block_group) in get_discard_list() 78 struct btrfs_block_group *block_group) in __add_to_discard_list() 97 struct btrfs_block_group *block_group) in add_to_discard_list() 108 struct btrfs_block_group *block_group) in add_to_discard_unused_list() 130 struct btrfs_block_group *block_group) in remove_from_discard_list() 157 static struct btrfs_block_group *find_next_block_group( in find_next_block_group() 161 struct btrfs_block_group *ret_block_group = NULL, *block_group; in find_next_block_group() 169 struct btrfs_block_group, in find_next_block_group() 199 static struct btrfs_block_group *peek_discard_list( in peek_discard_list() 204 struct btrfs_block_group *block_group; in peek_discard_list() [all …]
|
D | discard.h | 10 struct btrfs_block_group; 18 void btrfs_discard_check_filter(struct btrfs_block_group *block_group, u64 bytes); 22 struct btrfs_block_group *block_group); 24 struct btrfs_block_group *block_group); 31 void btrfs_discard_update_discardable(struct btrfs_block_group *block_group,
|
D | block-group.c | 116 void btrfs_get_block_group(struct btrfs_block_group *cache) in btrfs_get_block_group() 121 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group() 154 struct btrfs_block_group *block_group) in btrfs_add_block_group_cache() 158 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() 167 cache = rb_entry(parent, struct btrfs_block_group, cache_node); in btrfs_add_block_group_cache() 194 static struct btrfs_block_group *block_group_cache_tree_search( in block_group_cache_tree_search() 197 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() 205 cache = rb_entry(n, struct btrfs_block_group, cache_node); in block_group_cache_tree_search() 237 struct btrfs_block_group *btrfs_lookup_first_block_group( in btrfs_lookup_first_block_group() 246 struct btrfs_block_group *btrfs_lookup_block_group( in btrfs_lookup_block_group() [all …]
|
D | free-space-tree.c | 16 struct btrfs_block_group *block_group, 19 void set_free_space_tree_thresholds(struct btrfs_block_group *cache) in set_free_space_tree_thresholds() 51 struct btrfs_block_group *block_group, in add_new_free_space_info() 84 struct btrfs_block_group *block_group, in search_free_space_info() 186 struct btrfs_block_group *block_group, in convert_free_space_to_bitmaps() 326 struct btrfs_block_group *block_group, in convert_free_space_to_extents() 459 struct btrfs_block_group *block_group, in update_free_space_extent_count() 497 int free_space_test_bit(struct btrfs_block_group *block_group, in free_space_test_bit() 519 static void free_space_set_bits(struct btrfs_block_group *block_group, in free_space_set_bits() 587 struct btrfs_block_group *block_group, in modify_free_space_bitmap() [all …]
|
D | free-space-cache.c | 98 struct inode *lookup_free_space_inode(struct btrfs_block_group *block_group, in lookup_free_space_inode() 196 struct btrfs_block_group *block_group, in create_free_space_inode() 230 struct btrfs_block_group *block_group, in btrfs_truncate_free_space_cache() 840 int load_free_space_cache(struct btrfs_block_group *block_group) in load_free_space_cache() 939 struct btrfs_block_group *block_group, in write_cache_extent_entries() 1068 struct btrfs_block_group *block_group, in write_pinned_extent_entries() 1167 struct btrfs_block_group *block_group, in __btrfs_wait_cache_io() 1232 struct btrfs_block_group *block_group, in btrfs_wait_cache_io() 1253 struct btrfs_block_group *block_group, in __btrfs_write_out_cache() 1391 struct btrfs_block_group *block_group, in btrfs_write_out_cache() [all …]
|
D | extent-tree.c | 59 static int block_group_bits(struct btrfs_block_group *cache, u64 bits) in block_group_bits() 73 void btrfs_free_excluded_extents(struct btrfs_block_group *cache) in btrfs_free_excluded_extents() 2527 struct btrfs_block_group *block_group; in btrfs_extent_readonly() 2557 struct btrfs_block_group *cache; in first_logical_byte() 2578 struct btrfs_block_group *cache, in pin_down_extent() 2605 struct btrfs_block_group *cache; in btrfs_pin_extent() 2622 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay() 2651 struct btrfs_block_group *block_group; in __exclude_logged_extent() 2728 btrfs_inc_block_group_reservations(struct btrfs_block_group *bg) in btrfs_inc_block_group_reservations() 2737 struct btrfs_block_group *cache; in btrfs_prepare_extent_commit() [all …]
|
D | sysfs.h | 30 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group *cache);
|
D | qgroup.h | 422 struct btrfs_block_group *bg,
|
D | relocation.c | 117 struct btrfs_block_group *block_group; 2975 struct btrfs_block_group *block_group, in delete_block_group_cache() 3016 struct btrfs_block_group *block_group, in delete_v1_space_cache() 3469 struct btrfs_block_group *group) in create_reloc_inode() 3541 struct btrfs_block_group *block_group) in describe_relocation() 3566 struct btrfs_block_group *bg; in btrfs_relocate_block_group()
|
D | scrub.c | 393 static u64 get_full_stripe_logical(struct btrfs_block_group *cache, u64 bytenr) in get_full_stripe_logical() 426 struct btrfs_block_group *bg_cache; in lock_full_stripe() 473 struct btrfs_block_group *bg_cache; in unlock_full_stripe() 2979 struct btrfs_block_group *cache) in scrub_stripe() 3368 struct btrfs_block_group *cache) in scrub_chunk() 3432 struct btrfs_block_group *cache; in scrub_enumerate_chunks()
|
D | transaction.c | 139 struct btrfs_block_group *cache; in btrfs_put_transaction() 142 struct btrfs_block_group, in btrfs_put_transaction() 1951 struct btrfs_block_group *block_group, *tmp; in btrfs_cleanup_pending_block_groups()
|
D | ctree.h | 43 struct btrfs_block_group; 428 struct btrfs_block_group *block_group; 469 struct btrfs_block_group *block_group; 2545 void btrfs_free_excluded_extents(struct btrfs_block_group *cache);
|
D | disk-io.c | 4391 struct btrfs_block_group *cache; in btrfs_destroy_delayed_refs() 4548 static void btrfs_cleanup_bg_io(struct btrfs_block_group *cache) in btrfs_cleanup_bg_io() 4566 struct btrfs_block_group *cache; in btrfs_cleanup_dirty_bgs() 4571 struct btrfs_block_group, in btrfs_cleanup_dirty_bgs() 4599 struct btrfs_block_group, in btrfs_cleanup_dirty_bgs()
|
D | sysfs.c | 577 struct btrfs_block_group *block_group; in raid_bytes_show() 1112 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group *cache) in btrfs_sysfs_add_block_group_type()
|
D | reada.c | 230 struct btrfs_block_group *cache = NULL; in reada_find_zone()
|
D | space-info.c | 442 struct btrfs_block_group *cache; in btrfs_dump_space_info()
|
D | volumes.c | 3011 struct btrfs_block_group *block_group; in btrfs_relocate_chunk() 3140 struct btrfs_block_group *cache; in btrfs_may_alloc_data_chunk() 3349 struct btrfs_block_group *cache; in chunk_usage_range_filter() 3382 struct btrfs_block_group *cache; in chunk_usage_filter()
|
/Linux-v5.10/fs/btrfs/tests/ |
D | free-space-tree-tests.c | 21 struct btrfs_block_group *cache, in __check_free_space_extents() 108 struct btrfs_block_group *cache, in check_free_space_extents() 151 struct btrfs_block_group *cache, in test_empty_block_group() 165 struct btrfs_block_group *cache, in test_remove_all() 186 struct btrfs_block_group *cache, in test_remove_beginning() 209 struct btrfs_block_group *cache, in test_remove_end() 232 struct btrfs_block_group *cache, in test_remove_middle() 256 struct btrfs_block_group *cache, in test_merge_left() 293 struct btrfs_block_group *cache, in test_merge_right() 331 struct btrfs_block_group *cache, in test_merge_both() [all …]
|
D | btrfs-tests.h | 44 struct btrfs_block_group * 46 void btrfs_free_dummy_block_group(struct btrfs_block_group *cache);
|
D | free-space-tests.c | 20 static int test_extents(struct btrfs_block_group *cache) in test_extents() 90 static int test_bitmaps(struct btrfs_block_group *cache, u32 sectorsize) in test_bitmaps() 158 static int test_bitmaps_and_extents(struct btrfs_block_group *cache, in test_bitmaps_and_extents() 333 check_num_extents_and_bitmaps(const struct btrfs_block_group *cache, in check_num_extents_and_bitmaps() 353 static int check_cache_empty(struct btrfs_block_group *cache) in check_cache_empty() 395 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group *cache, in test_steal_space_from_bitmap_to_extent() 831 struct btrfs_block_group *cache; in btrfs_test_free_space_cache()
|
D | btrfs-tests.c | 203 struct btrfs_block_group * 207 struct btrfs_block_group *cache; in btrfs_alloc_dummy_block_group() 233 void btrfs_free_dummy_block_group(struct btrfs_block_group *cache) in btrfs_free_dummy_block_group()
|
/Linux-v5.10/include/trace/events/ |
D | btrfs.h | 22 struct btrfs_block_group; 738 const struct btrfs_block_group *block_group, int create), 1207 TP_PROTO(const struct btrfs_block_group *block_group, u64 start, 1237 TP_PROTO(const struct btrfs_block_group *block_group, u64 start, 1245 TP_PROTO(const struct btrfs_block_group *block_group, u64 start, 1253 TP_PROTO(const struct btrfs_block_group *block_group, u64 start, 1286 TP_PROTO(const struct btrfs_block_group *block_group), 1303 TP_PROTO(const struct btrfs_block_group *block_group, 1867 TP_PROTO(const struct btrfs_block_group *bg_cache), 1891 TP_PROTO(const struct btrfs_block_group *bg_cache), [all …]
|