/xen/xen/tools/ |
A D | get-fields.sh | 106 id=$token 208 test $id != "$token" || type=$id 212 id=$token 214 id= 217 id=$token 335 for id in $typedefs 337 test $id != "$token" || type=$id 341 id=$token 343 id= 346 id=$token [all …]
|
/xen/tools/ocaml/xenstored/ |
A D | quota.ml | 42 let del quota id = Hashtbl.remove quota.cur id 44 let _check quota id size = 49 if id > 0 && Hashtbl.mem quota.cur id then 56 let check quota id size = 58 _check quota id size 60 let get_entry quota id = Hashtbl.find quota.cur id 62 let set_entry quota id nb = 72 let del_entry quota id = 78 let add_entry quota id = 80 set_entry quota id (nb + 1) [all …]
|
A D | domain.ml | 24 id: Xenctrl.domid; RecordField 40 let is_dom0 d = d.id = 0 41 let get_id domain = domain.id 64 fprintf chan "dom,%d,%nd,%d\n" d.id d.mfn d.remote_port 68 warn "domain %d: attempt to notify on unknown port" dom.id 77 dom.port <- Some (Event.bind_interdomain dom.eventchn dom.id dom.remote_port); 78 …debug "bound domain %d remote port %d to local port %s" dom.id dom.remote_port (string_of_port dom… 82 debug "domain %d unbound port %s" dom.id (string_of_port dom.port); 90 let make id mfn remote_port interface eventchn = { 91 id = id; [all …]
|
/xen/xen/include/public/io/ |
A D | pvcalls.h | 67 uint64_t id; member 74 uint64_t id; member 83 uint64_t id; member 88 uint64_t id; member 93 uint64_t id; member 98 uint64_t id; member 104 uint64_t id; member 121 uint64_t id; member 124 uint64_t id; member 127 uint64_t id; member [all …]
|
A D | netif.h | 359 uint16_t id; member 398 uint16_t id; member 977 uint16_t id; member 1027 uint16_t id; member 1033 uint16_t id; /* Echoed in response message. */ member 1060 uint16_t id; member
|
A D | blkif.h | 651 uint64_t id; /* private guest value, echoed in resp */ member 666 uint64_t id; /* private guest value, echoed in resp */ member 676 uint64_t id; /* private guest value, echoed in resp */ member 687 uint64_t id; /* copied from request */ member
|
/xen/xen/include/asm-x86/ |
A D | pci.h | 11 #define IS_SNB_GFX(id) (id == 0x01068086 || id == 0x01168086 \ argument 12 || id == 0x01268086 || id == 0x01028086 \ 13 || id == 0x01128086 || id == 0x01228086 \ 14 || id == 0x010A8086 )
|
A D | mpspec.h | 23 extern int mp_register_lapic(u32 id, bool enabled, bool hotplug); 26 extern void mp_register_ioapic (u8 id, u32 address, u32 gsi_base); 48 #define next_physid(id, map) find_next_bit((map).mask, \ argument 49 MAX_APICS, (id) + 1) 52 unsigned int id, last = MAX_APICS; \ 53 for (id = find_first_bit(mask, MAX_APICS); id < MAX_APICS; \ 54 id = find_next_bit(mask, MAX_APICS, (id) + 1)) \ 55 last = id; \
|
/xen/tools/libxc/ |
A D | xc_devicemodel_compat.c | 11 ioservid_t *id) in xc_hvm_create_ioreq_server() argument 14 handle_bufioreq, id); in xc_hvm_create_ioreq_server() 18 xc_interface *xch, uint32_t domid, ioservid_t id, xen_pfn_t *ioreq_pfn, in xc_hvm_get_ioreq_server_info() argument 21 return xendevicemodel_get_ioreq_server_info(xch->dmod, domid, id, in xc_hvm_get_ioreq_server_info() 27 xc_interface *xch, uint32_t domid, ioservid_t id, int is_mmio, in xc_hvm_map_io_range_to_ioreq_server() argument 36 xc_interface *xch, uint32_t domid, ioservid_t id, int is_mmio, in xc_hvm_unmap_io_range_from_ioreq_server() argument 40 id, is_mmio, in xc_hvm_unmap_io_range_from_ioreq_server() 45 xc_interface *xch, uint32_t domid, ioservid_t id, uint16_t segment, in xc_hvm_map_pcidev_to_ioreq_server() argument 63 xc_interface *xch, uint32_t domid, ioservid_t id) in xc_hvm_destroy_ioreq_server() argument 65 return xendevicemodel_destroy_ioreq_server(xch->dmod, domid, id); in xc_hvm_destroy_ioreq_server() [all …]
|
/xen/xen/drivers/acpi/ |
A D | tables.c | 59 p->processor_id, p->id, in acpi_table_print_madt_entry() 175 p->processor_id, p->id, p->eid, in acpi_table_print_madt_entry() 252 id, entry_id); in acpi_get_entry() 300 if (!id || !handler) in acpi_parse_entries() 322 id, entry_id); in acpi_parse_entries() 347 acpi_table_parse_entries(char *id, in acpi_table_parse_entries() argument 359 if (!id || !handler) in acpi_table_parse_entries() 362 if (!strncmp(id, ACPI_SIG_MADT, 4)) in acpi_table_parse_entries() 380 sizeof(struct acpi_table_madt), id, in acpi_table_parse_madt() 403 if (strncmp(id, ACPI_SIG_MADT, 4) == 0) in acpi_table_parse() [all …]
|
/xen/tools/hotplug/Linux/ |
A D | xendomains.in | 218 name=;id= 237 name=;id= 240 if test $id = 0; then continue; fi 241 if test $id = $XS_DOMID; then continue; fi 323 name=;id= 326 if test $id = 0; then continue; fi 327 if test $id = $XS_DOMID; then continue; fi 375 name=;id= 378 if test $id = 0; then continue; fi 492 name=;id= [all …]
|
/xen/xen/include/asm-x86/hvm/ |
A D | ioreq.h | 27 ioservid_t *id); 28 int hvm_destroy_ioreq_server(struct domain *d, ioservid_t id); 29 int hvm_get_ioreq_server_info(struct domain *d, ioservid_t id, 33 int hvm_get_ioreq_server_frame(struct domain *d, ioservid_t id, 35 int hvm_map_io_range_to_ioreq_server(struct domain *d, ioservid_t id, 38 int hvm_unmap_io_range_from_ioreq_server(struct domain *d, ioservid_t id, 41 int hvm_map_mem_type_to_ioreq_server(struct domain *d, ioservid_t id, 43 int hvm_set_ioreq_server_state(struct domain *d, ioservid_t id,
|
/xen/tools/misc/ |
A D | xenwatchdogd.c | 14 int id = 0; variable 41 if (id) in catch_exit() 42 xc_watchdog(h, id, 300); in catch_exit() 48 if (id) in catch_usr1() 49 xc_watchdog(h, id, 0); in catch_usr1() 89 id = xc_watchdog(h, 0, t); in main() 90 if (id <= 0) in main() 95 ret = xc_watchdog(h, id, t); in main()
|
/xen/xen/common/ |
A D | argo.c | 375 id->domain_id, id->aport, id->partner_id); in find_ring_info() 380 id->domain_id, id->aport, id->partner_id); in find_ring_info() 427 id->domain_id, id->aport, id->partner_id); in find_send_info() 432 id->domain_id, id->aport, id->partner_id); in find_send_info() 501 ring_info->id.domain_id, ring_info->id.aport, in ring_map_page() 521 ring_info->id.domain_id, ring_info->id.aport, in ring_map_page() 846 ring_info->id.domain_id, ring_info->id.aport, in ringbuf_insert() 877 ring_info->id.domain_id, ring_info->id.aport, in ringbuf_insert() 904 ring_info->id.domain_id, ring_info->id.aport, in ringbuf_insert() 948 ring_info->id.aport, ring_info->id.partner_id); in ringbuf_insert() [all …]
|
/xen/xen/drivers/passthrough/vtd/ |
A D | quirks.c | 48 #define IS_CTG(id) (id == 0x2a408086) argument 49 #define IS_ILK(id) (id == 0x00408086 || id == 0x00448086 || id== 0x00628086 || id == 0x006A8086) argument 50 #define IS_CPT(id) (id == 0x01008086 || id == 0x01048086) argument 354 u32 id; in me_wifi_quirk() local 357 id = pci_conf_read32(PCI_SBDF(0, 0, 0, 0), 0); in me_wifi_quirk() 358 if ( IS_CTG(id) ) in me_wifi_quirk() 365 id = pci_conf_read32(PCI_SBDF3(0, bus, devfn), 0); in me_wifi_quirk() 366 switch (id) in me_wifi_quirk() 382 else if ( IS_ILK(id) || IS_CPT(id) ) in me_wifi_quirk() 389 id = pci_conf_read32(PCI_SBDF3(0, bus, devfn), 0); in me_wifi_quirk() [all …]
|
/xen/xen/arch/x86/hvm/ |
A D | ioreq.c | 48 #define GET_IOREQ_SERVER(d, id) \ argument 69 for ( (id) = MAX_NR_IOREQ_SERVERS; (id) != 0; ) \ 88 unsigned int id; in hvm_io_pending() local 178 unsigned int id; in handle_hvm_io_completion() local 427 unsigned int id; in is_ioreq_server_page() local 836 if ( id ) in hvm_create_ioreq_server() 837 *id = i; in hvm_create_ioreq_server() 1181 unsigned int id; in hvm_all_ioreq_servers_add_vcpu() local 1216 unsigned int id; in hvm_all_ioreq_servers_remove_vcpu() local 1229 unsigned int id; in hvm_destroy_all_ioreq_servers() local [all …]
|
/xen/xen/arch/x86/ |
A D | hypercall.c | 179 int hypercall_xlat_continuation(unsigned int *id, unsigned int nr, in hypercall_xlat_continuation() argument 191 ASSERT(!id || *id < nr); in hypercall_xlat_continuation() 192 ASSERT(!id || !(mask & (1U << *id))); in hypercall_xlat_continuation() 215 else if ( id && *id == i ) in hypercall_xlat_continuation() 217 *id = mcs->call.args[i]; in hypercall_xlat_continuation() 218 id = NULL; in hypercall_xlat_continuation() 255 else if ( id && *id == i ) in hypercall_xlat_continuation() 257 *id = *reg; in hypercall_xlat_continuation() 258 id = NULL; in hypercall_xlat_continuation()
|
/xen/tools/libs/devicemodel/include/ |
A D | xendevicemodel.h | 54 ioservid_t *id); 72 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, 88 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, int is_mmio, 103 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, int is_mmio, 121 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, uint16_t type, 137 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, 153 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, 165 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id); 181 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, int enabled);
|
/xen/tools/libs/devicemodel/ |
A D | core.c | 170 ioservid_t *id) in xendevicemodel_create_ioreq_server() argument 187 *id = data->id; in xendevicemodel_create_ioreq_server() 193 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, in xendevicemodel_get_ioreq_server_info() argument 206 data->id = id; in xendevicemodel_get_ioreq_server_info() 244 data->id = id; in xendevicemodel_map_io_range_to_ioreq_server() 264 data->id = id; in xendevicemodel_unmap_io_range_from_ioreq_server() 290 data->id = id; in xendevicemodel_map_mem_type_to_ioreq_server() 314 data->id = id; in xendevicemodel_map_pcidev_to_ioreq_server() 346 data->id = id; in xendevicemodel_unmap_pcidev_from_ioreq_server() 372 data->id = id; in xendevicemodel_destroy_ioreq_server() [all …]
|
/xen/tools/libxl/ |
A D | libxl_genid.c | 33 int libxl_ms_vm_genid_generate(libxl_ctx *ctx, libxl_ms_vm_genid *id) in libxl_ms_vm_genid_generate() argument 38 ret = libxl__random_bytes(gc, id->bytes, LIBXL_MS_VM_GENID_LEN); in libxl_ms_vm_genid_generate() 47 bool libxl_ms_vm_genid_is_zero(const libxl_ms_vm_genid *id) in libxl_ms_vm_genid_is_zero() argument 51 return memcmp(id->bytes, zero.bytes, LIBXL_MS_VM_GENID_LEN) == 0; in libxl_ms_vm_genid_is_zero() 61 const libxl_ms_vm_genid *id) in libxl__ms_vm_genid_set() argument 69 memcpy(genid, id->bytes, LIBXL_MS_VM_GENID_LEN); in libxl__ms_vm_genid_set()
|
/xen/xen/drivers/pci/ |
A D | pci.c | 13 u8 id; in pci_find_cap_offset() local 29 id = pci_conf_read8(PCI_SBDF(seg, bus, dev, func), pos + PCI_CAP_LIST_ID); in pci_find_cap_offset() 31 if ( id == 0xff ) in pci_find_cap_offset() 33 else if ( id == cap ) in pci_find_cap_offset() 44 u8 id; in pci_find_next_cap() local 54 id = pci_conf_read8(PCI_SBDF3(seg, bus, devfn), pos + PCI_CAP_LIST_ID); in pci_find_next_cap() 56 if ( id == 0xff ) in pci_find_next_cap() 58 if ( id == cap ) in pci_find_next_cap()
|
/xen/docs/misc/ |
A D | stubdom.txt | 45 - target domain id is stored in /local/domain/<stubdom-id>/target xenstore path 46 ?? - bios type is stored in /local/domain/<target-id>/hvmloader/bios 55 …ignal readiness by writing "running" to /local/domain/<stubdom-id>/device-model/<target-id>/state … 60 1. Write parameter to /local/domain/<stubdom-id>/device-model/<target-id>/parameter. 61 2. Write command to /local/domain/<stubdom-id>/device-model/<target-id>/command. 62 3. Wait for command result in /local/domain/<stubdom-id>/device-model/<target-id>/state (command sp… 63 4. Write "running" back to /local/domain/<stubdom-id>/device-model/<target-id>/state. 99 - target domain id is stored in /local/domain/<stubdom-id>/target xenstore path 100 ?? - bios type is stored in /local/domain/<target-id>/hvmloader/bios 118 4. stubdomain starts vchan server on /local/domain/<stubdom-id>/device-model/<target-id>/qmp-vchan,… [all …]
|
/xen/xen/include/xen/ |
A D | acpi.h | 78 int acpi_table_parse(char *id, acpi_table_handler handler); 79 int acpi_parse_entries(char *id, unsigned long table_size, 83 int acpi_table_parse_entries(char *id, unsigned long table_size, 85 struct acpi_subtable_header *acpi_table_get_entry_madt(enum acpi_madt_type id, 87 int acpi_table_parse_madt(enum acpi_madt_type id, acpi_table_entry_handler handler, unsigned int ma… 88 int acpi_table_parse_srat(int id, acpi_madt_entry_handler handler,
|
/xen/tools/libxc/include/ |
A D | xenctrl_compat.h | 127 ioservid_t *id); 129 xc_interface *xch, uint32_t domid, ioservid_t id, xen_pfn_t *ioreq_pfn, 132 xc_interface *xch, uint32_t domid, ioservid_t id, int is_mmio, 135 xc_interface *xch, uint32_t domid, ioservid_t id, int is_mmio, 138 xc_interface *xch, uint32_t domid, ioservid_t id, uint16_t segment, 141 xc_interface *xch, uint32_t domid, ioservid_t id, uint16_t segment, 144 xc_interface *xch, uint32_t domid, ioservid_t id); 146 xc_interface *xch, uint32_t domid, ioservid_t id, int enabled);
|
/xen/xen/drivers/passthrough/amd/ |
A D | iommu_acpi.c | 435 bdf = select->header.id; in parse_ivhd_device_select() 477 last_bdf = range->end.header.id; in parse_ivhd_device_range() 507 bdf = alias->header.id; in parse_ivhd_device_alias() 559 last_bdf = range->end.header.id; in parse_ivhd_device_alias_range() 597 bdf = ext->header.id; in parse_ivhd_device_extended() 659 unsigned long id; in parse_ivrs_ioapic() local 674 idx = ioapic_id_to_index(id); in parse_ivrs_ioapic() 687 ioapic_sbdf[idx].id = id; in parse_ivrs_ioapic() 697 unsigned long id; in parse_ivrs_hpet() local 704 if ( id != (typeof(hpet_sbdf.id))id || *s != ']' || *++s != '=' ) in parse_ivrs_hpet() [all …]
|