Searched refs:caching_ctl (Results 1 – 4 of 4) sorted by relevance
410 if (!cache->caching_ctl) { in btrfs_get_caching_control()415 ctl = cache->caching_ctl; in btrfs_get_caching_control()443 struct btrfs_caching_control *caching_ctl; in btrfs_wait_block_group_cache_progress() local446 caching_ctl = btrfs_get_caching_control(cache); in btrfs_wait_block_group_cache_progress()447 if (!caching_ctl) in btrfs_wait_block_group_cache_progress()456 progress = atomic_read(&caching_ctl->progress); in btrfs_wait_block_group_cache_progress()458 wait_event(caching_ctl->wait, btrfs_block_group_done(cache) || in btrfs_wait_block_group_cache_progress()459 (progress != atomic_read(&caching_ctl->progress) && in btrfs_wait_block_group_cache_progress()462 btrfs_put_caching_control(caching_ctl); in btrfs_wait_block_group_cache_progress()466 struct btrfs_caching_control *caching_ctl) in btrfs_caching_ctl_wait_done() argument[all …]
1475 static int load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, in load_free_space_bitmaps() argument1491 block_group = caching_ctl->block_group; in load_free_space_bitmaps()1529 wake_up(&caching_ctl->wait); in load_free_space_bitmaps()1559 static int load_free_space_extents(struct btrfs_caching_control *caching_ctl, in load_free_space_extents() argument1572 block_group = caching_ctl->block_group; in load_free_space_extents()1603 wake_up(&caching_ctl->wait); in load_free_space_extents()1623 int load_free_space_tree(struct btrfs_caching_control *caching_ctl) in load_free_space_tree() argument1631 block_group = caching_ctl->block_group; in load_free_space_tree()1659 ret = load_free_space_bitmaps(caching_ctl, path, extent_count); in load_free_space_tree()1661 ret = load_free_space_extents(caching_ctl, path, extent_count); in load_free_space_tree()
23 int load_free_space_tree(struct btrfs_caching_control *caching_ctl);
151 struct btrfs_caching_control *caching_ctl; member