Home
last modified time | relevance | path

Searched refs:btrfs_add_free_space (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/btrfs/tests/
H A Dfree-space-tests.c27 ret = btrfs_add_free_space(cache, 0, SZ_4M); in test_extents()
45 ret = btrfs_add_free_space(cache, 0, SZ_4M); in test_extents()
508 ret = btrfs_add_free_space(cache, SZ_128M, SZ_512K); in test_steal_space_from_bitmap_to_extent()
533 ret = btrfs_add_free_space(cache, SZ_128M + SZ_16M, sectorsize); in test_steal_space_from_bitmap_to_extent()
552 ret = btrfs_add_free_space(cache, SZ_128M - SZ_128K, SZ_128K); in test_steal_space_from_bitmap_to_extent()
706 ret = btrfs_add_free_space(cache, SZ_128M - SZ_512K, SZ_512K); in test_steal_space_from_bitmap_to_extent()
731 ret = btrfs_add_free_space(cache, SZ_32M, 2 * sectorsize); in test_steal_space_from_bitmap_to_extent()
742 ret = btrfs_add_free_space(cache, SZ_128M, SZ_128K); in test_steal_space_from_bitmap_to_extent()
917 ret = btrfs_add_free_space(cache, offset, sectorsize); in test_bytes_index()
929 ret = btrfs_add_free_space(cache, offset, sectorsize); in test_bytes_index()
[all …]
/openbmc/linux/fs/btrfs/
H A Dfree-space-cache.h119 int btrfs_add_free_space(struct btrfs_block_group *block_group,
H A Dfree-space-cache.c914 ret = btrfs_add_free_space(block_group, offset, bytes); in copy_free_space_cache()
924 ret = btrfs_add_free_space(block_group, offset, in copy_free_space_cache()
2752 int btrfs_add_free_space(struct btrfs_block_group *block_group, in btrfs_add_free_space() function
2774 return btrfs_add_free_space(block_group, bytenr, size); in btrfs_add_free_space_unused()
H A Dextent-tree.c2734 btrfs_add_free_space(cache, start, len); in unpin_extent_range()
3361 btrfs_add_free_space(cache, buf->start, buf->len); in btrfs_free_tree_block()
4598 btrfs_add_free_space(cache, start, len); in btrfs_free_reserved_extent()