summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/NG4copy_page.S
diff options
context:
space:
mode:
authorDavid Vrabel2014-12-02 17:13:26 +0100
committerDavid Vrabel2016-01-07 14:21:53 +0100
commita4cdb556cae05cd3e7b602b3a44c01420c4e2258 (patch)
treef21957dcd64da3d2be1a0891b523b8ff46e58d1d /arch/sparc/lib/NG4copy_page.S
parentx86/xen: don't reset vcpu_info on a cancelled suspend (diff)
downloadkernel-qcow2-linux-a4cdb556cae05cd3e7b602b3a44c01420c4e2258.tar.gz
kernel-qcow2-linux-a4cdb556cae05cd3e7b602b3a44c01420c4e2258.tar.xz
kernel-qcow2-linux-a4cdb556cae05cd3e7b602b3a44c01420c4e2258.zip
xen/gntdev: add ioctl for grant copy
Add IOCTL_GNTDEV_GRANT_COPY to allow applications to copy between user space buffers and grant references. This interface is similar to the GNTTABOP_copy hypercall ABI except the local buffers are provided using a virtual address (instead of a GFN and offset). To avoid userspace from having to page align its buffers the driver will use two or more ops if required. If the ioctl returns 0, the application must check the status of each segment with the segments status field. If the ioctl returns a -ve error code (EINVAL or EFAULT), the status of individual ops is undefined. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch/sparc/lib/NG4copy_page.S')
0 files changed, 0 insertions, 0 deletions