Lines Matching refs:offset_to_bitmap
1517 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap() function
1894 entry = tree_search_offset(ctl, offset_to_bitmap(ctl, *offset), 0, 1); in find_free_space()
1952 info->offset = offset_to_bitmap(ctl, offset); in add_new_bitmap()
2196 if (entry->offset == offset_to_bitmap(ctl, offset)) { in insert_into_bitmap()
2210 bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in insert_into_bitmap()
2347 const u64 bitmap_offset = offset_to_bitmap(ctl, end); in steal_from_bitmap_to_end()
2387 bitmap_offset = offset_to_bitmap(ctl, info->offset); in steal_from_bitmap_to_front()
2392 bitmap_offset = offset_to_bitmap(ctl, info->offset - 1); in steal_from_bitmap_to_front()
2684 info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in btrfs_remove_free_space()
3371 u64 bitmap_offset = offset_to_bitmap(ctl, offset); in setup_cluster_bitmap()
3742 u64 offset = offset_to_bitmap(ctl, start); in trim_bitmaps()
3902 reset_trimming_bitmap(ctl, offset_to_bitmap(ctl, end)); in btrfs_trim_block_group()
4059 bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in test_add_free_space_entry()
4101 info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in test_check_exists()