Home
last modified time | relevance | path

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

12

/linux/fs/btrfs/
A Dblock-group.h50 struct btrfs_block_group *block_group;
58 struct btrfs_block_group { struct
218 struct btrfs_block_group *block_group) in btrfs_is_block_group_data_only()
230 struct btrfs_block_group *block_group) in btrfs_should_fragment_free_space()
241 struct btrfs_block_group *btrfs_lookup_first_block_group(
243 struct btrfs_block_group *btrfs_lookup_block_group(
245 struct btrfs_block_group *btrfs_next_block_group(
246 struct btrfs_block_group *cache);
247 void btrfs_get_block_group(struct btrfs_block_group *cache);
262 struct btrfs_block_group *cache);
[all …]
A Dfree-space-cache.h83 struct btrfs_block_group *block_group,
87 struct btrfs_block_group *block_group);
92 struct btrfs_block_group *block_group,
94 int load_free_space_cache(struct btrfs_block_group *block_group);
96 struct btrfs_block_group *block_group,
99 struct btrfs_block_group *block_group,
108 int btrfs_add_free_space(struct btrfs_block_group *block_group,
122 void btrfs_dump_free_space(struct btrfs_block_group *block_group,
132 struct btrfs_block_group *block_group,
134 int btrfs_trim_block_group(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);
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);
78 void btrfs_clear_data_reloc_bg(struct btrfs_block_group *bg);
157 struct btrfs_block_group *cache, bool new) in btrfs_load_block_group_zone_info()
183 struct btrfs_block_group **cache_ret) in btrfs_check_meta_write_pointer()
189 struct btrfs_block_group *cache, in btrfs_revert_meta_write_pointer()
219 static inline int btrfs_zone_finish(struct btrfs_block_group *block_group) in btrfs_zone_finish()
[all …]
A Ddiscard.c72 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()
130 struct btrfs_block_group *block_group) in remove_from_discard_list()
169 struct btrfs_block_group, in find_next_block_group()
206 struct btrfs_block_group *block_group; in peek_discard_list()
319 struct btrfs_block_group *block_group) in btrfs_discard_queue_work()
336 struct btrfs_block_group *block_group; in __btrfs_discard_schedule_work()
440 struct btrfs_block_group *block_group; in btrfs_discard_workfn()
634 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.c161 struct btrfs_block_group *cache; in btrfs_add_block_group_cache()
256 struct btrfs_block_group *cache) in btrfs_next_block_group()
284 struct btrfs_block_group *bg; in btrfs_inc_nocow_writers()
307 struct btrfs_block_group *bg; in btrfs_dec_nocow_writers()
329 struct btrfs_block_group *bg; in btrfs_dec_block_group_reservations()
364 struct btrfs_block_group *cache) in btrfs_get_caching_control()
1509 struct btrfs_block_group *bg; in btrfs_reclaim_bgs_work()
1939 struct btrfs_block_group *bg; in check_chunk_block_group_mappings()
2120 struct btrfs_block_group *bg; in fill_dummy_bgs()
3091 struct btrfs_block_group, in btrfs_write_dirty_block_groups()
[all …]
A Dfree-space-tree.c16 struct btrfs_block_group *block_group,
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()
187 struct btrfs_block_group *block_group, in convert_free_space_to_bitmaps()
325 struct btrfs_block_group *block_group, in convert_free_space_to_extents()
816 struct btrfs_block_group *block_group; in remove_from_free_space_tree()
1009 struct btrfs_block_group *block_group; in add_to_free_space_tree()
1144 struct btrfs_block_group *block_group; in btrfs_create_free_space_tree()
1399 struct btrfs_block_group *block_group; in load_free_space_bitmaps()
1480 struct btrfs_block_group *block_group; in load_free_space_extents()
[all …]
A Dfree-space-cache.c197 struct btrfs_block_group *block_group, in create_free_space_inode()
218 struct btrfs_block_group *block_group) in btrfs_remove_free_space_inode()
290 struct btrfs_block_group *block_group, in btrfs_truncate_free_space_cache()
1016 struct btrfs_block_group *block_group, in write_cache_extent_entries()
1145 struct btrfs_block_group *block_group, in write_pinned_extent_entries()
1244 struct btrfs_block_group *block_group, in __btrfs_wait_cache_io()
1301 struct btrfs_block_group *block_group, in btrfs_wait_cache_io()
1325 struct btrfs_block_group *block_group, in __btrfs_write_out_cache()
1463 struct btrfs_block_group *block_group, in btrfs_write_out_cache()
2154 struct btrfs_block_group *block_group = NULL; in insert_into_bitmap()
[all …]
A Dextent-tree.c2500 struct btrfs_block_group *cache; in first_logical_byte()
2521 struct btrfs_block_group *cache, in pin_down_extent()
2546 struct btrfs_block_group *cache; in btrfs_pin_extent()
2563 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay()
2598 struct btrfs_block_group *block_group; in __exclude_logged_extent()
3298 struct btrfs_block_group *cache; in btrfs_free_tree_block()
3552 struct btrfs_block_group *cluster_bg; in find_free_extent_clustered()
3890 struct btrfs_block_group **bg_ret) in do_allocation()
4283 struct btrfs_block_group *bg_ret; in find_free_extent()
4532 struct btrfs_block_group *cache; in btrfs_free_reserved_extent()
[all …]
A Dzoned.c1103 static int calculate_alloc_pointer(struct btrfs_block_group *cache, in calculate_alloc_pointer()
1158 int btrfs_load_block_group_zone_info(struct btrfs_block_group *cache, bool new) in btrfs_load_block_group_zone_info()
1424 void btrfs_calc_zone_unusable(struct btrfs_block_group *cache) in btrfs_calc_zone_unusable()
1482 struct btrfs_block_group *cache; in btrfs_use_zone_append()
1581 struct btrfs_block_group **cache_ret) in btrfs_check_meta_write_pointer()
1583 struct btrfs_block_group *cache; in btrfs_check_meta_write_pointer()
1616 void btrfs_revert_meta_write_pointer(struct btrfs_block_group *cache, in btrfs_revert_meta_write_pointer()
1736 bool btrfs_zone_activate(struct btrfs_block_group *block_group) in btrfs_zone_activate()
1795 int btrfs_zone_finish(struct btrfs_block_group *block_group) in btrfs_zone_finish()
1920 struct btrfs_block_group *block_group; in btrfs_zone_finish_endio()
[all …]
A Ddev-replace.h22 struct btrfs_block_group *cache,
A Dsysfs.h30 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group *cache);
A Dvolumes.h506 struct btrfs_block_group *btrfs_create_chunk(struct btrfs_trans_handle *trans,
570 struct btrfs_block_group *bg);
A Dqgroup.h424 struct btrfs_block_group *bg,
A Dvolumes.c3153 struct btrfs_block_group *sys_bg; in btrfs_remove_chunk()
3217 struct btrfs_block_group *block_group; in btrfs_relocate_chunk()
3362 struct btrfs_block_group *cache; in btrfs_may_alloc_data_chunk()
3571 struct btrfs_block_group *cache; in chunk_usage_range_filter()
3604 struct btrfs_block_group *cache; in chunk_usage_filter()
5504 struct btrfs_block_group *bg) in btrfs_chunk_alloc_add_chunk_item()
5614 struct btrfs_block_group *meta_bg; in init_first_rw_device()
5615 struct btrfs_block_group *sys_bg; in init_first_rw_device()
6145 struct btrfs_block_group *cache; in is_block_group_to_copy()
8258 struct btrfs_block_group *cache = (struct btrfs_block_group *)data; in relocating_repair_kthread()
[all …]
A Dtransaction.c144 struct btrfs_block_group *cache; in btrfs_put_transaction()
147 struct btrfs_block_group, in btrfs_put_transaction()
217 struct btrfs_block_group *cache = caching_ctl->block_group; in switch_commit_roots()
2005 struct btrfs_block_group *block_group, *tmp; in btrfs_cleanup_pending_block_groups()
A Dscrub.c388 static u64 get_full_stripe_logical(struct btrfs_block_group *cache, u64 bytenr) in get_full_stripe_logical()
421 struct btrfs_block_group *bg_cache; in lock_full_stripe()
468 struct btrfs_block_group *bg_cache; in unlock_full_stripe()
3167 struct btrfs_block_group *cache) in scrub_stripe()
3582 struct btrfs_block_group *cache) in scrub_chunk()
3631 struct btrfs_block_group *cache) in finish_extent_writes_for_zoned()
3665 struct btrfs_block_group *cache; in scrub_enumerate_chunks()
A Ddev-replace.c471 struct btrfs_block_group *cache; in mark_block_group_to_copy()
588 struct btrfs_block_group *cache, in btrfs_finish_block_group_to_copy()
A Drelocation.c119 struct btrfs_block_group *block_group;
3306 struct btrfs_block_group *block_group, in delete_block_group_cache()
3347 struct btrfs_block_group *block_group, in delete_v1_space_cache()
3808 struct btrfs_block_group *group) in create_reloc_inode()
3940 struct btrfs_block_group *block_group) in describe_relocation()
3965 struct btrfs_block_group *bg; in btrfs_relocate_block_group()
/linux/fs/btrfs/tests/
A Dfree-space-tree-tests.c21 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()
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()
374 struct btrfs_block_group *cache, in test_merge_none()
[all …]
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()
830 struct btrfs_block_group *cache; in btrfs_test_free_space_cache()
A Dbtrfs-tests.h44 struct btrfs_block_group *
46 void btrfs_free_dummy_block_group(struct btrfs_block_group *cache);
A Dbtrfs-tests.c210 struct btrfs_block_group *
214 struct btrfs_block_group *cache; in btrfs_alloc_dummy_block_group()
240 void btrfs_free_dummy_block_group(struct btrfs_block_group *cache) in btrfs_free_dummy_block_group()
/linux/include/trace/events/
A Dbtrfs.h22 struct btrfs_block_group;
736 const struct btrfs_block_group *block_group, int create),
1207 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),
1897 TP_PROTO(const struct btrfs_block_group *bg_cache),
1903 TP_PROTO(const struct btrfs_block_group *bg_cache),
1909 TP_PROTO(const struct btrfs_block_group *bg_cache),
[all …]

Completed in 84 milliseconds

12