Home
last modified time | relevance | path

Searched refs:btrfs_block_group_cache (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/fs/btrfs/
Dfree-space-cache.h42 struct btrfs_block_group_cache
46 struct btrfs_block_group_cache *block_group,
52 struct btrfs_block_group_cache *block_group,
55 struct btrfs_block_group_cache *block_group);
57 struct btrfs_block_group_cache *block_group,
61 struct btrfs_block_group_cache *block_group,
75 void btrfs_init_free_space_ctl(struct btrfs_block_group_cache *block_group);
80 btrfs_add_free_space(struct btrfs_block_group_cache *block_group, in btrfs_add_free_space()
87 int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group,
90 void btrfs_remove_free_space_cache(struct btrfs_block_group_cache
[all …]
Dfree-space-tree.h17 void set_free_space_tree_thresholds(struct btrfs_block_group_cache *block_group);
22 struct btrfs_block_group_cache *block_group);
24 struct btrfs_block_group_cache *block_group);
34 struct btrfs_block_group_cache *block_group,
37 struct btrfs_block_group_cache *block_group,
40 struct btrfs_block_group_cache *block_group,
43 struct btrfs_block_group_cache *block_group,
46 struct btrfs_block_group_cache *block_group,
48 int free_space_test_bit(struct btrfs_block_group_cache *block_group,
Dfree-space-tree.c15 struct btrfs_block_group_cache *block_group,
18 void set_free_space_tree_thresholds(struct btrfs_block_group_cache *cache) in set_free_space_tree_thresholds()
47 struct btrfs_block_group_cache *block_group, in add_new_free_space_info()
80 struct btrfs_block_group_cache *block_group, in search_free_space_info()
180 struct btrfs_block_group_cache *block_group, in convert_free_space_to_bitmaps()
319 struct btrfs_block_group_cache *block_group, in convert_free_space_to_extents()
452 struct btrfs_block_group_cache *block_group, in update_free_space_extent_count()
490 int free_space_test_bit(struct btrfs_block_group_cache *block_group, in free_space_test_bit()
512 static void free_space_set_bits(struct btrfs_block_group_cache *block_group, in free_space_set_bits()
580 struct btrfs_block_group_cache *block_group, in modify_free_space_bitmap()
[all …]
Dfree-space-cache.c83 struct btrfs_block_group_cache in lookup_free_space_inode()
181 struct btrfs_block_group_cache *block_group, in create_free_space_inode()
215 struct btrfs_block_group_cache *block_group, in btrfs_truncate_free_space_cache()
807 struct btrfs_block_group_cache *block_group) in load_free_space_cache()
886 struct btrfs_block_group_cache *block_group, in write_cache_extent_entries()
1016 struct btrfs_block_group_cache *block_group, in write_pinned_extent_entries()
1116 struct btrfs_block_group_cache *block_group, in __btrfs_wait_cache_io()
1185 struct btrfs_block_group_cache *block_group, in btrfs_wait_cache_io()
1206 struct btrfs_block_group_cache *block_group, in __btrfs_write_out_cache()
1347 struct btrfs_block_group_cache *block_group, in btrfs_write_out_cache()
[all …]
Dextent-tree.c86 block_group_cache_done(struct btrfs_block_group_cache *cache) in block_group_cache_done()
93 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) in block_group_bits()
98 void btrfs_get_block_group(struct btrfs_block_group_cache *cache) in btrfs_get_block_group()
103 void btrfs_put_block_group(struct btrfs_block_group_cache *cache) in btrfs_put_block_group()
128 struct btrfs_block_group_cache *block_group) in btrfs_add_block_group_cache()
132 struct btrfs_block_group_cache *cache; in btrfs_add_block_group_cache()
139 cache = rb_entry(parent, struct btrfs_block_group_cache, in btrfs_add_block_group_cache()
167 static struct btrfs_block_group_cache *
171 struct btrfs_block_group_cache *cache, *ret = NULL; in block_group_cache_tree_search()
179 cache = rb_entry(n, struct btrfs_block_group_cache, in block_group_cache_tree_search()
[all …]
Dctree.h506 struct btrfs_block_group_cache *block_group;
535 struct btrfs_block_group_cache *block_group;
565 struct btrfs_block_group_cache { struct
1391 btrfs_should_fragment_free_space(struct btrfs_block_group_cache *block_group) in btrfs_should_fragment_free_space()
2616 void btrfs_wait_block_group_reservations(struct btrfs_block_group_cache *bg);
2619 void btrfs_wait_nocow_writers(struct btrfs_block_group_cache *bg);
2620 void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
2637 struct btrfs_block_group_cache *btrfs_lookup_block_group(
2640 void btrfs_get_block_group(struct btrfs_block_group_cache *cache);
2641 void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
[all …]
Dscrub.c388 static u64 get_full_stripe_logical(struct btrfs_block_group_cache *cache, in get_full_stripe_logical()
422 struct btrfs_block_group_cache *bg_cache; in lock_full_stripe()
469 struct btrfs_block_group_cache *bg_cache; in unlock_full_stripe()
3400 struct btrfs_block_group_cache *cache, in scrub_chunk()
3467 struct btrfs_block_group_cache *cache; in scrub_enumerate_chunks()
Drelocation.c148 struct btrfs_block_group_cache *block_group;
1542 struct btrfs_block_group_cache *block_group) in in_block_group()
3456 struct btrfs_block_group_cache *block_group, in delete_block_group_cache()
4127 struct btrfs_block_group_cache *group) in create_reloc_inode()
4189 struct btrfs_block_group_cache *block_group) in describe_relocation()
Dsysfs.c289 struct btrfs_block_group_cache *block_group; in raid_bytes_show()
Ddisk-io.c4384 static void btrfs_cleanup_bg_io(struct btrfs_block_group_cache *cache) in btrfs_cleanup_bg_io()
4401 struct btrfs_block_group_cache *cache; in btrfs_cleanup_dirty_bgs()
4406 struct btrfs_block_group_cache, in btrfs_cleanup_dirty_bgs()
4433 struct btrfs_block_group_cache, in btrfs_cleanup_dirty_bgs()
Dreada.c229 struct btrfs_block_group_cache *cache = NULL; in reada_find_zone()
Dtransaction.c68 struct btrfs_block_group_cache *cache; in btrfs_put_transaction()
71 struct btrfs_block_group_cache, in btrfs_put_transaction()
Dvolumes.c2967 struct btrfs_block_group_cache *cache; in btrfs_may_alloc_data_chunk()
3178 struct btrfs_block_group_cache *cache; in chunk_usage_range_filter()
3211 struct btrfs_block_group_cache *cache; in chunk_usage_filter()
Dioctl.c4442 struct btrfs_block_group_cache *block_group; in get_block_group_info()
Dinode.c2915 struct btrfs_block_group_cache *cache; in btrfs_release_delalloc_bytes()
/Linux-v4.19/fs/btrfs/tests/
Dfree-space-tree-tests.c20 struct btrfs_block_group_cache *cache, in __check_free_space_extents()
109 struct btrfs_block_group_cache *cache, in check_free_space_extents()
152 struct btrfs_block_group_cache *cache, in test_empty_block_group()
166 struct btrfs_block_group_cache *cache, in test_remove_all()
187 struct btrfs_block_group_cache *cache, in test_remove_beginning()
211 struct btrfs_block_group_cache *cache, in test_remove_end()
235 struct btrfs_block_group_cache *cache, in test_remove_middle()
260 struct btrfs_block_group_cache *cache, in test_merge_left()
298 struct btrfs_block_group_cache *cache, in test_merge_right()
337 struct btrfs_block_group_cache *cache, in test_merge_both()
[all …]
Dbtrfs-tests.h29 struct btrfs_block_group_cache *
31 void btrfs_free_dummy_block_group(struct btrfs_block_group_cache *cache);
Dfree-space-tests.c19 static int test_extents(struct btrfs_block_group_cache *cache) in test_extents()
89 static int test_bitmaps(struct btrfs_block_group_cache *cache, in test_bitmaps()
158 static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache, in test_bitmaps_and_extents()
333 check_num_extents_and_bitmaps(const struct btrfs_block_group_cache *cache, in check_num_extents_and_bitmaps()
353 static int check_cache_empty(struct btrfs_block_group_cache *cache) in check_cache_empty()
395 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group_cache *cache, in test_steal_space_from_bitmap_to_extent()
831 struct btrfs_block_group_cache *cache; in btrfs_test_free_space_cache()
Dbtrfs-tests.c182 struct btrfs_block_group_cache *
186 struct btrfs_block_group_cache *cache; in btrfs_alloc_dummy_block_group()
213 void btrfs_free_dummy_block_group(struct btrfs_block_group_cache *cache) in btrfs_free_dummy_block_group()
/Linux-v4.19/include/trace/events/
Dbtrfs.h22 struct btrfs_block_group_cache;
666 const struct btrfs_block_group_cache *block_group, int create),
1148 TP_PROTO(const struct btrfs_block_group_cache *block_group, u64 start,
1178 TP_PROTO(const struct btrfs_block_group_cache *block_group, u64 start,
1186 TP_PROTO(const struct btrfs_block_group_cache *block_group, u64 start,
1194 TP_PROTO(const struct btrfs_block_group_cache *block_group, u64 start,
1227 TP_PROTO(const struct btrfs_block_group_cache *block_group),
1244 TP_PROTO(const struct btrfs_block_group_cache *block_group,
1816 TP_PROTO(const struct btrfs_block_group_cache *bg_cache),
1840 TP_PROTO(const struct btrfs_block_group_cache *bg_cache),
[all …]