Lines Matching refs:item
1312 static void __gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item);
1325 static void __gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item)
1330 for (pc = 0; pc < item->count; pc++) {
1331 if (page_count(item->pages[pc]) > 1) {
1332 unsigned long delay = GNTTAB_UNMAP_REFS_DELAY * (item->age + 1);
1333 schedule_delayed_work(&item->gnttab_work,
1339 ret = gnttab_unmap_refs(item->unmap_ops, item->kunmap_ops,
1340 item->pages, item->count);
1341 item->done(ret, item);
1344 void gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item)
1346 INIT_DELAYED_WORK(&item->gnttab_work, gnttab_unmap_work);
1347 item->age = 0;
1349 __gnttab_unmap_refs_async(item);
1362 int gnttab_unmap_refs_sync(struct gntab_unmap_queue_data *item)
1367 item->data = &data;
1368 item->done = &unmap_refs_callback;
1369 gnttab_unmap_refs_async(item);