Lines Matching defs:async_work
1329 struct btrfs_async_delayed_work *async_work;
1338 async_work = container_of(work, struct btrfs_async_delayed_work, work);
1339 delayed_root = async_work->delayed_root;
1377 } while ((async_work->nr == 0 && total_done < BTRFS_DELAYED_WRITEBACK)
1378 || total_done < async_work->nr);
1383 kfree(async_work);
1390 struct btrfs_async_delayed_work *async_work;
1392 async_work = kmalloc(sizeof(*async_work), GFP_NOFS);
1393 if (!async_work)
1396 async_work->delayed_root = delayed_root;
1397 btrfs_init_work(&async_work->work, btrfs_async_run_delayed_root, NULL);
1398 async_work->nr = nr;
1400 btrfs_queue_work(fs_info->delayed_workers, &async_work->work);