/xen/tools/libxl/ |
A D | libxl_vtpm.c | 34 dst->devid = src->devid; in libxl__update_config_vtpm() 43 flexarray_append_pair(back, "handle", GCSPRINTF("%d", vtpm->devid)); in libxl__set_xenstore_vtpm() 49 flexarray_append_pair(front, "handle", GCSPRINTF("%d", vtpm->devid)); in libxl__set_xenstore_vtpm() 62 libxl_devid devid, in libxl__vtpm_from_xenstore() argument 69 vtpm->devid = devid; in libxl__vtpm_from_xenstore() 102 vtpminfo->devid = vtpm->devid; in libxl_device_vtpm_getinfo() 106 libxl_path = libxl__domain_device_libxl_path(gc, domid, vtpminfo->devid, in libxl_device_vtpm_getinfo() 157 int devid, in libxl_devid_to_device_vtpm() argument 172 if(devid == vtpms[i].devid) { in libxl_devid_to_device_vtpm() 174 vtpm->devid = vtpms[i].devid; in libxl_devid_to_device_vtpm() [all …]
|
A D | libxl_console.c | 266 if (console->devid && state) { in libxl__device_console_add() 283 device->devid = console->devid; in libxl__device_console_add() 364 device.devid = console->devid; in libxl__device_vuart_add() 404 if (channel->devid == -1) in libxl__init_console_from_channel() 405 channel->devid = dev_num; in libxl__init_console_from_channel() 452 console->devid = channel->devid; in libxl__init_console_from_channel() 501 unsigned int n = 0, devid = 0; in libxl__append_channel_list() local 532 next->devid = devid; in libxl__append_channel_list() 533 devid++; in libxl__append_channel_list() 535 *nchannels += devid; in libxl__append_channel_list() [all …]
|
A D | libxl_vkb.c | 90 libxl_devid devid, in libxl__vkb_from_xenstore() argument 97 vkb->devid = devid; in libxl__vkb_from_xenstore() 220 device->backend_devid = type->devid; in libxl__device_from_vkb() 224 device->devid = type->devid; in libxl__device_from_vkb() 249 int devid, libxl_device_vkb *vkb) in libxl_devid_to_device_vkb() argument 264 if (devid == vkbs[i].devid) { in libxl_devid_to_device_vkb() 293 info->devid = vkb->devid; in libxl_device_vkb_getinfo() 295 devpath = libxl__domain_device_frontend_path(gc, domid, info->devid, in libxl_device_vkb_getinfo() 297 libxl_path = libxl__domain_device_libxl_path(gc, domid, info->devid, in libxl_device_vkb_getinfo()
|
A D | libxl_nic.c | 122 dst->devid = src->devid; in libxl__update_config_nic() 229 flexarray_append(back, GCSPRINTF("%d", nic->devid)); in libxl__set_xenstore_nic() 235 flexarray_append(front, GCSPRINTF("%d", nic->devid)); in libxl__set_xenstore_nic() 262 nic->devid = atoi(tmp); in libxl__nic_from_xenstore() 264 nic->devid = 0; in libxl__nic_from_xenstore() 410 nicinfo->devid = nic->devid; in libxl_device_nic_getinfo() 445 uint32_t devid, in libxl__device_nic_devname() argument 488 if (d_config->nics[i].devid > last_devid) in libxl__device_nic_set_devids() 489 last_devid = d_config->nics[i].devid; in libxl__device_nic_set_devids() 492 if (d_config->nics[i].devid < 0) in libxl__device_nic_set_devids() [all …]
|
A D | libxl_vdispl.c | 28 libxl_devid devid, in libxl__vdispl_from_xenstore() argument 34 vdispl->devid = devid; in libxl__vdispl_from_xenstore() 47 dst->devid = src->devid; in libxl__update_config_vdispl() 164 info->devid = vdispl->devid; in libxl_device_vdispl_getinfo() 166 devpath = libxl__domain_device_frontend_path(gc, domid, info->devid, in libxl_device_vdispl_getinfo() 168 libxl_path = libxl__domain_device_libxl_path(gc, domid, info->devid, in libxl_device_vdispl_getinfo()
|
A D | libxl_freebsd.c | 28 char *libxl__devid_to_localdev(libxl__gc *gc, int devid) in libxl__devid_to_localdev() argument 69 int major = devid >> 8; in libxl__devid_to_localdev() 70 int minor = devid & 0xff; in libxl__devid_to_localdev() 73 if (devid & (1 << 28)) in libxl__devid_to_localdev() 74 return GCSPRINTF("%s%d", "xbd", (devid & ((1 << 28) - 1)) >> 8); in libxl__devid_to_localdev() 103 dev->devid, type); in libxl__hotplug_env_nic()
|
A D | libxl_vsnd.c | 31 device->backend_devid = vsnd->devid; in libxl__device_from_vsnd() 34 device->devid = vsnd->devid; in libxl__device_from_vsnd() 227 libxl_devid devid, in libxl__vsnd_from_xenstore() argument 234 vsnd->devid = devid; in libxl__vsnd_from_xenstore() 290 dst->devid = src->devid; in libxl__update_config_vsnd() 601 info->devid = vsnd->devid; in libxl_device_vsnd_getinfo() 603 devpath = libxl__domain_device_frontend_path(gc, domid, info->devid, in libxl_device_vsnd_getinfo() 605 libxl_path = libxl__domain_device_libxl_path(gc, domid, info->devid, in libxl_device_vsnd_getinfo() 634 int devid, libxl_device_vsnd *vsnd) in libxl_devid_to_device_vsnd() argument 649 if (devid == vsnds[i].devid) { in libxl_devid_to_device_vsnd()
|
A D | libxl_disk.c | 185 int devid; in libxl__device_from_disk() local 188 if (devid==-1) { in libxl__device_from_disk() 195 device->backend_devid = devid; in libxl__device_from_disk() 214 device->devid = devid; in libxl__device_from_disk() 455 libxl_devid devid, in libxl__disk_from_xenstore() argument 586 if (devid < 0) in libxl_vdev_to_device_disk() 917 int devid; in cdrom_insert_addfd_cb() local 1066 int devid = 0, disk = 0, part = 0; in libxl__alloc_vdev() local 1077 if (devid < 0) in libxl__alloc_vdev() 1084 return libxl__devid_to_vdev(gc, devid); in libxl__alloc_vdev() [all …]
|
A D | libxl_utils.h | 70 int libxl_devid_to_device_nic(libxl_ctx *ctx, uint32_t domid, int devid, 79 int devid, libxl_device_vtpm *vtpm); 81 int devid, libxl_device_usbctrl *usbctrl); 84 int devid, libxl_device_vkb *vkb); 87 int devid, libxl_device_vdispl *vdispl); 90 int devid, libxl_device_vsnd *vsnd);
|
A D | libxl_netbuffer.c | 29 int devid; member 131 nic->devid, LIBXL__DEVICE_KIND_VIF)); in get_vifname() 136 nic->devid, in get_vifname() 259 const int dev_id = remus_nic->devid; in setup_async_exec() 317 remus_nic->devid = nic->devid; in nic_setup() 355 const int devid = remus_nic->devid; in netbuf_setup_script_cb() local 370 devid), in netbuf_setup_script_cb() 383 libxl__xs_libxl_path(gc, domid), devid); in netbuf_setup_script_cb()
|
A D | libxl_colo_nic.c | 65 domid, nic->devid, LIBXL__DEVICE_KIND_VIF)); in get_vifname() 69 nic->devid, in get_vifname() 166 colo_nic->devid = nic->devid; in colo_nic_setup() 199 const int devid = colo_nic->devid; in colo_save_setup_script_cb() local 208 libxl__xs_libxl_path(gc, domid), devid); in colo_save_setup_script_cb()
|
A D | libxl_checkpoint_device.c | 138 int devid; in device_setup_iterate() local 142 devid = nic->devid; in device_setup_iterate() 146 devid = libxl__device_disk_dev_number(disk->vdev, NULL, NULL); in device_setup_iterate() 156 domid, devid); in device_setup_iterate()
|
A D | libxl_linux.c | 38 char *libxl__devid_to_localdev(libxl__gc *gc, int devid) in libxl__devid_to_localdev() argument 40 return libxl__devid_to_vdev(gc, devid); in libxl__devid_to_localdev() 60 env[nr++] = GCSPRINTF("backend/%s/%u/%d", type, dev->domid, dev->devid); in get_hotplug_env() 80 dev->devid, in get_hotplug_env() 91 dev->devid, in get_hotplug_env()
|
A D | libxl_types.idl | 373 ("devid", libxl_devid), 665 ("devid", libxl_devid), 707 ("devid", libxl_devid), 805 ("devid", libxl_devid), 851 ("devid", libxl_devid), 869 ("devid", libxl_devid), 930 ("devid", libxl_devid), 971 ("devid", libxl_devid), 982 ("devid", libxl_devid), 994 ("devid", libxl_devid), [all …]
|
A D | libxl_device.c | 33 device->devid); in libxl__device_frontend_path() 37 device->devid); in libxl__device_frontend_path() 55 device->domid, device->devid); in libxl__device_backend_path() 66 domid, devid); in libxl__domain_device_backend_path() 75 device->devid); in libxl__device_libxl_path() 115 &dev->devid); in libxl__parse_backend_path() 602 if (!VDEV_IS_EXTENDED(devid)) { in libxl__devid_to_vdev() 603 minor = devid & 0xff; in libxl__devid_to_vdev() 606 minor = BLKIF_MINOR_EXT(devid); in libxl__devid_to_vdev() 824 dev->devid = atoi(devs[j]); in libxl__devices_destroy() [all …]
|
A D | libxl_usb.c | 137 device->backend_devid = usbctrl->devid; in libxl__device_from_usbctrl() 152 device->devid = usbctrl->devid; in libxl__device_from_usbctrl() 388 int devid) in libxl__device_usbctrl_del_hvm() argument 394 "id", GCSPRINTF("xenusb-%d", devid)); in libxl__device_usbctrl_del_hvm() 594 int usbctrl_devid = aodev->dev->devid; in libxl__initiate_device_usbctrl_remove() 712 libxl_devid devid, in libxl__usbctrl_from_xenstore() argument 735 usbctrl_r->devid = devid; in libxl__usbctrl_from_xenstore() 768 usbctrlinfo->devid = usbctrl->devid; in libxl_device_usbctrl_getinfo() 1119 usbctrls[i].devid, j + 1); in libxl__device_usbdev_set_default_usbctrl() 1124 usbdev->ctrl = usbctrls[i].devid; in libxl__device_usbdev_set_default_usbctrl() [all …]
|
/xen/xen/arch/arm/ |
A D | vgic-v3-its.c | 172 if ( devid >= its->max_devices ) in its_set_itt_address() 190 if ( devid >= its->max_devices ) in its_get_itt() 209 ret = its_get_itt(its, devid, &itt); in its_get_itte_address() 236 addr = its_get_itte_address(its, devid, evid); in read_itte() 267 addr = its_get_itte_address(its, devid, evid); in write_itte() 302 uint32_t devid = its_cmd_get_deviceid(cmdptr); in its_handle_int() local 349 uint32_t devid = its_cmd_get_deviceid(cmdptr); in its_handle_clear() local 459 uint32_t devid = its_cmd_get_deviceid(cmdptr); in its_handle_inv() local 640 if ( its_get_itt(its, devid, &itt) ) in its_unmap_device() 653 its_discard_event(its, devid, evid); in its_unmap_device() [all …]
|
/xen/tools/xl/ |
A D | xl_vkb.c | 106 vkbinfo.devid, vkbinfo.backend_id, in main_vkblist() 107 vkbinfo.devid, vkbinfo.state, vkbinfo.evtch, in main_vkblist() 121 uint32_t domid, devid; in main_vkbdetach() local 130 devid = atoi(argv[optind++]); in main_vkbdetach() 134 if (libxl_devid_to_device_vkb(ctx, domid, devid, &vkb)) { in main_vkbdetach() 135 fprintf(stderr, "Error: Device %d not connected.\n", devid); in main_vkbdetach()
|
A D | xl_vdispl.c | 98 vdisplinfo.devid, vdisplinfo.backend_id, in main_vdispllist() 125 uint32_t domid, devid; in main_vdispldetach() local 134 devid = atoi(argv[optind++]); in main_vdispldetach() 138 if (libxl_devid_to_device_vdispl(ctx, domid, devid, &vdispl)) { in main_vdispldetach() 139 fprintf(stderr, "Error: Device %d not connected.\n", devid); in main_vdispldetach()
|
A D | xl_usb.c | 57 int opt, devid, rc; in main_usbctrl_detach() local 65 devid = atoi(argv[optind+1]); in main_usbctrl_detach() 68 if (libxl_devid_to_device_usbctrl(ctx, domid, devid, &usbctrl)) { in main_usbctrl_detach() 182 usbctrlinfo.devid, in main_usblist() 195 usbctrlinfo.devid, in main_usblist()
|
A D | xl_vsnd.c | 130 vsndinfo.devid, vsndinfo.backend_id, in main_vsndlist() 167 uint32_t domid, devid; in main_vsnddetach() local 176 devid = atoi(argv[optind++]); in main_vsnddetach() 180 if (libxl_devid_to_device_vsnd(ctx, domid, devid, &vsnd)) { in main_vsnddetach() 181 fprintf(stderr, "Error: Device %d not connected.\n", devid); in main_vsnddetach()
|
A D | xl_vtpm.c | 101 vtpminfo.devid, vtpminfo.backend_id, in main_vtpmlist() 103 vtpminfo.devid, vtpminfo.state, vtpminfo.evtch, in main_vtpmlist()
|
A D | xl_nic.c | 118 printf("%-3d %-2d ", nicinfo.devid, nicinfo.backend_id); in main_networklist() 123 nicinfo.devid, nicinfo.state, nicinfo.evtch, in main_networklist()
|
/xen/tools/xenstat/libxenstat/src/ |
A D | xenstat_qmp.c | 146 int i, devid; in lookup_xenstore_devid() local 164 devid = atoi(dev_ids[i]); in lookup_xenstore_devid() 166 snprintf(path, sizeof(path),"/local/domain/0/backend/qdisk/%i/%i/params", domid, devid); in lookup_xenstore_devid() 174 *dev = devid; in lookup_xenstore_devid() 178 snprintf(path, sizeof(path),"/local/domain/0/backend/qdisk/%i/%i/sector-size", domid, devid); in lookup_xenstore_devid()
|
/xen/tools/hotplug/Linux/ |
A D | vif-common.sh | 105 devid=${dev_#*.} 107 XENBUS_PATH="/local/domain/0/backend/vif/$domid/$devid"
|