Lines Matching defs:async_work
1331 struct btrfs_async_delayed_work *async_work;
1340 async_work = container_of(work, struct btrfs_async_delayed_work, work);
1341 delayed_root = async_work->delayed_root;
1380 } while ((async_work->nr == 0 && total_done < BTRFS_DELAYED_WRITEBACK)
1381 || total_done < async_work->nr);
1386 kfree(async_work);
1393 struct btrfs_async_delayed_work *async_work;
1395 async_work = kmalloc(sizeof(*async_work), GFP_NOFS);
1396 if (!async_work)
1399 async_work->delayed_root = delayed_root;
1400 btrfs_init_work(&async_work->work, btrfs_async_run_delayed_root, NULL,
1402 async_work->nr = nr;
1404 btrfs_queue_work(fs_info->delayed_workers, &async_work->work);