• Home
  • Raw
  • Download

Lines Matching refs:btrfs_free_space_ctl

34 static int link_free_space(struct btrfs_free_space_ctl *ctl,
588 struct btrfs_free_space_ctl *ctl, in __load_free_space_cache()
742 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()
829 struct btrfs_free_space_ctl *ctl, in __btrfs_write_out_cache()
1043 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()
1090 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap()
1164 tree_search_offset(struct btrfs_free_space_ctl *ctl, in tree_search_offset()
1290 __unlink_free_space(struct btrfs_free_space_ctl *ctl, in __unlink_free_space()
1297 static void unlink_free_space(struct btrfs_free_space_ctl *ctl, in unlink_free_space()
1304 static int link_free_space(struct btrfs_free_space_ctl *ctl, in link_free_space()
1320 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
1366 static inline void __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in __bitmap_clear_bits()
1381 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, in bitmap_clear_bits()
1389 static void bitmap_set_bits(struct btrfs_free_space_ctl *ctl, in bitmap_set_bits()
1405 static int search_bitmap(struct btrfs_free_space_ctl *ctl, in search_bitmap()
1439 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes) in find_free_space()
1472 static void add_new_bitmap(struct btrfs_free_space_ctl *ctl, in add_new_bitmap()
1484 static void free_bitmap(struct btrfs_free_space_ctl *ctl, in free_bitmap()
1494 static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl, in remove_from_bitmap()
1572 static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, in add_bytes_to_bitmap()
1589 static bool use_bitmap(struct btrfs_free_space_ctl *ctl, in use_bitmap()
1630 static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl, in insert_into_bitmap()
1746 static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl, in try_merge_free_space()
1792 int __btrfs_add_free_space(struct btrfs_free_space_ctl *ctl, in __btrfs_add_free_space()
1840 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()
1965 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()
1987 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_init_free_space_ctl()
2015 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()
2049 void __btrfs_remove_free_space_cache_locked(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache_locked()
2070 void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache()
2079 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()
2105 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_for_alloc()
2148 struct btrfs_free_space_ctl *ctl; in btrfs_return_cluster_to_free_space()
2184 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_bitmap()
2212 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_alloc_from_cluster()
2294 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_bitmap_cluster()
2364 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_no_bitmap()
2457 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in setup_cluster_bitmap()
2506 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_find_space_cluster()
2636 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_no_bitmap()
2709 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in trim_bitmaps()
2802 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc()
2878 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in load_free_ino_cache()
2921 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_write_out_ino_cache()