Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dfree-space-cache.h18 struct btrfs_free_space_ctl { struct
34 void (*recalc_thresholds)(struct btrfs_free_space_ctl *ctl); argument
35 bool (*use_bitmap)(struct btrfs_free_space_ctl *ctl,
86 struct btrfs_free_space_ctl *ctl,
92 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()
142 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in start_caching()
218 struct btrfs_free_space_ctl *pinned = root->free_ino_pinned; in btrfs_return_ino()
253 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_unpin_free_ino()
296 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
331 static bool use_bitmap(struct btrfs_free_space_ctl *ctl, in use_bitmap()
346 static void pinned_recalc_thresholds(struct btrfs_free_space_ctl *ctl) in pinned_recalc_thresholds()
350 static bool pinned_use_bitmap(struct btrfs_free_space_ctl *ctl, in pinned_use_bitmap()
370 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in btrfs_init_free_ino_ctl()
371 struct btrfs_free_space_ctl *pinned = root->free_ino_pinned; in btrfs_init_free_ino_ctl()
[all …]
Dfree-space-cache.c34 static int link_free_space(struct btrfs_free_space_ctl *ctl,
36 static void unlink_free_space(struct btrfs_free_space_ctl *ctl,
631 static void merge_space_tree(struct btrfs_free_space_ctl *ctl) in merge_space_tree()
661 struct btrfs_free_space_ctl *ctl, in __load_free_space_cache()
820 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()
915 struct btrfs_free_space_ctl *ctl, in write_cache_extent_entries()
1233 struct btrfs_free_space_ctl *ctl, in __btrfs_write_out_cache()
1376 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_write_out_cache()
1428 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap()
1502 tree_search_offset(struct btrfs_free_space_ctl *ctl, in tree_search_offset()
[all …]
Dblock-group.h95 struct btrfs_free_space_ctl *free_space_ctl;
Dctree.h981 struct btrfs_free_space_ctl *free_ino_ctl;
985 struct btrfs_free_space_ctl *free_ino_pinned;
Dextent-tree.c3599 struct btrfs_free_space_ctl *free_space_ctl; in find_free_extent_unclustered()
/Linux-v5.4/fs/btrfs/tests/
Dfree-space-tests.c326 static bool test_use_bitmap(struct btrfs_free_space_ctl *ctl, in test_use_bitmap()