Lines Matching defs:ctl

586 			    struct btrfs_free_space_ctl *ctl,  in __load_free_space_cache()
740 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache() local
832 struct btrfs_free_space_ctl *ctl, in __btrfs_write_out_cache()
1046 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache() local
1093 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap()
1167 tree_search_offset(struct btrfs_free_space_ctl *ctl, in tree_search_offset()
1293 __unlink_free_space(struct btrfs_free_space_ctl *ctl, in __unlink_free_space()
1300 static void unlink_free_space(struct btrfs_free_space_ctl *ctl, in unlink_free_space()
1307 static int link_free_space(struct btrfs_free_space_ctl *ctl, in link_free_space()
1323 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
1369 static inline void __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in __bitmap_clear_bits()
1384 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in bitmap_clear_bits()
1392 static void bitmap_set_bits(struct btrfs_free_space_ctl *ctl, in bitmap_set_bits()
1408 static int search_bitmap(struct btrfs_free_space_ctl *ctl, in search_bitmap()
1442 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes) in find_free_space()
1475 static void add_new_bitmap(struct btrfs_free_space_ctl *ctl, in add_new_bitmap()
1487 static void free_bitmap(struct btrfs_free_space_ctl *ctl, in free_bitmap()
1497 static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl, in remove_from_bitmap()
1575 static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, in add_bytes_to_bitmap()
1592 static bool use_bitmap(struct btrfs_free_space_ctl *ctl, in use_bitmap()
1633 static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl, in insert_into_bitmap()
1749 static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl, in try_merge_free_space()
1795 int __btrfs_add_free_space(struct btrfs_free_space_ctl *ctl, in __btrfs_add_free_space()
1843 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space() local
1968 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space() local
1990 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl() local
2018 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space() local
2052 void __btrfs_remove_free_space_cache_locked(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache_locked()
2073 void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache()
2082 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache() local
2108 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc() local
2151 struct btrfs_free_space_ctl *ctl; in btrfs_return_cluster_to_free_space() local
2187 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap() local
2215 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_cluster() local
2297 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_bitmap_cluster() local
2367 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_no_bitmap() local
2460 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_bitmap() local
2509 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_cluster() local
2639 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_no_bitmap() local
2712 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_bitmaps() local
2805 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc() local
2880 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in load_free_ino_cache() local
2923 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_write_out_ino_cache() local