Home
last modified time | relevance | path

Searched refs:btrfs_block_group (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.3-rc2/fs/btrfs/
A Dblock-group.h87 struct btrfs_block_group *block_group;
102 struct btrfs_block_group { struct
256 struct btrfs_block_group *block_group) in btrfs_is_block_group_data_only()
270 struct btrfs_block_group *btrfs_lookup_first_block_group(
272 struct btrfs_block_group *btrfs_lookup_block_group(
274 struct btrfs_block_group *btrfs_next_block_group(
275 struct btrfs_block_group *cache);
276 void btrfs_get_block_group(struct btrfs_block_group *cache);
283 void btrfs_dec_nocow_writers(struct btrfs_block_group *bg);
290 struct btrfs_block_group *cache);
[all …]
A Dfree-space-cache.h70 struct btrfs_block_group *block_group;
98 struct btrfs_block_group *block_group,
102 struct btrfs_block_group *block_group);
107 struct btrfs_block_group *block_group,
109 int load_free_space_cache(struct btrfs_block_group *block_group);
111 struct btrfs_block_group *block_group,
114 struct btrfs_block_group *block_group,
121 int btrfs_add_free_space(struct btrfs_block_group *block_group,
134 void btrfs_dump_free_space(struct btrfs_block_group *block_group,
144 struct btrfs_block_group *block_group,
[all …]
A Dfree-space-tree.h19 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,
A Dzoned.h54 void btrfs_calc_zone_unusable(struct btrfs_block_group *cache);
63 struct btrfs_block_group **cache_ret);
64 void btrfs_revert_meta_write_pointer(struct btrfs_block_group *cache,
69 bool btrfs_zone_activate(struct btrfs_block_group *block_group);
70 int btrfs_zone_finish(struct btrfs_block_group *block_group);
74 void btrfs_schedule_zone_finish_bg(struct btrfs_block_group *bg,
76 void btrfs_clear_data_reloc_bg(struct btrfs_block_group *bg);
173 struct btrfs_block_group *cache, bool new) in btrfs_load_block_group_zone_info()
198 struct btrfs_block_group **cache_ret) in btrfs_check_meta_write_pointer()
204 struct btrfs_block_group *cache, in btrfs_revert_meta_write_pointer()
[all …]
A Ddiscard.c73 struct btrfs_block_group *block_group) in get_discard_list()
79 struct btrfs_block_group *block_group) in __add_to_discard_list()
101 struct btrfs_block_group *block_group) in add_to_discard_list()
140 struct btrfs_block_group *block_group) in remove_from_discard_list()
190 struct btrfs_block_group, in find_next_block_group()
227 struct btrfs_block_group *block_group; in peek_discard_list()
346 struct btrfs_block_group *block_group) in btrfs_discard_queue_work()
363 struct btrfs_block_group *block_group; in __btrfs_discard_schedule_work()
470 struct btrfs_block_group *block_group; in btrfs_discard_workfn()
677 struct btrfs_block_group *block_group, *next; in btrfs_discard_punt_unused_bgs_list()
[all …]
A Ddiscard.h10 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);
A Dblock-group.c186 struct btrfs_block_group *cache; in btrfs_add_block_group_cache()
277 struct btrfs_block_group *cache) in btrfs_next_block_group()
321 struct btrfs_block_group *bg; in btrfs_inc_nocow_writers()
372 struct btrfs_block_group *bg; in btrfs_dec_block_group_reservations()
407 struct btrfs_block_group *cache) in btrfs_get_caching_control()
1710 struct btrfs_block_group *bg; in btrfs_reclaim_bgs_work()
2147 struct btrfs_block_group *bg; in check_chunk_block_group_mappings()
2320 struct btrfs_block_group *bg; in fill_dummy_bgs()
3365 struct btrfs_block_group, in btrfs_write_dirty_block_groups()
3703 struct btrfs_block_group *bg; in do_chunk_alloc()
[all …]
A Dfree-space-tree.c21 struct btrfs_block_group *block_group,
25 struct btrfs_block_group *block_group) in btrfs_free_space_root()
70 struct btrfs_block_group *block_group, in add_new_free_space_info()
103 struct btrfs_block_group *block_group, in search_free_space_info()
206 struct btrfs_block_group *block_group, in convert_free_space_to_bitmaps()
835 struct btrfs_block_group *block_group; in remove_from_free_space_tree()
1028 struct btrfs_block_group *block_group; in add_to_free_space_tree()
1164 struct btrfs_block_group *block_group; in btrfs_create_free_space_tree()
1428 struct btrfs_block_group *block_group; in load_free_space_bitmaps()
1505 struct btrfs_block_group *block_group; in load_free_space_extents()
[all …]
A Ddev-replace.h13 struct btrfs_block_group;
26 struct btrfs_block_group *cache,
A Dfree-space-cache.c223 struct btrfs_block_group *block_group, in create_free_space_inode()
244 struct btrfs_block_group *block_group) in btrfs_remove_free_space_inode()
315 struct btrfs_block_group *block_group, in btrfs_truncate_free_space_cache()
1082 struct btrfs_block_group *block_group, in write_cache_extent_entries()
1211 struct btrfs_block_group *block_group, in write_pinned_extent_entries()
1310 struct btrfs_block_group *block_group, in __btrfs_wait_cache_io()
1367 struct btrfs_block_group *block_group, in btrfs_wait_cache_io()
1391 struct btrfs_block_group *block_group, in __btrfs_write_out_cache()
1529 struct btrfs_block_group *block_group, in btrfs_write_out_cache()
2306 struct btrfs_block_group *block_group = NULL; in insert_into_bitmap()
[all …]
A Dzoned.c1635 struct btrfs_block_group *cache; in btrfs_use_zone_append()
1734 struct btrfs_block_group **cache_ret) in btrfs_check_meta_write_pointer()
1736 struct btrfs_block_group *cache; in btrfs_check_meta_write_pointer()
2064 int btrfs_zone_finish(struct btrfs_block_group *block_group) in btrfs_zone_finish()
2105 struct btrfs_block_group *block_group; in btrfs_zone_finish_endio()
2133 struct btrfs_block_group *bg = in btrfs_zone_finish_endio_workfn()
2163 void btrfs_clear_data_reloc_bg(struct btrfs_block_group *bg) in btrfs_clear_data_reloc_bg()
2221 struct btrfs_block_group *block_group; in btrfs_zoned_release_data_reloc_bg()
2248 struct btrfs_block_group *block_group; in btrfs_zone_finish_one_bg()
2249 struct btrfs_block_group *min_bg = NULL; in btrfs_zone_finish_one_bg()
[all …]
A Dextent-tree.c2508 struct btrfs_block_group *bg; in first_logical_byte()
2519 struct btrfs_block_group *cache, in pin_down_extent()
2544 struct btrfs_block_group *cache; in btrfs_pin_extent()
2561 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay()
2589 struct btrfs_block_group *block_group; in __exclude_logged_extent()
3287 struct btrfs_block_group *cache; in btrfs_free_tree_block()
3469 struct btrfs_block_group *cluster_bg; in find_free_extent_clustered()
3832 struct btrfs_block_group **bg_ret) in do_allocation()
4278 struct btrfs_block_group *bg_ret; in find_free_extent()
4532 struct btrfs_block_group *cache; in btrfs_free_reserved_extent()
[all …]
A Dsysfs.h29 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group *cache);
A Dspace-info.h204 struct btrfs_block_group *block_group);
A Dextent-tree.h101 void btrfs_free_excluded_extents(struct btrfs_block_group *cache);
A Dvolumes.h535 struct btrfs_block_group *btrfs_create_chunk(struct btrfs_trans_handle *trans,
599 struct btrfs_block_group *bg);
A Dqgroup.h434 struct btrfs_block_group *bg,
A Dfs.h293 struct btrfs_block_group *block_group;
318 struct btrfs_block_group *block_group;
A Dscrub.c572 static u64 get_full_stripe_logical(struct btrfs_block_group *cache, u64 bytenr) in get_full_stripe_logical()
605 struct btrfs_block_group *bg_cache; in lock_full_stripe()
652 struct btrfs_block_group *bg_cache; in unlock_full_stripe()
3415 struct btrfs_block_group *bg, in scrub_simple_mirror()
3544 struct btrfs_block_group *bg, in simple_stripe_get_logical()
3572 struct btrfs_block_group *bg, in scrub_simple_stripe()
3605 struct btrfs_block_group *bg, in scrub_stripe()
3781 struct btrfs_block_group *bg, in scrub_chunk()
3830 struct btrfs_block_group *cache) in finish_extent_writes_for_zoned()
3863 struct btrfs_block_group *cache; in scrub_enumerate_chunks()
A Dspace-info.c300 struct btrfs_block_group *block_group) in btrfs_add_bg_to_space_info()
530 struct btrfs_block_group *cache; in btrfs_dump_space_info()
1826 struct btrfs_block_group *block_group; in btrfs_account_ro_block_groups_free_space()
/linux-6.3-rc2/fs/btrfs/tests/
A Dfree-space-tree-tests.c22 struct btrfs_block_group *cache, in __check_free_space_extents()
109 struct btrfs_block_group *cache, in check_free_space_extents()
152 struct btrfs_block_group *cache, in test_empty_block_group()
166 struct btrfs_block_group *cache, in test_remove_all()
187 struct btrfs_block_group *cache, in test_remove_beginning()
210 struct btrfs_block_group *cache, in test_remove_end()
257 struct btrfs_block_group *cache, in test_merge_left()
294 struct btrfs_block_group *cache, in test_merge_right()
332 struct btrfs_block_group *cache, in test_merge_both()
375 struct btrfs_block_group *cache, in test_merge_none()
[all …]
A Dbtrfs-tests.h44 struct btrfs_block_group *
46 void btrfs_free_dummy_block_group(struct btrfs_block_group *cache);
A Dfree-space-tests.c20 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()
A Dbtrfs-tests.c213 struct btrfs_block_group *
217 struct btrfs_block_group *cache; in btrfs_alloc_dummy_block_group()
243 void btrfs_free_dummy_block_group(struct btrfs_block_group *cache) in btrfs_free_dummy_block_group()
/linux-6.3-rc2/include/trace/events/
A Dbtrfs.h22 struct btrfs_block_group;
1305 const struct btrfs_block_group *block_group),
1344 TP_PROTO(const struct btrfs_block_group *block_group,
1383 TP_PROTO(const struct btrfs_block_group *block_group,
1391 TP_PROTO(const struct btrfs_block_group *block_group,
2007 TP_PROTO(const struct btrfs_block_group *bg_cache),
2031 TP_PROTO(const struct btrfs_block_group *bg_cache),
2037 TP_PROTO(const struct btrfs_block_group *bg_cache),
2043 TP_PROTO(const struct btrfs_block_group *bg_cache),
2049 TP_PROTO(const struct btrfs_block_group *bg_cache),
[all …]

Completed in 65 milliseconds

12