Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dblock-group.c408 if (!cache->caching_ctl) { in btrfs_get_caching_control()
413 ctl = cache->caching_ctl; in btrfs_get_caching_control()
441 struct btrfs_caching_control *caching_ctl; in btrfs_wait_block_group_cache_progress() local
444 caching_ctl = btrfs_get_caching_control(cache); in btrfs_wait_block_group_cache_progress()
445 if (!caching_ctl) in btrfs_wait_block_group_cache_progress()
454 progress = atomic_read(&caching_ctl->progress); in btrfs_wait_block_group_cache_progress()
456 wait_event(caching_ctl->wait, btrfs_block_group_done(cache) || in btrfs_wait_block_group_cache_progress()
457 (progress != atomic_read(&caching_ctl->progress) && in btrfs_wait_block_group_cache_progress()
460 btrfs_put_caching_control(caching_ctl); in btrfs_wait_block_group_cache_progress()
464 struct btrfs_caching_control *caching_ctl) in btrfs_caching_ctl_wait_done() argument
[all …]
H A Dfree-space-tree.c1489 static int load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, in load_free_space_bitmaps() argument
1505 block_group = caching_ctl->block_group; in load_free_space_bitmaps()
1543 wake_up(&caching_ctl->wait); in load_free_space_bitmaps()
1573 static int load_free_space_extents(struct btrfs_caching_control *caching_ctl, in load_free_space_extents() argument
1586 block_group = caching_ctl->block_group; in load_free_space_extents()
1617 wake_up(&caching_ctl->wait); in load_free_space_extents()
1637 int load_free_space_tree(struct btrfs_caching_control *caching_ctl) in load_free_space_tree() argument
1645 block_group = caching_ctl->block_group; in load_free_space_tree()
1673 ret = load_free_space_bitmaps(caching_ctl, path, extent_count); in load_free_space_tree()
1675 ret = load_free_space_extents(caching_ctl, path, extent_count); in load_free_space_tree()
H A Dfree-space-tree.h29 int load_free_space_tree(struct btrfs_caching_control *caching_ctl);
H A Dblock-group.h166 struct btrfs_caching_control *caching_ctl; member