/linux-6.1.9/fs/btrfs/ |
D | free-space-cache.h | 59 struct btrfs_block_group *block_group; 82 struct inode *lookup_free_space_inode(struct btrfs_block_group *block_group, 85 struct btrfs_block_group *block_group, 89 struct btrfs_block_group *block_group); 94 struct btrfs_block_group *block_group, 96 int load_free_space_cache(struct btrfs_block_group *block_group); 98 struct btrfs_block_group *block_group, 101 struct btrfs_block_group *block_group, 104 void btrfs_init_free_space_ctl(struct btrfs_block_group *block_group, 106 int __btrfs_add_free_space(struct btrfs_block_group *block_group, u64 bytenr, [all …]
|
D | block-group.h | 72 struct btrfs_block_group *block_group; 87 struct btrfs_block_group { struct 237 static inline u64 btrfs_block_group_end(struct btrfs_block_group *block_group) in btrfs_block_group_end() argument 243 struct btrfs_block_group *block_group) in btrfs_is_block_group_data_only() 255 struct btrfs_block_group *block_group) in btrfs_should_fragment_free_space() 266 struct btrfs_block_group *btrfs_lookup_first_block_group( 268 struct btrfs_block_group *btrfs_lookup_block_group( 270 struct btrfs_block_group *btrfs_next_block_group( 271 struct btrfs_block_group *cache); 272 void btrfs_get_block_group(struct btrfs_block_group *cache); [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 | zoned.h | 53 int btrfs_load_block_group_zone_info(struct btrfs_block_group *cache, bool new); 54 void btrfs_calc_zone_unusable(struct btrfs_block_group *cache); 64 struct btrfs_block_group **cache_ret); 65 void btrfs_revert_meta_write_pointer(struct btrfs_block_group *cache, 72 bool btrfs_zone_activate(struct btrfs_block_group *block_group); 73 int btrfs_zone_finish(struct btrfs_block_group *block_group); 77 void btrfs_schedule_zone_finish_bg(struct btrfs_block_group *bg, 79 void btrfs_clear_data_reloc_bg(struct btrfs_block_group *bg); 176 struct btrfs_block_group *cache, bool new) in btrfs_load_block_group_zone_info() 181 static inline void btrfs_calc_zone_unusable(struct btrfs_block_group *cache) { } in btrfs_calc_zone_unusable() [all …]
|
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() 201 static struct btrfs_block_group *peek_discard_list( in peek_discard_list() 206 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 | 118 void btrfs_get_block_group(struct btrfs_block_group *cache) in btrfs_get_block_group() 123 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group() 166 struct btrfs_block_group *block_group) in btrfs_add_block_group_cache() 170 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() 180 cache = rb_entry(parent, struct btrfs_block_group, cache_node); in btrfs_add_block_group_cache() 205 static struct btrfs_block_group *block_group_cache_tree_search( in block_group_cache_tree_search() 208 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() 216 cache = rb_entry(n, struct btrfs_block_group, cache_node); in block_group_cache_tree_search() 245 struct btrfs_block_group *btrfs_lookup_first_block_group( in btrfs_lookup_first_block_group() 254 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, 20 struct btrfs_block_group *block_group) in btrfs_free_space_root() 33 void set_free_space_tree_thresholds(struct btrfs_block_group *cache) in set_free_space_tree_thresholds() 65 struct btrfs_block_group *block_group, in add_new_free_space_info() 98 struct btrfs_block_group *block_group, in search_free_space_info() 201 struct btrfs_block_group *block_group, in convert_free_space_to_bitmaps() 339 struct btrfs_block_group *block_group, in convert_free_space_to_extents() 471 struct btrfs_block_group *block_group, in update_free_space_extent_count() 509 int free_space_test_bit(struct btrfs_block_group *block_group, in free_space_test_bit() 531 static void free_space_set_bits(struct btrfs_block_group *block_group, in free_space_set_bits() [all …]
|
D | dev-replace.h | 13 struct btrfs_block_group; 26 struct btrfs_block_group *cache,
|
D | free-space-cache.c | 120 struct inode *lookup_free_space_inode(struct btrfs_block_group *block_group, in lookup_free_space_inode() 214 struct btrfs_block_group *block_group, in create_free_space_inode() 235 struct btrfs_block_group *block_group) in btrfs_remove_free_space_inode() 306 struct btrfs_block_group *block_group, in btrfs_truncate_free_space_cache() 701 struct btrfs_block_group *block_group = ctl->block_group; in recalculate_thresholds() 906 static int copy_free_space_cache(struct btrfs_block_group *block_group, in copy_free_space_cache() 943 int load_free_space_cache(struct btrfs_block_group *block_group) in load_free_space_cache() 1073 struct btrfs_block_group *block_group, in write_cache_extent_entries() 1202 struct btrfs_block_group *block_group, in write_pinned_extent_entries() 1301 struct btrfs_block_group *block_group, in __btrfs_wait_cache_io() [all …]
|
D | zoned.c | 1204 static int calculate_alloc_pointer(struct btrfs_block_group *cache, in calculate_alloc_pointer() 1275 int btrfs_load_block_group_zone_info(struct btrfs_block_group *cache, bool new) in btrfs_load_block_group_zone_info() 1571 void btrfs_calc_zone_unusable(struct btrfs_block_group *cache) in btrfs_calc_zone_unusable() 1628 struct btrfs_block_group *cache; in btrfs_use_zone_append() 1727 struct btrfs_block_group **cache_ret) in btrfs_check_meta_write_pointer() 1729 struct btrfs_block_group *cache; in btrfs_check_meta_write_pointer() 1752 void btrfs_revert_meta_write_pointer(struct btrfs_block_group *cache, in btrfs_revert_meta_write_pointer() 1874 bool btrfs_zone_activate(struct btrfs_block_group *block_group) in btrfs_zone_activate() 1938 static void wait_eb_writebacks(struct btrfs_block_group *block_group) in wait_eb_writebacks() 1970 static int do_zone_finish(struct btrfs_block_group *block_group, bool fully_written) in do_zone_finish() [all …]
|
D | extent-tree.c | 61 static int block_group_bits(struct btrfs_block_group *cache, u64 bits) in block_group_bits() 75 void btrfs_free_excluded_extents(struct btrfs_block_group *cache) in btrfs_free_excluded_extents() 2502 struct btrfs_block_group *bg; in first_logical_byte() 2504 bg = rb_entry(leftmost, struct btrfs_block_group, cache_node); in first_logical_byte() 2513 struct btrfs_block_group *cache, in pin_down_extent() 2538 struct btrfs_block_group *cache; in btrfs_pin_extent() 2555 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay() 2583 struct btrfs_block_group *block_group; in __exclude_logged_extent() 2632 btrfs_inc_block_group_reservations(struct btrfs_block_group *bg) in btrfs_inc_block_group_reservations() 2670 struct btrfs_block_group *cache = NULL; in unpin_extent_range() [all …]
|
D | sysfs.h | 30 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group *cache);
|
D | space-info.h | 127 struct btrfs_block_group *block_group);
|
D | qgroup.h | 431 struct btrfs_block_group *bg,
|
D | volumes.h | 622 struct btrfs_block_group *btrfs_create_chunk(struct btrfs_trans_handle *trans, 687 struct btrfs_block_group *bg);
|
D | scrub.c | 558 static u64 get_full_stripe_logical(struct btrfs_block_group *cache, u64 bytenr) in get_full_stripe_logical() 591 struct btrfs_block_group *bg_cache; in lock_full_stripe() 638 struct btrfs_block_group *bg_cache; in unlock_full_stripe() 3367 struct btrfs_block_group *bg, in scrub_simple_mirror() 3496 struct btrfs_block_group *bg, in simple_stripe_get_logical() 3524 struct btrfs_block_group *bg, in scrub_simple_stripe() 3557 struct btrfs_block_group *bg, in scrub_stripe() 3733 struct btrfs_block_group *bg, in scrub_chunk() 3782 struct btrfs_block_group *cache) in finish_extent_writes_for_zoned() 3815 struct btrfs_block_group *cache; in scrub_enumerate_chunks()
|
D | volumes.c | 3179 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk() 3243 struct btrfs_block_group *block_group; in btrfs_relocate_chunk() 3394 struct btrfs_block_group *cache; in btrfs_may_alloc_data_chunk() 3603 struct btrfs_block_group *cache; in chunk_usage_range_filter() 3636 struct btrfs_block_group *cache; in chunk_usage_filter() 5369 static struct btrfs_block_group *create_chunk(struct btrfs_trans_handle *trans, in create_chunk() 5376 struct btrfs_block_group *block_group; in create_chunk() 5464 struct btrfs_block_group *btrfs_create_chunk(struct btrfs_trans_handle *trans, in btrfs_create_chunk() 5471 struct btrfs_block_group *block_group; in btrfs_create_chunk() 5530 struct btrfs_block_group *bg) in btrfs_chunk_alloc_add_chunk_item() [all …]
|
D | dev-replace.c | 475 struct btrfs_block_group *cache; in mark_block_group_to_copy() 562 struct btrfs_block_group *cache, in btrfs_finish_block_group_to_copy()
|
D | space-info.c | 297 struct btrfs_block_group *block_group) in btrfs_add_bg_to_space_info() 527 struct btrfs_block_group *cache; in btrfs_dump_space_info()
|
/linux-6.1.9/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() 833 static int test_bytes_index(struct btrfs_block_group *cache, u32 sectorsize) in test_bytes_index() 1008 struct btrfs_block_group *cache; in btrfs_test_free_space_cache()
|
D | btrfs-tests.c | 212 struct btrfs_block_group * 216 struct btrfs_block_group *cache; in btrfs_alloc_dummy_block_group() 242 void btrfs_free_dummy_block_group(struct btrfs_block_group *cache) in btrfs_free_dummy_block_group()
|
/linux-6.1.9/include/trace/events/ |
D | btrfs.h | 22 struct btrfs_block_group; 801 const struct btrfs_block_group *block_group, int create), 1272 TP_PROTO(const struct btrfs_block_group *block_group, u64 start, 1302 TP_PROTO(const struct btrfs_block_group *block_group, u64 start, 1310 TP_PROTO(const struct btrfs_block_group *block_group, u64 start, 1318 TP_PROTO(const struct btrfs_block_group *block_group, u64 start, 1351 TP_PROTO(const struct btrfs_block_group *block_group), 1368 TP_PROTO(const struct btrfs_block_group *block_group, 1926 TP_PROTO(const struct btrfs_block_group *bg_cache), 1950 TP_PROTO(const struct btrfs_block_group *bg_cache), [all …]
|