Searched refs:bitmap_offset (Results 1 – 2 of 2) sorted by relevance
/fs/btrfs/tests/ |
D | free-space-tests.c | 209 u64 bitmap_offset = (u64)(BITS_PER_BITMAP * 4096); in test_bitmaps_and_extents() local 318 ret = test_add_free_space_entry(cache, bitmap_offset + 4 * 1024 * 1024, in test_bitmaps_and_extents() 325 ret = test_add_free_space_entry(cache, bitmap_offset - 1 * 1024 * 1024, in test_bitmaps_and_extents() 332 ret = btrfs_remove_free_space(cache, bitmap_offset + 1 * 1024 * 1024, in test_bitmaps_and_extents() 339 if (test_check_exists(cache, bitmap_offset + 1 * 1024 * 1024, in test_bitmaps_and_extents()
|
/fs/btrfs/ |
D | free-space-cache.c | 2216 const u64 bitmap_offset = offset_to_bitmap(ctl, end); in steal_from_bitmap_to_end() local 2219 bitmap = tree_search_offset(ctl, bitmap_offset, 1, 0); in steal_from_bitmap_to_end() 2246 u64 bitmap_offset; in steal_from_bitmap_to_front() local 2252 bitmap_offset = offset_to_bitmap(ctl, info->offset); in steal_from_bitmap_to_front() 2254 if (bitmap_offset == info->offset) { in steal_from_bitmap_to_front() 2257 bitmap_offset = offset_to_bitmap(ctl, info->offset - 1); in steal_from_bitmap_to_front() 2260 bitmap = tree_search_offset(ctl, bitmap_offset, 1, 0); in steal_from_bitmap_to_front() 3002 u64 bitmap_offset = offset_to_bitmap(ctl, offset); in setup_cluster_bitmap() local 3014 if (!entry || entry->offset != bitmap_offset) { in setup_cluster_bitmap() 3015 entry = tree_search_offset(ctl, bitmap_offset, 1, 0); in setup_cluster_bitmap()
|