Lines Matching refs:btrfs_free_space_ctl

36 static int count_bitmap_extents(struct btrfs_free_space_ctl *ctl,
38 static int link_free_space(struct btrfs_free_space_ctl *ctl,
40 static void unlink_free_space(struct btrfs_free_space_ctl *ctl,
637 static void merge_space_tree(struct btrfs_free_space_ctl *ctl)
667 struct btrfs_free_space_ctl *ctl,
848 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
943 struct btrfs_free_space_ctl *ctl,
1257 struct btrfs_free_space_ctl *ctl,
1400 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
1450 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl,
1524 tree_search_offset(struct btrfs_free_space_ctl *ctl,
1640 __unlink_free_space(struct btrfs_free_space_ctl *ctl,
1652 static void unlink_free_space(struct btrfs_free_space_ctl *ctl,
1659 static int link_free_space(struct btrfs_free_space_ctl *ctl,
1680 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl)
1718 static inline void __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl,
1749 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl,
1757 static void bitmap_set_bits(struct btrfs_free_space_ctl *ctl,
1791 static int search_bitmap(struct btrfs_free_space_ctl *ctl,
1853 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes,
1920 static int count_bitmap_extents(struct btrfs_free_space_ctl *ctl,
1943 static void add_new_bitmap(struct btrfs_free_space_ctl *ctl,
1956 static void free_bitmap(struct btrfs_free_space_ctl *ctl,
1978 static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl,
2055 static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl,
2091 static bool use_bitmap(struct btrfs_free_space_ctl *ctl,
2146 static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl,
2284 static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl,
2335 static bool steal_from_bitmap_to_end(struct btrfs_free_space_ctl *ctl,
2372 static bool steal_from_bitmap_to_front(struct btrfs_free_space_ctl *ctl,
2440 static void steal_from_bitmap(struct btrfs_free_space_ctl *ctl,
2466 struct btrfs_free_space_ctl *ctl,
2567 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2661 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2685 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2713 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2764 struct btrfs_free_space_ctl *ctl)
2782 void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl)
2793 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2822 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2849 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2915 struct btrfs_free_space_ctl *ctl;
2952 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2983 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3082 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3163 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3254 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3304 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3398 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3457 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3585 static void reset_trimming_bitmap(struct btrfs_free_space_ctl *ctl, u64 offset)
3603 static void end_trimming_bitmap(struct btrfs_free_space_ctl *ctl,
3623 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3764 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3847 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl;
3923 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl;
3969 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl;
4012 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl;
4082 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl;