Lines Matching refs:offset_to_bitmap
1428 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap() function
1814 entry = tree_search_offset(ctl, offset_to_bitmap(ctl, *offset), 0, 1); in find_free_space()
1872 info->offset = offset_to_bitmap(ctl, offset); in add_new_bitmap()
2086 if (entry->offset == offset_to_bitmap(ctl, offset)) { in insert_into_bitmap()
2100 bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in insert_into_bitmap()
2214 const u64 bitmap_offset = offset_to_bitmap(ctl, end); in steal_from_bitmap_to_end()
2250 bitmap_offset = offset_to_bitmap(ctl, info->offset); in steal_from_bitmap_to_front()
2255 bitmap_offset = offset_to_bitmap(ctl, info->offset - 1); in steal_from_bitmap_to_front()
2412 info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in btrfs_remove_free_space()
3011 u64 bitmap_offset = offset_to_bitmap(ctl, offset); in setup_cluster_bitmap()
3282 u64 offset = offset_to_bitmap(ctl, start); in trim_bitmaps()
3630 bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in test_add_free_space_entry()
3671 info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in test_check_exists()