Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/tests/
Dfree-space-tests.c26 ret = btrfs_add_free_space(cache, 0, SZ_4M); in test_extents()
44 ret = btrfs_add_free_space(cache, 0, SZ_4M); in test_extents()
509 ret = btrfs_add_free_space(cache, SZ_128M, SZ_512K); in test_steal_space_from_bitmap_to_extent()
534 ret = btrfs_add_free_space(cache, SZ_128M + SZ_16M, sectorsize); in test_steal_space_from_bitmap_to_extent()
553 ret = btrfs_add_free_space(cache, SZ_128M - SZ_128K, SZ_128K); in test_steal_space_from_bitmap_to_extent()
707 ret = btrfs_add_free_space(cache, SZ_128M - SZ_512K, SZ_512K); in test_steal_space_from_bitmap_to_extent()
732 ret = btrfs_add_free_space(cache, SZ_32M, 2 * sectorsize); in test_steal_space_from_bitmap_to_extent()
743 ret = btrfs_add_free_space(cache, SZ_128M, SZ_128K); in test_steal_space_from_bitmap_to_extent()
/Linux-v4.19/fs/btrfs/
Dfree-space-cache.h80 btrfs_add_free_space(struct btrfs_block_group_cache *block_group, in btrfs_add_free_space() function
Dextent-tree.c360 ret = btrfs_add_free_space(block_group, start, in add_new_free_space()
372 ret = btrfs_add_free_space(block_group, start, size); in add_new_free_space()
6540 btrfs_add_free_space(cache, start, len); in unpin_extent_range()
7026 btrfs_add_free_space(cache, buf->start, buf->len); in btrfs_free_tree_block()
7566 btrfs_add_free_space(block_group, offset, num_bytes); in find_free_extent()
7571 btrfs_add_free_space(block_group, offset, in find_free_extent()
7577 btrfs_add_free_space(block_group, offset, num_bytes); in find_free_extent()
7852 btrfs_add_free_space(cache, start, len); in __btrfs_free_reserved_extent()
Dfree-space-cache.c2416 ret = btrfs_add_free_space(block_group, offset + bytes, in btrfs_remove_free_space()
3120 btrfs_add_free_space(block_group, reserved_start, reserved_bytes); in do_trimming()