Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dblock-group.c410 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() local
446 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 …]
Dfree-space-tree.c1475 static int load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, in load_free_space_bitmaps() argument
1491 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() argument
1572 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() argument
1631 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()
Dfree-space-tree.h23 int load_free_space_tree(struct btrfs_caching_control *caching_ctl);
Dblock-group.h151 struct btrfs_caching_control *caching_ctl; member