Lines Matching refs:offset_to_bitmap
1420 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap() function
1798 entry = tree_search_offset(ctl, offset_to_bitmap(ctl, *offset), 0, 1); in find_free_space()
1854 info->offset = offset_to_bitmap(ctl, offset); in add_new_bitmap()
2068 if (entry->offset == offset_to_bitmap(ctl, offset)) { in insert_into_bitmap()
2082 bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in insert_into_bitmap()
2194 const u64 bitmap_offset = offset_to_bitmap(ctl, end); in steal_from_bitmap_to_end()
2230 bitmap_offset = offset_to_bitmap(ctl, info->offset); in steal_from_bitmap_to_front()
2235 bitmap_offset = offset_to_bitmap(ctl, info->offset - 1); in steal_from_bitmap_to_front()
2383 info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in btrfs_remove_free_space()
2977 u64 bitmap_offset = offset_to_bitmap(ctl, offset); in setup_cluster_bitmap()
3249 u64 offset = offset_to_bitmap(ctl, start); in trim_bitmaps()
3599 bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in test_add_free_space_entry()
3640 info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in test_check_exists()