Searched refs:sdev_array (Results 1 – 5 of 5) sorted by relevance
/xen/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 641 uint32_t *sdev_array; in pyxc_get_device_group() local 649 sdev_array = calloc(max_sdevs, sizeof(*sdev_array)); in pyxc_get_device_group() 650 if (sdev_array == NULL) in pyxc_get_device_group() 659 domid, sbdf, max_sdevs, &num_sdevs, sdev_array); in pyxc_get_device_group() 663 free(sdev_array); in pyxc_get_device_group() 669 free(sdev_array); in pyxc_get_device_group() 676 free(sdev_array); in pyxc_get_device_group() 682 bus = (sdev_array[i] >> 16) & 0xff; in pyxc_get_device_group() 683 dev = (sdev_array[i] >> 11) & 0x1f; in pyxc_get_device_group() 684 func = (sdev_array[i] >> 8) & 0x7; in pyxc_get_device_group() [all …]
|
/xen/tools/libxc/ |
A D | xc_domain.c | 1534 uint32_t *sdev_array) in xc_get_device_group() argument 1538 …DECLARE_HYPERCALL_BOUNCE(sdev_array, max_sdevs * sizeof(*sdev_array), XC_HYPERCALL_BUFFER_BOUNCE_I… in xc_get_device_group() 1540 if ( xc_hypercall_bounce_pre(xch, sdev_array) ) in xc_get_device_group() 1552 set_xen_guest_handle(domctl.u.get_device_group.sdev_array, sdev_array); in xc_get_device_group() 1558 xc_hypercall_bounce_post(xch, sdev_array); in xc_get_device_group()
|
/xen/xen/include/public/ |
A D | domctl.h | 539 XEN_GUEST_HANDLE_64(uint32) sdev_array; /* OUT */
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 1696 uint32_t *sdev_array);
|
/xen/xen/drivers/passthrough/ |
A D | pci.c | 1663 sdevs = domctl->u.get_device_group.sdev_array; in iommu_do_pci_domctl()
|
Completed in 23 milliseconds