Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Dfree-space-cache.h55 struct btrfs_block_group_cache
59 struct btrfs_block_group_cache *block_group,
66 struct btrfs_block_group_cache *block_group,
69 struct btrfs_block_group_cache *block_group);
72 struct btrfs_block_group_cache *block_group,
77 struct btrfs_block_group_cache *block_group,
91 void btrfs_init_free_space_ctl(struct btrfs_block_group_cache *block_group);
95 btrfs_add_free_space(struct btrfs_block_group_cache *block_group, in btrfs_add_free_space()
101 int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group,
104 void btrfs_remove_free_space_cache(struct btrfs_block_group_cache
[all …]
Dfree-space-cache.c95 struct btrfs_block_group_cache in lookup_free_space_inode()
194 struct btrfs_block_group_cache *block_group, in create_free_space_inode()
229 struct btrfs_block_group_cache *block_group, in btrfs_truncate_free_space_cache()
827 struct btrfs_block_group_cache *block_group) in load_free_space_cache()
905 struct btrfs_block_group_cache *block_group, in write_cache_extent_entries()
1036 struct btrfs_block_group_cache *block_group, in write_pinned_extent_entries()
1145 struct btrfs_block_group_cache *block_group, in btrfs_wait_cache_io()
1223 struct btrfs_block_group_cache *block_group, in __btrfs_write_out_cache()
1362 struct btrfs_block_group_cache *block_group, in btrfs_write_out_cache()
1642 struct btrfs_block_group_cache *block_group = ctl->private; in recalculate_thresholds()
[all …]
Dextent-tree.c106 static int btrfs_update_reserved_bytes(struct btrfs_block_group_cache *cache,
115 block_group_cache_done(struct btrfs_block_group_cache *cache) in block_group_cache_done()
122 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) in block_group_bits()
127 void btrfs_get_block_group(struct btrfs_block_group_cache *cache) in btrfs_get_block_group()
132 void btrfs_put_block_group(struct btrfs_block_group_cache *cache) in btrfs_put_block_group()
147 struct btrfs_block_group_cache *block_group) in btrfs_add_block_group_cache()
151 struct btrfs_block_group_cache *cache; in btrfs_add_block_group_cache()
158 cache = rb_entry(parent, struct btrfs_block_group_cache, in btrfs_add_block_group_cache()
186 static struct btrfs_block_group_cache *
190 struct btrfs_block_group_cache *cache, *ret = NULL; in block_group_cache_tree_search()
[all …]
Dctree.h1265 struct btrfs_block_group_cache *block_group;
1294 struct btrfs_block_group_cache *block_group;
1313 struct btrfs_block_group_cache { struct
2214 struct btrfs_block_group_cache *block_group) in btrfs_should_fragment_free_space()
3398 void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
3416 struct btrfs_block_group_cache *btrfs_lookup_block_group(
3419 void btrfs_get_block_group(struct btrfs_block_group_cache *cache);
3420 void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
3421 int get_block_group_index(struct btrfs_block_group_cache *cache);
3490 void btrfs_get_block_group_trimming(struct btrfs_block_group_cache *cache);
[all …]
Dsysfs.c267 struct btrfs_block_group_cache *block_group; in raid_bytes_show()
Dreada.c254 struct btrfs_block_group_cache *cache = NULL; in reada_find_zone()
Drelocation.c159 struct btrfs_block_group_cache *block_group;
1566 struct btrfs_block_group_cache *block_group)
3439 struct btrfs_block_group_cache *block_group,
4137 struct btrfs_block_group_cache *group)
Dscrub.c3436 struct btrfs_block_group_cache *cache, in scrub_chunk()
3503 struct btrfs_block_group_cache *cache; in scrub_enumerate_chunks()
Dvolumes.c3129 struct btrfs_block_group_cache *cache; in chunk_usage_range_filter()
3162 struct btrfs_block_group_cache *cache; in chunk_usage_filter()
Dioctl.c4146 struct btrfs_block_group_cache *block_group; in btrfs_get_block_group_info()
Dinode.c2799 struct btrfs_block_group_cache *cache; in btrfs_release_delalloc_bytes()
/linux-4.4.14/fs/btrfs/tests/
Dfree-space-tests.c26 static struct btrfs_block_group_cache *init_test_block_group(void) in init_test_block_group()
28 struct btrfs_block_group_cache *cache; in init_test_block_group()
67 static int test_extents(struct btrfs_block_group_cache *cache) in test_extents()
137 static int test_bitmaps(struct btrfs_block_group_cache *cache) in test_bitmaps()
207 static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache) in test_bitmaps_and_extents()
384 check_num_extents_and_bitmaps(const struct btrfs_block_group_cache *cache, in check_num_extents_and_bitmaps()
402 static int check_cache_empty(struct btrfs_block_group_cache *cache) in check_cache_empty()
443 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group_cache *cache) in test_steal_space_from_bitmap_to_extent()
888 struct btrfs_block_group_cache *cache; in btrfs_test_free_space_cache()
/linux-4.4.14/include/trace/events/
Dbtrfs.h20 struct btrfs_block_group_cache;
815 struct btrfs_block_group_cache *block_group, u64 start,
847 struct btrfs_block_group_cache *block_group, u64 start,
856 struct btrfs_block_group_cache *block_group, u64 start,
864 TP_PROTO(struct btrfs_block_group_cache *block_group, u64 start,
897 TP_PROTO(struct btrfs_block_group_cache *block_group),
914 TP_PROTO(struct btrfs_block_group_cache *block_group,