Lines Matching defs:ctl

637 static void merge_space_tree(struct btrfs_free_space_ctl *ctl)  in merge_space_tree()
667 struct btrfs_free_space_ctl *ctl, in __load_free_space_cache()
843 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache() local
938 struct btrfs_free_space_ctl *ctl, in write_cache_extent_entries()
1252 struct btrfs_free_space_ctl *ctl, in __btrfs_write_out_cache()
1395 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache() local
1445 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap()
1519 tree_search_offset(struct btrfs_free_space_ctl *ctl, in tree_search_offset()
1635 __unlink_free_space(struct btrfs_free_space_ctl *ctl, in __unlink_free_space()
1647 static void unlink_free_space(struct btrfs_free_space_ctl *ctl, in unlink_free_space()
1654 static int link_free_space(struct btrfs_free_space_ctl *ctl, in link_free_space()
1675 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
1713 static inline void __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in __bitmap_clear_bits()
1744 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in bitmap_clear_bits()
1752 static void bitmap_set_bits(struct btrfs_free_space_ctl *ctl, in bitmap_set_bits()
1786 static int search_bitmap(struct btrfs_free_space_ctl *ctl, in search_bitmap()
1848 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes, in find_free_space()
1915 static int count_bitmap_extents(struct btrfs_free_space_ctl *ctl, in count_bitmap_extents()
1938 static void add_new_bitmap(struct btrfs_free_space_ctl *ctl, in add_new_bitmap()
1951 static void free_bitmap(struct btrfs_free_space_ctl *ctl, in free_bitmap()
1973 static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl, in remove_from_bitmap()
2050 static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, in add_bytes_to_bitmap()
2086 static bool use_bitmap(struct btrfs_free_space_ctl *ctl, in use_bitmap()
2141 static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl, in insert_into_bitmap()
2279 static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl, in try_merge_free_space()
2330 static bool steal_from_bitmap_to_end(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_end()
2367 static bool steal_from_bitmap_to_front(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_front()
2435 static void steal_from_bitmap(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap()
2461 struct btrfs_free_space_ctl *ctl, in __btrfs_add_free_space()
2562 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space() local
2656 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space() local
2680 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl() local
2708 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space() local
2759 struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache_locked()
2777 void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache()
2788 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache() local
2817 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_is_free_space_trimmed() local
2844 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc() local
2910 struct btrfs_free_space_ctl *ctl; in btrfs_return_cluster_to_free_space() local
2947 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap() local
2978 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_cluster() local
3075 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_bitmap_cluster() local
3156 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_no_bitmap() local
3247 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_bitmap() local
3297 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_cluster() local
3391 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_trimming() local
3450 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_no_bitmap() local
3578 static void reset_trimming_bitmap(struct btrfs_free_space_ctl *ctl, u64 offset) in reset_trimming_bitmap()
3596 static void end_trimming_bitmap(struct btrfs_free_space_ctl *ctl, in end_trimming_bitmap()
3616 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_bitmaps() local
3757 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_trim_block_group() local
3840 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc() local
3916 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in load_free_ino_cache() local
3962 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_write_out_ino_cache() local
4005 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_add_free_space_entry() local
4075 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_check_exists() local