Lines Matching defs:async_work
1313 struct btrfs_async_delayed_work *async_work;
1322 async_work = container_of(work, struct btrfs_async_delayed_work, work);
1323 delayed_root = async_work->delayed_root;
1361 } while ((async_work->nr == 0 && total_done < BTRFS_DELAYED_WRITEBACK)
1362 || total_done < async_work->nr);
1367 kfree(async_work);
1374 struct btrfs_async_delayed_work *async_work;
1376 async_work = kmalloc(sizeof(*async_work), GFP_NOFS);
1377 if (!async_work)
1380 async_work->delayed_root = delayed_root;
1381 btrfs_init_work(&async_work->work, btrfs_async_run_delayed_root, NULL,
1383 async_work->nr = nr;
1385 btrfs_queue_work(fs_info->delayed_workers, &async_work->work);