Home
last modified time | relevance | path

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

/Linux-v5.15/fs/btrfs/
Dblock-group.c367 if (!cache->caching_ctl) { in btrfs_get_caching_control()
372 ctl = cache->caching_ctl; in btrfs_get_caching_control()
400 struct btrfs_caching_control *caching_ctl; in btrfs_wait_block_group_cache_progress() local
402 caching_ctl = btrfs_get_caching_control(cache); in btrfs_wait_block_group_cache_progress()
403 if (!caching_ctl) in btrfs_wait_block_group_cache_progress()
406 wait_event(caching_ctl->wait, btrfs_block_group_done(cache) || in btrfs_wait_block_group_cache_progress()
409 btrfs_put_caching_control(caching_ctl); in btrfs_wait_block_group_cache_progress()
414 struct btrfs_caching_control *caching_ctl; in btrfs_wait_block_group_cache_done() local
417 caching_ctl = btrfs_get_caching_control(cache); in btrfs_wait_block_group_cache_done()
418 if (!caching_ctl) in btrfs_wait_block_group_cache_done()
[all …]
Dfree-space-tree.c1395 static int load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, in load_free_space_bitmaps() argument
1411 block_group = caching_ctl->block_group; in load_free_space_bitmaps()
1432 caching_ctl->progress = key.objectid; in load_free_space_bitmaps()
1445 wake_up(&caching_ctl->wait); in load_free_space_bitmaps()
1469 caching_ctl->progress = (u64)-1; in load_free_space_bitmaps()
1476 static int load_free_space_extents(struct btrfs_caching_control *caching_ctl, in load_free_space_extents() argument
1489 block_group = caching_ctl->block_group; in load_free_space_extents()
1510 caching_ctl->progress = key.objectid; in load_free_space_extents()
1516 wake_up(&caching_ctl->wait); in load_free_space_extents()
1531 caching_ctl->progress = (u64)-1; in load_free_space_extents()
[all …]
Dblock-group.h106 struct btrfs_caching_control *caching_ctl; member
296 struct btrfs_caching_control *caching_ctl);
Dfree-space-tree.h22 int load_free_space_tree(struct btrfs_caching_control *caching_ctl);
Dtransaction.c163 struct btrfs_caching_control *caching_ctl, *next; in switch_commit_roots() local
215 list_for_each_entry_safe(caching_ctl, next, in switch_commit_roots()
217 struct btrfs_block_group *cache = caching_ctl->block_group; in switch_commit_roots()
221 list_del_init(&caching_ctl->list); in switch_commit_roots()
222 btrfs_put_caching_control(caching_ctl); in switch_commit_roots()
224 cache->last_byte_to_unpin = caching_ctl->progress; in switch_commit_roots()