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.c421 if (!cache->caching_ctl) { in btrfs_get_caching_control()
426 ctl = cache->caching_ctl; in btrfs_get_caching_control()
454 struct btrfs_caching_control *caching_ctl; in btrfs_wait_block_group_cache_progress() local
457 caching_ctl = btrfs_get_caching_control(cache); in btrfs_wait_block_group_cache_progress()
458 if (!caching_ctl) in btrfs_wait_block_group_cache_progress()
467 progress = atomic_read(&caching_ctl->progress); in btrfs_wait_block_group_cache_progress()
469 wait_event(caching_ctl->wait, btrfs_block_group_done(cache) || in btrfs_wait_block_group_cache_progress()
470 (progress != atomic_read(&caching_ctl->progress) && in btrfs_wait_block_group_cache_progress()
473 btrfs_put_caching_control(caching_ctl); in btrfs_wait_block_group_cache_progress()
477 struct btrfs_caching_control *caching_ctl) in btrfs_caching_ctl_wait_done() argument
[all …]
H A Dfree-space-tree.c1536 static int load_free_space_bitmaps(struct btrfs_caching_control *caching_ctl, in load_free_space_bitmaps() argument
1540 struct btrfs_block_group *block_group = caching_ctl->block_group; in load_free_space_bitmaps()
1589 wake_up(&caching_ctl->wait); in load_free_space_bitmaps()
1616 static int load_free_space_extents(struct btrfs_caching_control *caching_ctl, in load_free_space_extents() argument
1620 struct btrfs_block_group *block_group = caching_ctl->block_group; in load_free_space_extents()
1656 wake_up(&caching_ctl->wait); in load_free_space_extents()
1673 int btrfs_load_free_space_tree(struct btrfs_caching_control *caching_ctl) in btrfs_load_free_space_tree() argument
1680 block_group = caching_ctl->block_group; in btrfs_load_free_space_tree()
1707 return load_free_space_bitmaps(caching_ctl, path, extent_count); in btrfs_load_free_space_tree()
1709 return load_free_space_extents(caching_ctl, path, extent_count); in btrfs_load_free_space_tree()
H A Dfree-space-tree.h29 int btrfs_load_free_space_tree(struct btrfs_caching_control *caching_ctl);
H A Dblock-group.h180 struct btrfs_caching_control *caching_ctl; member