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()
848 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache() local
943 struct btrfs_free_space_ctl *ctl, in write_cache_extent_entries()
1257 struct btrfs_free_space_ctl *ctl, in __btrfs_write_out_cache()
1400 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache() local
1450 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap()
1524 tree_search_offset(struct btrfs_free_space_ctl *ctl, in tree_search_offset()
1640 __unlink_free_space(struct btrfs_free_space_ctl *ctl, in __unlink_free_space()
1652 static void unlink_free_space(struct btrfs_free_space_ctl *ctl, in unlink_free_space()
1659 static int link_free_space(struct btrfs_free_space_ctl *ctl, in link_free_space()
1680 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
1718 static inline void __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in __bitmap_clear_bits()
1749 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in bitmap_clear_bits()
1757 static void bitmap_set_bits(struct btrfs_free_space_ctl *ctl, in bitmap_set_bits()
1791 static int search_bitmap(struct btrfs_free_space_ctl *ctl, in search_bitmap()
1853 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes, in find_free_space()
1920 static int count_bitmap_extents(struct btrfs_free_space_ctl *ctl, in count_bitmap_extents()
1943 static void add_new_bitmap(struct btrfs_free_space_ctl *ctl, in add_new_bitmap()
1956 static void free_bitmap(struct btrfs_free_space_ctl *ctl, in free_bitmap()
1978 static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl, in remove_from_bitmap()
2055 static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, in add_bytes_to_bitmap()
2091 static bool use_bitmap(struct btrfs_free_space_ctl *ctl, in use_bitmap()
2146 static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl, in insert_into_bitmap()
2284 static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl, in try_merge_free_space()
2335 static bool steal_from_bitmap_to_end(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_end()
2372 static bool steal_from_bitmap_to_front(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_front()
2440 static void steal_from_bitmap(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap()
2466 struct btrfs_free_space_ctl *ctl, in __btrfs_add_free_space()
2567 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space() local
2661 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space() local
2685 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl() local
2713 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space() local
2764 struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache_locked()
2782 void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache()
2793 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache() local
2822 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_is_free_space_trimmed() local
2849 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc() local
2915 struct btrfs_free_space_ctl *ctl; in btrfs_return_cluster_to_free_space() local
2952 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap() local
2983 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_cluster() local
3082 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_bitmap_cluster() local
3163 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_no_bitmap() local
3254 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_bitmap() local
3304 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_cluster() local
3398 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_trimming() local
3457 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_no_bitmap() local
3585 static void reset_trimming_bitmap(struct btrfs_free_space_ctl *ctl, u64 offset) in reset_trimming_bitmap()
3603 static void end_trimming_bitmap(struct btrfs_free_space_ctl *ctl, in end_trimming_bitmap()
3623 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_bitmaps() local
3764 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_trim_block_group() local
3847 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc() local
3923 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in load_free_ino_cache() local
3969 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_write_out_ino_cache() local
4012 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_add_free_space_entry() local
4082 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_check_exists() local