Home
last modified time | relevance | path

Searched refs:to_domain (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/xen/
H A Dxen-operations.c41 bool to_domain, uint32_t domid, in libxengnttab_fallback_grant_copy() argument
46 int prot = to_domain ? PROT_WRITE : PROT_READ; in libxengnttab_fallback_grant_copy()
54 refs[i] = to_domain ? seg->dest.foreign.ref : in libxengnttab_fallback_grant_copy()
71 if (to_domain) { in libxengnttab_fallback_grant_copy()
95 bool to_domain, uint32_t domid, in libxengnttab_backend_grant_copy() argument
109 if (to_domain) { in libxengnttab_backend_grant_copy()
H A Dxen-legacy-backend.c151 bool to_domain, in xen_be_copy_grant_refs() argument
159 rc = qemu_xen_gnttab_grant_copy(xendev->gnttabdev, to_domain, xen_domid, in xen_be_copy_grant_refs()
H A Dxen-bus.c808 void xen_device_copy_grant_refs(XenDevice *xendev, bool to_domain, in xen_device_copy_grant_refs() argument
812 qemu_xen_gnttab_grant_copy(xendev->xgth, to_domain, xendev->frontend_id, in xen_device_copy_grant_refs()
/openbmc/qemu/include/hw/xen/
H A Dxen_backend_ops.h155 int (*grant_copy)(xengnttab_handle *xgt, bool to_domain, uint32_t domid,
190 bool to_domain, uint32_t domid, in qemu_xen_gnttab_grant_copy() argument
198 return xen_gnttab_ops->grant_copy(xgt, to_domain, domid, segs, nr_segs, in qemu_xen_gnttab_grant_copy()
H A Dxen-legacy-backend.h54 bool to_domain, XenGrantCopySegment segs[],
H A Dxen-bus.h114 void xen_device_copy_grant_refs(XenDevice *xendev, bool to_domain,
/openbmc/qemu/hw/i386/kvm/
H A Dxen_gnttab.c456 static int xen_be_gnttab_copy(struct xengntdev_handle *xgt, bool to_domain, in xen_be_gnttab_copy() argument
460 int prot = to_domain ? PROT_WRITE : PROT_READ; in xen_be_gnttab_copy()
466 uint32_t ref = to_domain ? seg->dest.foreign.ref : in xen_be_gnttab_copy()
478 if (to_domain) { in xen_be_gnttab_copy()
/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.c216 bool to_domain = (request->req.operation == BLKIF_OP_READ); in xen_block_copy_request() local
227 if (to_domain) { in xen_block_copy_request()
244 xen_device_copy_grant_refs(xendev, to_domain, segs, count, &local_err); in xen_block_copy_request()