Home
last modified time | relevance | path

Searched refs:btrfs_free_space_ctl (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/fs/btrfs/
Dfree-space-cache.h31 struct btrfs_free_space_ctl { struct
47 void (*recalc_thresholds)(struct btrfs_free_space_ctl *ctl); argument
48 bool (*use_bitmap)(struct btrfs_free_space_ctl *ctl,
92 int __btrfs_add_free_space(struct btrfs_free_space_ctl *ctl,
103 void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl);
Dinode-map.c33 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in caching_kthread()
139 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in start_caching()
212 struct btrfs_free_space_ctl *pinned = root->free_ino_pinned; in btrfs_return_ino()
247 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_unpin_free_ino()
292 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
327 static bool use_bitmap(struct btrfs_free_space_ctl *ctl, in use_bitmap()
342 static void pinned_recalc_thresholds(struct btrfs_free_space_ctl *ctl) in pinned_recalc_thresholds()
346 static bool pinned_use_bitmap(struct btrfs_free_space_ctl *ctl, in pinned_use_bitmap()
366 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_init_free_ino_ctl()
367 struct btrfs_free_space_ctl *pinned = root->free_ino_pinned; in btrfs_init_free_ino_ctl()
[all …]
Dfree-space-cache.c41 static int link_free_space(struct btrfs_free_space_ctl *ctl,
43 static void unlink_free_space(struct btrfs_free_space_ctl *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()
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()
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()
[all …]
Dctree.h1352 struct btrfs_free_space_ctl *free_space_ctl;
1870 struct btrfs_free_space_ctl *free_ino_ctl;
1874 struct btrfs_free_space_ctl *free_ino_pinned;
/linux-4.4.14/fs/btrfs/tests/
Dfree-space-tests.c376 static bool test_use_bitmap(struct btrfs_free_space_ctl *ctl, in test_use_bitmap()
449 bool (*use_bitmap_op)(struct btrfs_free_space_ctl *, in test_steal_space_from_bitmap_to_extent()