Searched refs:btrfs_add_free_space (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/fs/btrfs/tests/ |
D | free-space-tests.c | 26 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/ |
D | free-space-cache.h | 80 btrfs_add_free_space(struct btrfs_block_group_cache *block_group, in btrfs_add_free_space() function
|
D | extent-tree.c | 360 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()
|
D | free-space-cache.c | 2416 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()
|