Lines Matching defs:op
435 struct gnttab_map_grant_ref op = {
448 op.host_addr = (unsigned long)area->addr;
450 if (HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, &op, 1))
453 if (op.status != GNTST_okay) {
455 xenbus_dev_fatal(dev, op.status,
458 return op.status;
462 area->phys_addr = (unsigned long)op.handle;
487 struct gnttab_map_grant_ref op = {
494 if (HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, &op, 1))
497 if (op.status != GNTST_okay) {
498 xenbus_dev_fatal(dev, op.status,
502 *handle = op.handle;
504 return op.status;
524 struct gnttab_unmap_grant_ref op = {
547 op.handle = (grant_handle_t)area->phys_addr;
549 if (HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, &op, 1))
552 if (op.status == GNTST_okay)
555 xenbus_dev_error(dev, op.status,
557 (int16_t)area->phys_addr, op.status);
559 return op.status;
577 struct gnttab_unmap_grant_ref op = {
582 if (HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, &op, 1))
585 if (op.status != GNTST_okay)
586 xenbus_dev_error(dev, op.status,
588 handle, op.status);
590 return op.status;