Searched refs:caching_ctl (Results 1 – 4 of 4) sorted by relevance
408 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() local444 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 …]
1489 static int load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, in load_free_space_bitmaps() argument1505 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() argument1586 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() argument1645 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()
29 int load_free_space_tree(struct btrfs_caching_control *caching_ctl);
166 struct btrfs_caching_control *caching_ctl; member