Home
last modified time | relevance | path

Searched refs:caching_ctl (Results 1 – 3 of 3) sorted by relevance

/linux/fs/btrfs/
H A Dblock-group.c449 if (!cache->caching_ctl) { in btrfs_get_caching_control()
454 ctl = cache->caching_ctl; in btrfs_get_caching_control()
482 struct btrfs_caching_control *caching_ctl; in btrfs_wait_block_group_cache_progress() local
485 caching_ctl = btrfs_get_caching_control(cache); in btrfs_wait_block_group_cache_progress()
486 if (!caching_ctl) in btrfs_wait_block_group_cache_progress()
495 progress = atomic_read(&caching_ctl->progress); in btrfs_wait_block_group_cache_progress()
497 wait_event(caching_ctl->wait, btrfs_block_group_done(cache) || in btrfs_wait_block_group_cache_progress()
498 (progress != atomic_read(&caching_ctl->progress) && in btrfs_wait_block_group_cache_progress()
501 btrfs_put_caching_control(caching_ctl); in btrfs_wait_block_group_cache_progress()
505 struct btrfs_caching_control *caching_ctl) in btrfs_caching_ctl_wait_done() argument
[all …]
H A Dfree-space-tree.c1580 static int load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, in load_free_space_bitmaps() argument
1584 struct btrfs_block_group *block_group = caching_ctl->block_group; in load_free_space_bitmaps()
1634 wake_up(&caching_ctl->wait); in load_free_space_bitmaps()
1661 static int load_free_space_extents(struct btrfs_caching_control *caching_ctl, in load_free_space_extents() argument
1665 struct btrfs_block_group *block_group = caching_ctl->block_group; in load_free_space_extents()
1701 wake_up(&caching_ctl->wait); in load_free_space_extents()
1718 int btrfs_load_free_space_tree(struct btrfs_caching_control *caching_ctl) in btrfs_load_free_space_tree() argument
1725 block_group = caching_ctl->block_group; in btrfs_load_free_space_tree()
1752 return load_free_space_bitmaps(caching_ctl, path, extent_count); in btrfs_load_free_space_tree()
1754 return load_free_space_extents(caching_ctl, path, extent_count); in btrfs_load_free_space_tree()
H A Dblock-group.h178 struct btrfs_caching_control *caching_ctl; member