Lines Matching defs:ctl

64 static void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl)  in __btrfs_remove_free_space_cache()
690 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
735 struct btrfs_free_space_ctl *ctl, in __load_free_space_cache()
900 struct btrfs_free_space_ctl *ctl) in copy_free_space_cache()
943 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache() local
1071 struct btrfs_free_space_ctl *ctl, in write_cache_extent_entries()
1377 struct btrfs_free_space_ctl *ctl, in __btrfs_write_out_cache()
1526 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache() local
1576 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap()
1591 static int tree_insert_offset(struct btrfs_free_space_ctl *ctl, in tree_insert_offset()
1708 tree_search_offset(struct btrfs_free_space_ctl *ctl, in tree_search_offset()
1821 static inline void unlink_free_space(struct btrfs_free_space_ctl *ctl, in unlink_free_space()
1840 static int link_free_space(struct btrfs_free_space_ctl *ctl, in link_free_space()
1864 static void relink_bitmap_entry(struct btrfs_free_space_ctl *ctl, in relink_bitmap_entry()
1882 static inline void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in bitmap_clear_bits()
1918 static void btrfs_bitmap_set_bits(struct btrfs_free_space_ctl *ctl, in btrfs_bitmap_set_bits()
1959 static int search_bitmap(struct btrfs_free_space_ctl *ctl, in search_bitmap()
2015 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes, in find_free_space()
2121 static void add_new_bitmap(struct btrfs_free_space_ctl *ctl, in add_new_bitmap()
2133 static void free_bitmap(struct btrfs_free_space_ctl *ctl, in free_bitmap()
2155 static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl, in remove_from_bitmap()
2232 static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, in add_bytes_to_bitmap()
2262 static bool use_bitmap(struct btrfs_free_space_ctl *ctl, in use_bitmap()
2316 static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl, in insert_into_bitmap()
2454 static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl, in try_merge_free_space()
2502 static bool steal_from_bitmap_to_end(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_end()
2536 static bool steal_from_bitmap_to_front(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_front()
2601 static void steal_from_bitmap(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap()
2631 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_add_free_space() local
2700 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_add_free_space_zoned() local
2806 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space() local
2920 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space() local
2954 struct btrfs_free_space_ctl *ctl) in btrfs_init_free_space_ctl()
2985 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space() local
3038 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache() local
3064 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_is_free_space_trimmed() local
3091 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc() local
3160 struct btrfs_free_space_ctl *ctl; in btrfs_return_cluster_to_free_space() local
3197 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap() local
3228 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_cluster() local
3329 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_bitmap_cluster() local
3422 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_no_bitmap() local
3515 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_bitmap() local
3565 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_cluster() local
3660 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_trimming() local
3719 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_no_bitmap() local
3847 static void reset_trimming_bitmap(struct btrfs_free_space_ctl *ctl, u64 offset) in reset_trimming_bitmap()
3865 static void end_trimming_bitmap(struct btrfs_free_space_ctl *ctl, in end_trimming_bitmap()
3885 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_bitmaps() local
4026 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_trim_block_group() local
4195 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_add_free_space_entry() local
4265 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_check_exists() local