Home
last modified time | relevance | path

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

/Linux-v5.15/fs/btrfs/tests/
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()
/Linux-v5.15/fs/btrfs/
Dfree-space-cache.h108 int btrfs_add_free_space(struct btrfs_block_group *block_group,
Dfree-space-cache.c872 ret = btrfs_add_free_space(block_group, info->offset, in copy_free_space_cache()
881 ret = btrfs_add_free_space(block_group, offset, in copy_free_space_cache()
2580 int btrfs_add_free_space(struct btrfs_block_group *block_group, in btrfs_add_free_space() function
2604 return btrfs_add_free_space(block_group, bytenr, size); in btrfs_add_free_space_unused()
Dextent-tree.c2725 btrfs_add_free_space(cache, start, add_len); in unpin_extent_range()
3347 btrfs_add_free_space(cache, buf->start, buf->len); in btrfs_free_tree_block()
4457 btrfs_add_free_space(cache, start, len); in btrfs_free_reserved_extent()