Home
last modified time | relevance | path

Searched refs:domid (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_devicemodel_compat.c10 xc_interface *xch, uint32_t domid, int handle_bufioreq, in xc_hvm_create_ioreq_server() argument
13 return xendevicemodel_create_ioreq_server(xch->dmod, domid, in xc_hvm_create_ioreq_server()
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
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()
69 xc_interface *xch, uint32_t domid, ioservid_t id, int enabled) in xc_hvm_set_ioreq_server_state() argument
90 xc_interface *xch, uint32_t domid, uint8_t link, uint8_t irq) in xc_hvm_set_pci_link_route() argument
116 xc_interface *xch, uint32_t domid, hvmmem_type_t type, in xc_hvm_set_mem_type() argument
[all …]
A Dxc_resume.c35 if ( xc_domain_getinfo(xch, domid, 1, &info) != 1 || in modify_returncode()
36 info.domid != domid ) in modify_returncode()
103 if ( (rc = modify_returncode(xch, domid)) != 0 ) in xc_domain_resume_cooperative()
107 domctl.domain = domid; in xc_domain_resume_cooperative()
128 domctl.domain = domid; in xc_domain_resume_hvm()
151 if ( xc_domain_getinfo(xch, domid, 1, &info) != 1 ) in xc_domain_resume_any()
162 return xc_domain_resume_hvm(xch, domid); in xc_domain_resume_any()
208 p2m = xc_map_foreign_pages(xch, domid, PROT_READ, in xc_domain_resume_any()
217 if ( xc_vcpu_getcontext(xch, domid, 0, &ctxt) ) in xc_domain_resume_any()
249 domctl.domain = domid; in xc_domain_resume_any()
[all …]
A Dxc_domain.c746 .domid = domid, in xc_domain_set_memory_map()
941 .domid = domid in xc_domain_increase_reservation()
999 .domid = domid in xc_domain_decrease_reservation()
1055 .domid = domid, in xc_domain_add_to_physmap()
1078 .domid = domid, in xc_domain_add_to_physmap_batch()
1117 .domid = domid in xc_domain_claim_pages()
1142 .domid = domid in xc_domain_populate_physmap()
1199 .domid = domid in xc_domain_memory_exchange_pages()
1241 .domid = domid, in xc_domain_pod_target()
2085 info.domid != domid ) in xc_domain_memory_mapping()
[all …]
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_domain.c302 uint32_t domid = 0; in libxl_list_domain() local
373 ptr[idx].domid = info[i].domid; in libxl_list_vm()
438 dss->domid = domid; in libxl_domain_remus_start()
507 dss->domid = domid; in libxl_domain_suspend()
814 evg->domid = domid; in libxl_evenable_domain_death()
818 evg->domid > evg_search->domid); in libxl_evenable_domain_death()
873 dds->domid = domid; in libxl_domain_destroy()
920 dds->domain.domid = dds->domid; in libxl__domain_destroy()
989 uint32_t domid = dis->domid; in libxl__destroy_domid() local
1042 dis->drs.domid = domid; in libxl__destroy_domid()
[all …]
A Dlibxl_sched.c58 if (xc_vcpu_setaffinity(ctx->xch, domid, vcpuid, in libxl__set_vcpuaffinity()
62 LOGED(ERROR, domid, "Setting vcpu affinity"); in libxl__set_vcpuaffinity()
227 if (rc != 1 || domaininfo.domain != domid) in sched_credit_domain_set()
425 if (rc != 1 || info.domain != domid) in sched_credit2_domain_set()
641 r = xc_sched_rtds_vcpu_set(CTX->xch, domid, in sched_rtds_vcpu_set()
693 r = xc_sched_rtds_vcpu_set(CTX->xch, domid, in sched_rtds_vcpu_set_all()
789 LOGD(ERROR, domid, "Unknown scheduler"); in libxl_domain_sched_params_set()
824 LOGD(ERROR, domid, "Unknown scheduler"); in libxl_vcpu_sched_params_set()
859 LOGD(ERROR, domid, "Unknown scheduler"); in libxl_vcpu_sched_params_set_all()
896 LOGD(ERROR, domid, "Unknown scheduler"); in libxl_domain_sched_params_get()
[all …]
A Dlibxl.h1376 uint32_t *domid,
1392 uint32_t *domid, int restore_fd, in libxl_domain_create_restore_0x040200() argument
1416 uint32_t *domid, int restore_fd, in libxl_domain_create_restore_0x040400() argument
1432 uint32_t domid,
1623 uint32_t domid);
2061 void libxl_cpuid_set(libxl_ctx *ctx, uint32_t domid,
2198 int libxl_send_trigger(libxl_ctx *ctx, uint32_t domid,
2218 int libxl_tmem_thaw(libxl_ctx *ctx, uint32_t domid);
2249 int libxl_domid_valid_guest(uint32_t domid);
2274 uint32_t domid,
[all …]
A Dlibxl_dom_suspend.c31 const uint32_t domid = dsps->domid; in libxl__domain_suspend_init() local
46 port = xs_suspend_evtchn_port(domid); in libxl__domain_suspend_init()
75 uint32_t const domid = dsps->domid; in libxl__domain_suspend_device_model() local
86 if (libxl__qmp_stop(gc, domid)) in libxl__domain_suspend_device_model()
147 const uint32_t domid = dsps->domid; in domain_suspend_callback_common() local
261 LOGD(ERROR, dsps->domid, in domain_suspend_common_pvcontrol_suspending()
325 const uint32_t domid = dsps->domid; in suspend_common_wait_guest_check() local
333 if (!(ret == 1 && info.domain == domid)) { in suspend_common_wait_guest_check()
383 LOGD(ERROR, dsps->domid, in domain_suspend_common_guest_suspended()
443 if (libxl__qmp_resume(gc, domid)) in libxl__domain_resume_device_model()
[all …]
A Dlibxl_tmem.c19 char *libxl_tmem_list(libxl_ctx *ctx, uint32_t domid, int use_long) in libxl_tmem_list() argument
28 LOGED(ERROR, domid, "Can not get tmem list"); in libxl_tmem_list()
37 int libxl_tmem_freeze(libxl_ctx *ctx, uint32_t domid) in libxl_tmem_freeze() argument
45 LOGED(ERROR, domid, "Can not freeze tmem pools"); in libxl_tmem_freeze()
56 int libxl_tmem_thaw(libxl_ctx *ctx, uint32_t domid) in libxl_tmem_thaw() argument
64 LOGED(ERROR, domid, "Can not thaw tmem pools"); in libxl_tmem_thaw()
98 LOGED(ERROR, domid, "Can not get tmem data!"); in libxl_tmem_set()
112 LOGED(ERROR, domid, "Can not set tmem %s", name); in libxl_tmem_set()
123 int libxl_tmem_shared_auth(libxl_ctx *ctx, uint32_t domid, in libxl_tmem_shared_auth() argument
129 r = xc_tmem_auth(ctx->xch, domid, uuid, auth); in libxl_tmem_shared_auth()
[all …]
A Dlibxl_usb.c154 device->domid = domid; in libxl__device_from_usbctrl()
518 uint32_t domid = ao->domid; in libxl__initiate_device_usbctrl_remove() local
687 usbctrlinfo->frontend_id = domid; in libxl_device_usbctrl_getinfo()
708 uint32_t domid, in libxl_devid_to_device_usbctrl() argument
822 uint32_t domid = atoi(domlist[i]); in get_assigned_devices() local
1069 LOGD(ERROR, domid, in libxl__device_usbdev_setdefault()
1686 LOGD(ERROR, domid, in libxl__device_usbdev_add()
1855 LOGD(ERROR, domid, in libxl__device_usbdev_remove()
1862 rc = do_usbdev_remove(gc, domid, usbdev); in libxl__device_usbdev_remove()
1875 AO_CREATE(ctx, domid, ao_how); in libxl_device_usbdev_remove()
[all …]
A Dlibxl_mem.c60 LOGED(ERROR, domid, in libxl_domain_setmaxmem()
79 LOGED(ERROR, domid, in libxl_domain_setmaxmem()
81 domid, max_memkb + size, rc); in libxl_domain_setmaxmem()
216 if (!target && !domid) { in libxl_set_memory_target()
270 LOGD(ERROR, domid, in libxl_set_memory_target()
279 LOGD(ERROR, domid, in libxl_set_memory_target()
291 LOGED(ERROR, domid, in libxl_set_memory_target()
304 LOGED(ERROR, domid, in libxl_set_memory_target()
317 if (r != 1 || info.domain != domid) { in libxl_set_memory_target()
371 LOGED(ERROR, domid, in libxl__get_memory_target()
[all …]
A Dlibxl_qmp.c74 uint32_t domid; member
103 path = libxl__xs_get_dompath(gc, qmp->domid); in store_serial_port_info()
162 path = libxl__xs_get_dompath(gc, domid); in qmp_write_domain_console_item()
349 qmp->domid = domid; in qmp_init_handler()
443 LOGD(ERROR, qmp->domid, "timeout"); in qmp_next()
697 qmp = qmp_init_handler(gc, domid); in libxl__qmp_initialize()
820 qmp = libxl__qmp_initialize(gc, domid); in qmp_run_command()
853 qmp = libxl__qmp_initialize(gc, domid); in libxl__qmp_pci_add()
908 return qmp_device_del(gc, domid, id); in libxl__qmp_pci_del()
953 int libxl__qmp_stop(libxl__gc *gc, int domid) in libxl__qmp_stop() argument
[all …]
A Dlibxl_console.c129 *domid = stubdomid; in libxl__primary_console_find()
135 *domid = domid_vm; in libxl__primary_console_find()
141 *domid = domid_vm; in libxl__primary_console_find()
160 uint32_t domid; in libxl_primary_console_exec() local
173 uint32_t domid; in libxl_primary_console_get_tty() local
283 device->domid = domid; in libxl__device_console_add()
364 device.domid = domid; in libxl__device_vuart_add()
648 device->domid = domid; in libxl__device_from_vkb()
657 AO_CREATE(ctx, domid, ao_how); in libxl_device_vkb_add()
705 device->domid = domid; in libxl__device_from_vfb()
[all …]
A Dlibxl_dom.c37 if (ret != 1 || info.domain != domid) { in libxl__domain_type()
52 domid); in libxl__domain_type()
60 domid); in libxl__domain_type()
80 if (info.domain != domid) in libxl__domain_cpupool()
90 int cpupool = libxl__domain_cpupool(gc, domid); in libxl__domain_scheduler()
290 domid, in hvm_set_viridian_features()
600 libxl_cpuid_apply_policy(ctx, domid); in libxl__build_post()
606 rc = libxl__ms_vm_genid_set(gc, domid, in libxl__build_post()
623 ents[7] = GCSPRINTF("%d", domid); in libxl__build_post()
634 dom_path = libxl__xs_get_dompath(gc, domid); in libxl__build_post()
[all …]
/xen-4.10.0-shim-comet/tools/libs/devicemodel/include/
A Dxendevicemodel.h53 xendevicemodel_handle *dmod, domid_t domid, int handle_bufioreq,
72 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id,
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);
196 xendevicemodel_handle *dmod, domid_t domid, uint16_t segment,
209 xendevicemodel_handle *dmod, domid_t domid, uint8_t irq,
234 xendevicemodel_handle *dmod, domid_t domid, uint64_t msi_addr,
253 xendevicemodel_handle *dmod, domid_t domid, uint64_t first_pfn,
267 xendevicemodel_handle *dmod, domid_t domid, uint64_t first_pfn,
[all …]
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_tmem.c25 uint32_t domid; in main_tmem_list() local
49 domid = INVALID_DOMID; in main_tmem_list()
51 domid = find_domain(dom); in main_tmem_list()
64 uint32_t domid; in main_tmem_freeze() local
83 domid = INVALID_DOMID; in main_tmem_freeze()
95 uint32_t domid; in main_tmem_thaw() local
114 domid = INVALID_DOMID; in main_tmem_thaw()
126 uint32_t domid; in main_tmem_set() local
160 domid = INVALID_DOMID; in main_tmem_set()
185 uint32_t domid; in main_tmem_shared_auth() local
[all …]
A Dxl_psr.c200 if (domid != INVALID_DOMID) { in psr_cmt_show()
232 uint32_t domid; in main_psr_cmt_attach() local
247 uint32_t domid; in main_psr_cmt_detach() local
263 uint32_t domid; in main_psr_cmt_show() local
282 domid = INVALID_DOMID; in main_psr_cmt_show()
290 ret = psr_cmt_show(type, domid); in main_psr_cmt_show()
380 if (domid != INVALID_DOMID) { in psr_cat_print_domain_cbm()
480 uint32_t domid; in main_psr_cat_cbm_set() local
567 uint32_t domid; in main_psr_cat_show() local
582 domid = INVALID_DOMID; in main_psr_cat_show()
[all …]
A Dxl_mem.c25 static int set_memory_max(uint32_t domid, const char *mem) in set_memory_max() argument
35 if (libxl_domain_setmaxmem(ctx, domid, memorykb)) { in set_memory_max()
45 uint32_t domid; in main_memmax() local
53 domid = find_domain(argv[optind]); in main_memmax()
56 return set_memory_max(domid, mem); in main_memmax()
79 uint32_t domid; in main_memset() local
87 domid = find_domain(argv[optind]); in main_memset()
90 return set_memory_target(domid, mem); in main_memset()
106 info[i].domid, in sharing()
133 uint32_t domid = find_domain(argv[optind]); in main_sharing() local
[all …]
A Dxl_usb.c27 uint32_t domid; in main_usbctrl_attach() local
35 domid = find_domain(argv[optind++]); in main_usbctrl_attach()
56 uint32_t domid; in main_usbctrl_detach() local
64 domid = find_domain(argv[optind]); in main_usbctrl_detach()
86 uint32_t domid; in main_usbdev_attach() local
96 domid = find_domain(argv[optind++]); in main_usbdev_attach()
115 uint32_t domid; in main_usbdev_detach() local
124 domid = find_domain(argv[optind]); in main_usbdev_detach()
152 uint32_t domid; in main_usblist() local
161 domid = find_domain(argv[optind++]); in main_usblist()
[all …]
/xen-4.10.0-shim-comet/tools/misc/
A Dxen-mfndump.c74 int domid; in dump_p2m_func() local
81 domid = atoi(argv[0]); in dump_p2m_func()
84 info.domid != domid ) in dump_p2m_func()
159 int domid, pte_num, rc = 0; in dump_ptes_func() local
167 domid = atoi(argv[0]); in dump_ptes_func()
171 info.domid != domid ) in dump_ptes_func()
267 int domid, pte_num; in lookup_pte_func() local
275 domid = atoi(argv[0]); in lookup_pte_func()
279 info.domid != domid ) in lookup_pte_func()
296 mfn, domid); in lookup_pte_func()
[all …]
/xen-4.10.0-shim-comet/tools/ocaml/libs/xc/
A Dxenctrl.mli17 type domid = int type
53 domid : domid; RecordField
106 val domain_sethandle : handle -> domid -> string -> unit
107 external domain_max_vcpus : handle -> domid -> int -> unit
111 external domain_resume_fast : handle -> domid -> unit
119 external domain_getinfo : handle -> domid -> domaininfo
142 external shadow_allocation_get : handle -> domid -> int
144 external evtchn_alloc_unbound : handle -> domid -> domid -> int
156 handle -> domid -> int64 -> unit
162 handle -> domid -> nativeint -> nativeint array
[all …]
A Dxenctrl_stubs.c152 uint32_t domid = 0; in stub_xc_domain_create() local
196 CAMLreturn(Val_int(domid)); in stub_xc_domain_create()
235 CAMLparam2(xch, domid); in dom_op()
266 CAMLparam2(xch, domid); in stub_xc_domain_resume_fast()
391 CAMLparam2(xch, domid); in stub_xc_domain_getinfo()
557 CAMLparam2(xch, domid); in stub_xc_evtchn_reset()
767 value domid, in stub_xc_domain_set_machine_address_size() argument
783 CAMLparam2(xch, domid); in stub_xc_domain_get_machine_address_size()
835 CAMLparam2(xch, domid); in stub_xc_domain_cpuid_apply_policy()
973 CAMLparam2(xch, domid); in stub_sched_credit_domain_get()
[all …]
/xen-4.10.0-shim-comet/tools/tests/mem-sharing/
A Dmemshrtool.c77 domid_t domid; in main() local
82 domid = strtol(argv[2], NULL, 0); in main()
87 domid_t domid; in main() local
92 domid = strtol(argv[2], NULL, 0); in main()
97 domid_t domid; in main() local
104 domid = strtol(argv[2], NULL, 0); in main()
111 domid_t domid; in main() local
121 domid = strtol(argv[2], NULL, 0); in main()
131 domid_t domid; in main() local
147 domid_t domid; in main() local
[all …]
/xen-4.10.0-shim-comet/tools/libxc/include/
A Dxenctrl_compat.h62 xc_evtchn_bind_unbound_port(xc_evtchn *xce, uint32_t domid);
64 xc_evtchn_bind_interdomain(xc_evtchn *xce, uint32_t domid,
83 uint32_t domid,
93 uint32_t domid,
97 uint32_t domid,
113 void *xc_gntshr_share_pages(xc_gntshr *xcg, uint32_t domid,
115 void *xc_gntshr_share_page_notify(xc_gntshr *xcg, uint32_t domid,
126 xc_interface *xch, uint32_t domid, int handle_bufioreq,
144 xc_interface *xch, uint32_t domid, ioservid_t id);
162 xc_interface *xch, uint32_t domid, hvmmem_type_t type,
[all …]
A Dxenctrl.h442 uint32_t domid; member
547 uint32_t domid);
632 uint32_t domid,
929 uint32_t domid,
1064 uint32_t domid,
1714 uint32_t domid,
1759 uint32_t domid,
1811 uint32_t domid,
1814 uint32_t domid);
1817 uint32_t domid);
[all …]
/xen-4.10.0-shim-comet/tools/libs/devicemodel/
A Dcore.c31 return xendevicemodel_restrict(dmod, domid); in all_restrict_cb()
94 domid_t domid, unsigned int nr_bufs, in xendevicemodel_xcall() argument
123 domid, nr_bufs, (unsigned long)op_bufs); in xendevicemodel_xcall()
160 ret = osdep_xendevicemodel_op(dmod, domid, nr_bufs, bufs); in xendevicemodel_op()
182 rc = xendevicemodel_op(dmod, domid, 1, &op, sizeof(op)); in xendevicemodel_create_ioreq_server()
192 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, in xendevicemodel_get_ioreq_server_info() argument
207 rc = xendevicemodel_op(dmod, domid, 1, &op, sizeof(op)); in xendevicemodel_get_ioreq_server_info()
240 return xendevicemodel_op(dmod, domid, 1, &op, sizeof(op)); in xendevicemodel_map_io_range_to_ioreq_server()
407 xendevicemodel_handle *dmod, domid_t domid, uint8_t irq, in xendevicemodel_set_isa_irq_level() argument
479 xendevicemodel_handle *dmod, domid_t domid, in xendevicemodel_modified_memory_bulk() argument
[all …]

Completed in 69 milliseconds

12345678910>>...13