Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/btrfs/
H A Dblock-group.h92 struct btrfs_block_group *block_group;
101 struct btrfs_block_group { struct
266 struct btrfs_block_group *block_group) in btrfs_is_block_group_data_only()
280 struct btrfs_block_group *btrfs_lookup_first_block_group(
282 struct btrfs_block_group *btrfs_lookup_block_group(
284 struct btrfs_block_group *btrfs_next_block_group(
285 struct btrfs_block_group *cache);
286 void btrfs_get_block_group(struct btrfs_block_group *cache);
293 void btrfs_dec_nocow_writers(struct btrfs_block_group *bg);
300 struct btrfs_block_group *cache);
[all …]
H 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);
105 struct btrfs_block_group *block_group,
107 int load_free_space_cache(struct btrfs_block_group *block_group);
109 struct btrfs_block_group *block_group,
112 struct btrfs_block_group *block_group,
119 int btrfs_add_free_space(struct btrfs_block_group *block_group,
132 void btrfs_dump_free_space(struct btrfs_block_group *block_group,
142 struct btrfs_block_group *block_group,
[all …]
H A Dfree-space-tree.h19 void set_free_space_tree_thresholds(struct btrfs_block_group *block_group);
25 struct btrfs_block_group *block_group);
27 struct btrfs_block_group *block_group);
36 struct btrfs_block_group *block_group,
39 struct btrfs_block_group *block_group,
42 struct btrfs_block_group *block_group,
45 struct btrfs_block_group *block_group,
48 struct btrfs_block_group *block_group,
50 int free_space_test_bit(struct btrfs_block_group *block_group,
H 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);
30 void btrfs_discard_update_discardable(struct btrfs_block_group *block_group);
H A Dzoned.h60 int btrfs_load_block_group_zone_info(struct btrfs_block_group *cache, bool new);
61 void btrfs_calc_zone_unusable(struct btrfs_block_group *cache);
71 bool btrfs_zone_activate(struct btrfs_block_group *block_group);
72 int btrfs_zone_finish(struct btrfs_block_group *block_group);
76 void btrfs_schedule_zone_finish_bg(struct btrfs_block_group *bg,
78 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()
214 static inline bool btrfs_zone_activate(struct btrfs_block_group *block_group) in btrfs_zone_activate()
219 static inline int btrfs_zone_finish(struct btrfs_block_group *block_group) in btrfs_zone_finish()
233 static inline void btrfs_schedule_zone_finish_bg(struct btrfs_block_group *bg, in btrfs_schedule_zone_finish_bg()
[all …]
H A Ddiscard.c71 struct btrfs_block_group *block_group) in get_discard_list()
94 struct btrfs_block_group *block_group) in __add_to_discard_list()
116 struct btrfs_block_group *block_group) in add_to_discard_list()
155 struct btrfs_block_group *block_group) in remove_from_discard_list()
205 struct btrfs_block_group, in find_next_block_group()
242 struct btrfs_block_group *block_group; in peek_discard_list()
361 struct btrfs_block_group *block_group) in btrfs_discard_queue_work()
378 struct btrfs_block_group *block_group; in __btrfs_discard_schedule_work()
485 struct btrfs_block_group *block_group; in btrfs_discard_workfn()
682 struct btrfs_block_group *block_group, *next; in btrfs_discard_punt_unused_bgs_list()
[all …]
H A Dblock-group.c184 struct btrfs_block_group *cache; in btrfs_add_block_group_cache()
275 struct btrfs_block_group *cache) in btrfs_next_block_group()
319 struct btrfs_block_group *bg; in btrfs_inc_nocow_writers()
370 struct btrfs_block_group *bg; in btrfs_dec_block_group_reservations()
405 struct btrfs_block_group *cache) in btrfs_get_caching_control()
1789 struct btrfs_block_group *bg; in btrfs_reclaim_bgs_work()
2257 struct btrfs_block_group *bg; in check_chunk_block_group_mappings()
2432 struct btrfs_block_group *bg; in fill_dummy_bgs()
3503 struct btrfs_block_group, in btrfs_write_dirty_block_groups()
3843 struct btrfs_block_group *bg; in do_chunk_alloc()
[all …]
H 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()
836 struct btrfs_block_group *block_group; in remove_from_free_space_tree()
1029 struct btrfs_block_group *block_group; in add_to_free_space_tree()
1165 struct btrfs_block_group *block_group; in btrfs_create_free_space_tree()
1330 struct btrfs_block_group *block_group; in btrfs_rebuild_free_space_tree()
1480 struct btrfs_block_group *block_group; in load_free_space_bitmaps()
1564 struct btrfs_block_group *block_group; in load_free_space_extents()
[all …]
H A Ddev-replace.h13 struct btrfs_block_group;
26 struct btrfs_block_group *cache,
H A Dzoned.c1630 struct btrfs_block_group *cache; in btrfs_use_zone_append()
1765 struct btrfs_block_group **active_bg) in check_bg_is_active()
1782 struct btrfs_block_group *tgt = *active_bg; in check_bg_is_active()
1855 struct btrfs_block_group **tgt; in btrfs_check_meta_write_pointer()
2257 struct btrfs_block_group *block_group; in btrfs_zone_finish_endio()
2285 struct btrfs_block_group *bg = in btrfs_zone_finish_endio_workfn()
2373 struct btrfs_block_group *block_group; in btrfs_zoned_release_data_reloc_bg()
2403 struct btrfs_block_group *block_group; in btrfs_zone_finish_one_bg()
2404 struct btrfs_block_group *min_bg = NULL; in btrfs_zone_finish_one_bg()
2446 struct btrfs_block_group *bg; in btrfs_zoned_activate_one_bg()
[all …]
H 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()
296 struct btrfs_block_group *block_group, in btrfs_truncate_free_space_cache()
1070 struct btrfs_block_group *block_group, in write_cache_extent_entries()
1199 struct btrfs_block_group *block_group, in write_pinned_extent_entries()
1297 struct btrfs_block_group *block_group, in __btrfs_wait_cache_io()
1354 struct btrfs_block_group *block_group, in btrfs_wait_cache_io()
1378 struct btrfs_block_group *block_group, in __btrfs_write_out_cache()
1516 struct btrfs_block_group *block_group, in btrfs_write_out_cache()
2314 struct btrfs_block_group *block_group = NULL; in insert_into_bitmap()
[all …]
H A Dextent-tree.c2526 struct btrfs_block_group *bg; in first_logical_byte()
2537 struct btrfs_block_group *cache, in pin_down_extent()
2562 struct btrfs_block_group *cache; in btrfs_pin_extent()
2579 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay()
2607 struct btrfs_block_group *block_group; in __exclude_logged_extent()
3302 struct btrfs_block_group *cache; in btrfs_free_tree_block()
3510 struct btrfs_block_group *cluster_bg; in find_free_extent_clustered()
3852 struct btrfs_block_group **bg_ret) in do_allocation()
4315 struct btrfs_block_group *bg_ret; in find_free_extent()
4577 struct btrfs_block_group *cache; in btrfs_free_reserved_extent()
[all …]
H A Dsysfs.h29 void btrfs_sysfs_add_block_group_type(struct btrfs_block_group *cache);
H A Dfs.h295 struct btrfs_block_group *block_group;
320 struct btrfs_block_group *block_group;
773 struct btrfs_block_group *active_meta_bg;
774 struct btrfs_block_group *active_system_bg;
H A Dspace-info.h203 struct btrfs_block_group *block_group);
H A Dscrub.c110 struct btrfs_block_group *bg;
1521 static int scrub_find_fill_first_stripe(struct btrfs_block_group *bg, in scrub_find_fill_first_stripe()
1802 static int queue_scrub_stripe(struct scrub_ctx *sctx, struct btrfs_block_group *bg, in queue_scrub_stripe()
1845 struct btrfs_block_group *bg, in scrub_raid56_parity_stripe()
2014 struct btrfs_block_group *bg, in scrub_simple_mirror()
2086 struct btrfs_block_group *bg, in simple_stripe_get_logical()
2113 struct btrfs_block_group *bg, in scrub_simple_stripe()
2146 struct btrfs_block_group *bg, in scrub_stripe()
2315 struct btrfs_block_group *bg, in scrub_chunk()
2364 struct btrfs_block_group *cache) in finish_extent_writes_for_zoned()
[all …]
H A Dvolumes.h609 struct btrfs_block_group *btrfs_create_chunk(struct btrfs_trans_handle *trans,
669 struct btrfs_block_group *bg);
H A Dqgroup.h443 struct btrfs_block_group *bg,
H A Dextent_io.h100 struct btrfs_block_group *zoned_bg;
H A Dspace-info.c300 struct btrfs_block_group *block_group) in btrfs_add_bg_to_space_info()
508 struct btrfs_block_group *cache; in btrfs_dump_space_info()
1827 struct btrfs_block_group *block_group; in btrfs_account_ro_block_groups_free_space()
/openbmc/linux/fs/btrfs/tests/
H 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 …]
H A Dbtrfs-tests.h44 struct btrfs_block_group *
46 void btrfs_free_dummy_block_group(struct btrfs_block_group *cache);
H 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()
H 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()
/openbmc/linux/include/trace/events/
H A Dbtrfs.h22 struct btrfs_block_group;
1333 const struct btrfs_block_group *block_group),
1372 TP_PROTO(const struct btrfs_block_group *block_group,
1411 TP_PROTO(const struct btrfs_block_group *block_group,
1419 TP_PROTO(const struct btrfs_block_group *block_group,
2037 TP_PROTO(const struct btrfs_block_group *bg_cache),
2061 TP_PROTO(const struct btrfs_block_group *bg_cache),
2067 TP_PROTO(const struct btrfs_block_group *bg_cache),
2073 TP_PROTO(const struct btrfs_block_group *bg_cache),
2079 TP_PROTO(const struct btrfs_block_group *bg_cache),
[all …]

12