Lines Matching refs:item
1228 static void __gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item);
1241 static void __gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item)
1246 for (pc = 0; pc < item->count; pc++) {
1247 if (page_count(item->pages[pc]) > 1) {
1248 unsigned long delay = GNTTAB_UNMAP_REFS_DELAY * (item->age + 1);
1249 schedule_delayed_work(&item->gnttab_work,
1255 ret = gnttab_unmap_refs(item->unmap_ops, item->kunmap_ops,
1256 item->pages, item->count);
1257 item->done(ret, item);
1260 void gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item)
1262 INIT_DELAYED_WORK(&item->gnttab_work, gnttab_unmap_work);
1263 item->age = 0;
1265 __gnttab_unmap_refs_async(item);
1278 int gnttab_unmap_refs_sync(struct gntab_unmap_queue_data *item)
1283 item->data = &data;
1284 item->done = &unmap_refs_callback;
1285 gnttab_unmap_refs_async(item);