Lines Matching defs:wait
393 * Therefore wait for any task currently allocating extents, since the
428 * When we wait for progress in the block group caching, its because our
453 * allow for an allocation, so wait for at least the next wakeup tick,
458 wait_event(caching_ctl->wait, btrfs_block_group_done(cache) ||
468 wait_event(caching_ctl->wait, btrfs_block_group_done(cache));
823 wake_up(&caching_ctl->wait);
873 wake_up(&caching_ctl->wait);
912 wake_up(&caching_ctl->wait);
918 int btrfs_cache_block_group(struct btrfs_block_group *cache, bool wait)
934 init_waitqueue_head(&caching_ctl->wait);
964 if (wait && caching_ctl)
1685 * about this block group. Otherwise we'll need to wait
3342 * is already under IO. Just wait for it to finish and then do
3355 * we wait.
3500 * that is already under IO. Just wait for it to finish and
3549 * yet, etc). If this is the case, wait for all free