Lines Matching refs:btrfs_free_space_ctl

31 static int link_free_space(struct btrfs_free_space_ctl *ctl,
33 static void unlink_free_space(struct btrfs_free_space_ctl *ctl,
636 static void merge_space_tree(struct btrfs_free_space_ctl *ctl) in merge_space_tree()
666 struct btrfs_free_space_ctl *ctl, in __load_free_space_cache()
830 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()
925 struct btrfs_free_space_ctl *ctl, in write_cache_extent_entries()
1244 struct btrfs_free_space_ctl *ctl, in __btrfs_write_out_cache()
1390 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()
1442 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap()
1516 tree_search_offset(struct btrfs_free_space_ctl *ctl, in tree_search_offset()
1632 __unlink_free_space(struct btrfs_free_space_ctl *ctl, in __unlink_free_space()
1639 static void unlink_free_space(struct btrfs_free_space_ctl *ctl, in unlink_free_space()
1646 static int link_free_space(struct btrfs_free_space_ctl *ctl, in link_free_space()
1662 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
1709 static inline void __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in __bitmap_clear_bits()
1726 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in bitmap_clear_bits()
1734 static void bitmap_set_bits(struct btrfs_free_space_ctl *ctl, in bitmap_set_bits()
1754 static int search_bitmap(struct btrfs_free_space_ctl *ctl, in search_bitmap()
1816 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes, in find_free_space()
1883 static void add_new_bitmap(struct btrfs_free_space_ctl *ctl, in add_new_bitmap()
1895 static void free_bitmap(struct btrfs_free_space_ctl *ctl, in free_bitmap()
1905 static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl, in remove_from_bitmap()
1982 static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, in add_bytes_to_bitmap()
2005 static bool use_bitmap(struct btrfs_free_space_ctl *ctl, in use_bitmap()
2056 static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl, in insert_into_bitmap()
2174 static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl, in try_merge_free_space()
2220 static bool steal_from_bitmap_to_end(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_end()
2253 static bool steal_from_bitmap_to_front(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_front()
2317 static void steal_from_bitmap(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap()
2343 struct btrfs_free_space_ctl *ctl, in __btrfs_add_free_space()
2400 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()
2491 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()
2515 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl()
2544 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()
2582 struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache_locked()
2600 void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache()
2609 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()
2633 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc()
2686 struct btrfs_free_space_ctl *ctl; in btrfs_return_cluster_to_free_space()
2723 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap()
2754 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_cluster()
2842 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_bitmap_cluster()
2923 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_no_bitmap()
3014 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_bitmap()
3064 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_cluster()
3157 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_trimming()
3198 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_no_bitmap()
3283 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_bitmaps()
3439 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc()
3515 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in load_free_ino_cache()
3561 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_write_out_ino_cache()
3606 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_add_free_space_entry()
3674 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_check_exists()