Lines Matching refs:btrfs_free_space_ctl
47 static int link_free_space(struct btrfs_free_space_ctl *ctl,
49 static void unlink_free_space(struct btrfs_free_space_ctl *ctl,
51 static int search_bitmap(struct btrfs_free_space_ctl *ctl,
54 static void free_bitmap(struct btrfs_free_space_ctl *ctl,
56 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl,
60 static void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl)
689 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl)
734 struct btrfs_free_space_ctl *ctl,
898 struct btrfs_free_space_ctl *ctl)
941 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
942 struct btrfs_free_space_ctl tmp_ctl = {};
1069 struct btrfs_free_space_ctl *ctl,
1377 struct btrfs_free_space_ctl *ctl,
1520 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
1570 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl,
1585 static int tree_insert_offset(struct btrfs_free_space_ctl *ctl,
1702 tree_search_offset(struct btrfs_free_space_ctl *ctl,
1815 static inline void unlink_free_space(struct btrfs_free_space_ctl *ctl,
1834 static int link_free_space(struct btrfs_free_space_ctl *ctl,
1858 static void relink_bitmap_entry(struct btrfs_free_space_ctl *ctl,
1876 static inline void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl,
1912 static void bitmap_set_bits(struct btrfs_free_space_ctl *ctl,
1953 static int search_bitmap(struct btrfs_free_space_ctl *ctl,
2009 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes,
2115 static void add_new_bitmap(struct btrfs_free_space_ctl *ctl,
2127 static void free_bitmap(struct btrfs_free_space_ctl *ctl,
2149 static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl,
2226 static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl,
2256 static bool use_bitmap(struct btrfs_free_space_ctl *ctl,
2310 static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl,
2448 static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl,
2496 static bool steal_from_bitmap_to_end(struct btrfs_free_space_ctl *ctl,
2530 static bool steal_from_bitmap_to_front(struct btrfs_free_space_ctl *ctl,
2595 static void steal_from_bitmap(struct btrfs_free_space_ctl *ctl,
2625 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2694 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2796 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2910 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2945 struct btrfs_free_space_ctl *ctl)
2976 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3029 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3055 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3082 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3151 struct btrfs_free_space_ctl *ctl;
3188 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3219 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3320 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3413 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3506 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3556 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3651 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3710 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3838 static void reset_trimming_bitmap(struct btrfs_free_space_ctl *ctl, u64 offset)
3856 static void end_trimming_bitmap(struct btrfs_free_space_ctl *ctl,
3876 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
4017 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
4188 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl;
4258 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl;