Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/
Dfree-space-cache.h54 struct btrfs_block_group_cache
58 struct btrfs_block_group_cache *block_group,
65 struct btrfs_block_group_cache *block_group,
68 struct btrfs_block_group_cache *block_group);
71 struct btrfs_block_group_cache *block_group,
76 struct btrfs_block_group_cache *block_group,
90 void btrfs_init_free_space_ctl(struct btrfs_block_group_cache *block_group);
94 btrfs_add_free_space(struct btrfs_block_group_cache *block_group, in btrfs_add_free_space()
100 int btrfs_remove_free_space(struct btrfs_block_group_cache *block_group,
103 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()
829 struct btrfs_block_group_cache *block_group) in load_free_space_cache()
907 struct btrfs_block_group_cache *block_group, in write_cache_extent_entries()
1038 struct btrfs_block_group_cache *block_group, in write_pinned_extent_entries()
1147 struct btrfs_block_group_cache *block_group, in btrfs_wait_cache_io()
1225 struct btrfs_block_group_cache *block_group, in __btrfs_write_out_cache()
1364 struct btrfs_block_group_cache *block_group, in btrfs_write_out_cache()
1644 struct btrfs_block_group_cache *block_group = ctl->private; in recalculate_thresholds()
[all …]
Dextent-tree.c108 static int btrfs_update_reserved_bytes(struct btrfs_block_group_cache *cache,
117 block_group_cache_done(struct btrfs_block_group_cache *cache) in block_group_cache_done()
124 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) in block_group_bits()
129 static void btrfs_get_block_group(struct btrfs_block_group_cache *cache) in btrfs_get_block_group()
134 void btrfs_put_block_group(struct btrfs_block_group_cache *cache) in btrfs_put_block_group()
149 struct btrfs_block_group_cache *block_group) in btrfs_add_block_group_cache()
153 struct btrfs_block_group_cache *cache; in btrfs_add_block_group_cache()
160 cache = rb_entry(parent, struct btrfs_block_group_cache, in btrfs_add_block_group_cache()
188 static struct btrfs_block_group_cache *
192 struct btrfs_block_group_cache *cache, *ret = NULL; in block_group_cache_tree_search()
[all …]
Dctree.h1231 struct btrfs_block_group_cache *block_group;
1260 struct btrfs_block_group_cache *block_group;
1279 struct btrfs_block_group_cache { struct
3354 void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
3372 struct btrfs_block_group_cache *btrfs_lookup_block_group(
3375 void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
3376 int get_block_group_index(struct btrfs_block_group_cache *cache);
3499 struct btrfs_block_group_cache *cache);
3501 struct btrfs_block_group_cache *cache);
Dsysfs.c266 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)
3433 struct btrfs_block_group_cache *block_group,
4128 struct btrfs_block_group_cache *group)
Dscrub.c3383 struct btrfs_block_group_cache *cache; in scrub_enumerate_chunks()
Dioctl.c3981 struct btrfs_block_group_cache *block_group; in btrfs_get_block_group_info()
Dvolumes.c2956 struct btrfs_block_group_cache *cache; in chunk_usage_filter()
Dinode.c2778 struct btrfs_block_group_cache *cache; in btrfs_release_delalloc_bytes()
/linux-4.1.27/fs/btrfs/tests/
Dfree-space-tests.c25 static struct btrfs_block_group_cache *init_test_block_group(void) in init_test_block_group()
27 struct btrfs_block_group_cache *cache; in init_test_block_group()
60 static int test_extents(struct btrfs_block_group_cache *cache) in test_extents()
130 static int test_bitmaps(struct btrfs_block_group_cache *cache) in test_bitmaps()
200 static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache) in test_bitmaps_and_extents()
377 check_num_extents_and_bitmaps(const struct btrfs_block_group_cache *cache, in check_num_extents_and_bitmaps()
395 static int check_cache_empty(struct btrfs_block_group_cache *cache) in check_cache_empty()
436 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group_cache *cache) in test_steal_space_from_bitmap_to_extent()
881 struct btrfs_block_group_cache *cache; in btrfs_test_free_space_cache()
/linux-4.1.27/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,