Lines Matching defs:async_work
1319 struct btrfs_async_delayed_work *async_work;
1329 async_work = container_of(work, struct btrfs_async_delayed_work, work);
1330 delayed_root = async_work->delayed_root;
1371 } while ((async_work->nr == 0 && total_done < BTRFS_DELAYED_WRITEBACK)
1372 || total_done < async_work->nr);
1377 kfree(async_work);
1384 struct btrfs_async_delayed_work *async_work;
1386 async_work = kmalloc_obj(*async_work, GFP_NOFS);
1387 if (!async_work)
1390 async_work->delayed_root = delayed_root;
1391 btrfs_init_work(&async_work->work, btrfs_async_run_delayed_root, NULL);
1392 async_work->nr = nr;
1394 btrfs_queue_work(fs_info->delayed_workers, &async_work->work);