Lines Matching defs:ctl

639 static void merge_space_tree(struct btrfs_free_space_ctl *ctl)  in merge_space_tree()
669 struct btrfs_free_space_ctl *ctl, in __load_free_space_cache()
829 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache() local
904 struct btrfs_free_space_ctl *ctl, in write_cache_extent_entries()
1222 struct btrfs_free_space_ctl *ctl, in __btrfs_write_out_cache()
1365 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache() local
1420 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap()
1494 tree_search_offset(struct btrfs_free_space_ctl *ctl, in tree_search_offset()
1610 __unlink_free_space(struct btrfs_free_space_ctl *ctl, in __unlink_free_space()
1617 static void unlink_free_space(struct btrfs_free_space_ctl *ctl, in unlink_free_space()
1624 static int link_free_space(struct btrfs_free_space_ctl *ctl, in link_free_space()
1640 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
1688 static inline void __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in __bitmap_clear_bits()
1703 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in bitmap_clear_bits()
1711 static void bitmap_set_bits(struct btrfs_free_space_ctl *ctl, in bitmap_set_bits()
1731 static int search_bitmap(struct btrfs_free_space_ctl *ctl, in search_bitmap()
1786 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes, in find_free_space()
1851 static void add_new_bitmap(struct btrfs_free_space_ctl *ctl, in add_new_bitmap()
1863 static void free_bitmap(struct btrfs_free_space_ctl *ctl, in free_bitmap()
1873 static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl, in remove_from_bitmap()
1950 static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, in add_bytes_to_bitmap()
1973 static bool use_bitmap(struct btrfs_free_space_ctl *ctl, in use_bitmap()
2024 static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl, in insert_into_bitmap()
2140 static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl, in try_merge_free_space()
2186 static bool steal_from_bitmap_to_end(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_end()
2219 static bool steal_from_bitmap_to_front(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap_to_front()
2283 static void steal_from_bitmap(struct btrfs_free_space_ctl *ctl, in steal_from_bitmap()
2308 int __btrfs_add_free_space(struct btrfs_free_space_ctl *ctl, in __btrfs_add_free_space()
2365 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space() local
2455 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space() local
2477 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl() local
2507 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space() local
2545 struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache_locked()
2563 void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache()
2572 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache() local
2596 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc() local
2648 struct btrfs_free_space_ctl *ctl; in btrfs_return_cluster_to_free_space() local
2685 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap() local
2716 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_cluster() local
2802 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_bitmap_cluster() local
2883 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_no_bitmap() local
2974 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_bitmap() local
3024 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_cluster() local
3117 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_trimming() local
3159 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_no_bitmap() local
3244 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_bitmaps() local
3399 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc() local
3475 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in load_free_ino_cache() local
3520 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_write_out_ino_cache() local
3565 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_add_free_space_entry() local
3633 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_check_exists() local