Home
last modified time | relevance | path

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

12345678910>>...13

/xen/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.c709 .domid = domid, in xc_domain_set_memory_map()
904 .domid = domid in xc_domain_increase_reservation()
962 .domid = domid in xc_domain_decrease_reservation()
1018 .domid = domid, in xc_domain_add_to_physmap()
1041 .domid = domid, in xc_domain_add_to_physmap_batch()
1076 .domid = domid, in xc_domain_remove_from_physmap()
1091 .domid = domid in xc_domain_claim_pages()
1116 .domid = domid in xc_domain_populate_physmap()
1215 .domid = domid, in xc_domain_pod_target()
2035 info.domid != domid ) in xc_domain_memory_mapping()
[all …]
A Dxc_suspend.c38 static void get_suspend_file(char buf[], uint32_t domid) in get_suspend_file() argument
40 snprintf(buf, SUSPEND_FILE_BUFLEN, SUSPEND_LOCK_FILE, domid); in get_suspend_file()
43 static int lock_suspend_event(xc_interface *xch, uint32_t domid, int *lockfd) in lock_suspend_event() argument
50 get_suspend_file(suspend_file, domid); in lock_suspend_event()
111 get_suspend_file(suspend_file, domid); in unlock_suspend_event()
156 return unlock_suspend_event(xch, domid, lockfd); in xc_suspend_evtchn_release()
160 uint32_t domid, int port, int *lockfd) in xc_suspend_evtchn_init_sane() argument
164 if (lock_suspend_event(xch, domid, lockfd)) { in xc_suspend_evtchn_init_sane()
169 suspend_evtchn = xenevtchn_bind_interdomain(xce, domid, port); in xc_suspend_evtchn_init_sane()
175 rc = xc_domain_subscribe_for_suspend(xch, domid, port); in xc_suspend_evtchn_init_sane()
[all …]
/xen/tools/libxl/
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()
434 if (rc != 1 || info.domain != domid) in sched_credit2_domain_set()
650 r = xc_sched_rtds_vcpu_set(CTX->xch, domid, in sched_rtds_vcpu_set()
702 r = xc_sched_rtds_vcpu_set(CTX->xch, domid, in sched_rtds_vcpu_set_all()
798 LOGD(ERROR, domid, "Unknown scheduler"); in libxl_domain_sched_params_set()
833 LOGD(ERROR, domid, "Unknown scheduler"); in libxl_vcpu_sched_params_set()
868 LOGD(ERROR, domid, "Unknown scheduler"); in libxl_vcpu_sched_params_set_all()
905 LOGD(ERROR, domid, "Unknown scheduler"); in libxl_domain_sched_params_get()
[all …]
A Dlibxl.h1555 uint32_t *domid,
1571 uint32_t *domid, int restore_fd, in libxl_domain_create_restore_0x040200() argument
1595 uint32_t *domid, int restore_fd, in libxl_domain_create_restore_0x040400() argument
1611 uint32_t domid,
1693 return libxl_domain_reboot(ctx, domid, NULL); in libxl_domain_reboot_0x041200()
1732 libxl_ctx *ctx, uint32_t domid) in libxl_domain_pause_0x041200() argument
1734 return libxl_domain_pause(ctx, domid, NULL); in libxl_domain_pause_0x041200()
1737 libxl_ctx *ctx, uint32_t domid) in libxl_domain_unpause_0x041200() argument
1865 uint32_t domid);
2579 int libxl_domid_valid_guest(uint32_t domid);
[all …]
A Dlibxl_domain.c189 dmrs->domid = domid; in libxl_domain_resume()
457 dss->domid = domid; in libxl_domain_remus_start()
526 dss->domid = domid; in libxl_domain_suspend()
567 dsps->domid = domid; in libxl_domain_suspend_only()
708 dmrs->domid = domid; in libxl_domain_unpause()
991 evg->domid = domid; in libxl_evenable_domain_death()
1050 dds->domid = domid; in libxl_domain_destroy()
1280 dis->drs.domid = domid; in dm_destroy_cb()
1801 svos->qmp.domid = domid; in libxl_set_vcpuonline()
1968 qmp->domid = domid; in domain_s3_resume()
[all …]
A Dlibxl_dom_suspend.c31 const uint32_t domid = dsps->domid; in libxl__domain_suspend_init() local
47 port = xs_suspend_evtchn_port(domid); in libxl__domain_suspend_init()
77 uint32_t const domid = dsps->domid; in libxl__domain_suspend_device_model() local
98 LOGD(ERROR, dsps->domid, in libxl__domain_suspend_device_model()
150 const uint32_t domid = dsps->domid; in domain_suspend_callback_common() local
259 LOGD(ERROR, dsps->domid, in domain_suspend_common_pvcontrol_suspending()
323 const uint32_t domid = dsps->domid; in suspend_common_wait_guest_check() local
510 libxl_domid domid = dmrs->domid; in libxl__dm_resume() local
545 qmp->domid = domid; in libxl__dm_resume()
608 LOGD(ERROR, dmrs->domid, in dm_resume_done()
[all …]
A Dlibxl_tmem.c21 char *libxl_tmem_list(libxl_ctx *ctx, uint32_t domid, int use_long) in libxl_tmem_list() argument
24 LOGED(ERROR, domid, "Can not get tmem list"); in libxl_tmem_list()
29 int libxl_tmem_freeze(libxl_ctx *ctx, uint32_t domid) in libxl_tmem_freeze() argument
32 LOGED(ERROR, domid, "Can not freeze tmem pools"); in libxl_tmem_freeze()
37 int libxl_tmem_thaw(libxl_ctx *ctx, uint32_t domid) in libxl_tmem_thaw() argument
40 LOGED(ERROR, domid, "Can not thaw tmem pools"); in libxl_tmem_thaw()
45 int libxl_tmem_set(libxl_ctx *ctx, uint32_t domid, char* name, uint32_t set) in libxl_tmem_set() argument
48 LOGED(ERROR, domid, "Can not set tmem %s", name); in libxl_tmem_set()
53 int libxl_tmem_shared_auth(libxl_ctx *ctx, uint32_t domid, in libxl_tmem_shared_auth() argument
57 LOGED(ERROR, domid, "Can not set tmem shared auth"); in libxl_tmem_shared_auth()
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()
305 LOGED(ERROR, domid, in libxl_set_memory_target()
319 if (r != 1 || info.domain != domid) { in libxl_set_memory_target()
373 LOGED(ERROR, domid, in libxl__get_memory_target()
[all …]
A Dlibxl_dom_save.c71 switch (libxl__device_model_version_running(gc, domid)) { in libxl__domain_common_switch_qemu_logdirty()
80 LOGD(ERROR, domid, "logdirty switch failed" in libxl__domain_common_switch_qemu_logdirty()
96 uint32_t dm_domid = libxl_get_stubdom_id(CTX, domid); in domain_suspend_switch_qemu_xen_traditional_logdirty()
225 qmp->domid = domid; in domain_suspend_switch_qemu_xen_logdirty()
246 LOGD(ERROR, qmp->domid, in switch_qemu_xen_logdirty_done()
336 const uint32_t domid = dss->domid; in libxl__save_emulator_xenstore_data() local
339 xs_root = DEVICE_MODEL_XS_PATH(gc, dm_domid, domid, ""); in libxl__save_emulator_xenstore_data()
384 const uint32_t domid = dss->domid; in libxl__domain_save() local
406 dsps->domid = domid; in libxl__domain_save()
459 const uint32_t domid = dss->domid; in domain_save_done() local
[all …]
/xen/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/tools/misc/
A Dxen-mfndump.c71 int domid; in dump_p2m_func() local
78 domid = atoi(argv[0]); in dump_p2m_func()
81 info.domid != domid ) in dump_p2m_func()
156 int domid, pte_num, rc = 0; in dump_ptes_func() local
164 domid = atoi(argv[0]); in dump_ptes_func()
168 info.domid != domid ) in dump_ptes_func()
264 int domid, pte_num; in lookup_pte_func() local
272 domid = atoi(argv[0]); in lookup_pte_func()
276 info.domid != domid ) in lookup_pte_func()
293 mfn, domid); in lookup_pte_func()
[all …]
/xen/tools/xl/
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()
537 uint32_t domid; in main_psr_mba_show() local
544 domid = INVALID_DOMID; in main_psr_mba_show()
557 uint32_t domid; in main_psr_mba_set() local
637 uint32_t domid; in main_psr_cat_cbm_set() local
724 uint32_t domid; in main_psr_cat_show() local
[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 …]
A Dxl_sched.c144 if (domid < 0) { in sched_credit_domain_output()
157 domid, in sched_credit_domain_output()
212 if (domid < 0) { in sched_credit2_domain_output()
225 domid, in sched_credit2_domain_output()
250 int domid) in sched_rtds_domain_output() argument
255 if (domid < 0) { in sched_rtds_domain_output()
269 domid, in sched_rtds_domain_output()
284 if (domid < 0) { in sched_rtds_vcpu_output()
298 domid, in sched_rtds_vcpu_output()
315 if (domid < 0) { in sched_rtds_vcpu_output_all()
[all …]
/xen/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.h451 uint32_t domid; member
554 uint32_t domid);
639 uint32_t domid,
911 uint32_t domid,
936 uint32_t domid,
949 uint32_t domid,
1071 uint32_t domid,
1687 uint32_t domid,
1692 uint32_t domid,
1703 uint32_t domid,
[all …]
/xen/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/tools/libs/devicemodel/
A Dcore.c31 return xendevicemodel_restrict(dmod, domid); in all_restrict_cb()
95 domid_t domid, unsigned int nr_bufs, in xendevicemodel_xcall() argument
124 domid, nr_bufs, (unsigned long)op_bufs); in xendevicemodel_xcall()
161 ret = osdep_xendevicemodel_op(dmod, domid, nr_bufs, bufs); in xendevicemodel_op()
183 rc = xendevicemodel_op(dmod, domid, 1, &op, sizeof(op)); in xendevicemodel_create_ioreq_server()
193 xendevicemodel_handle *dmod, domid_t domid, ioservid_t id, in xendevicemodel_get_ioreq_server_info() argument
216 rc = xendevicemodel_op(dmod, domid, 1, &op, sizeof(op)); in xendevicemodel_get_ioreq_server_info()
249 return xendevicemodel_op(dmod, domid, 1, &op, sizeof(op)); in xendevicemodel_map_io_range_to_ioreq_server()
416 xendevicemodel_handle *dmod, domid_t domid, uint8_t irq, in xendevicemodel_set_isa_irq_level() argument
488 xendevicemodel_handle *dmod, domid_t domid, in xendevicemodel_modified_memory_bulk() argument
[all …]
/xen/tools/ocaml/libs/xc/
A Dxenctrl.ml18 type domid = int type
86 domid : domid; RecordField
181 external domain_create: handle -> domctl_create_config -> domid
184 external domain_sethandle: handle -> domid -> string -> unit
187 external domain_max_vcpus: handle -> domid -> int -> unit
203 let last_domid l = (List.hd l).domid + 1 in
227 external vcpu_context_get: handle -> domid -> int -> string
239 external shadow_allocation_get: handle -> domid -> int
242 external evtchn_alloc_unbound: handle -> domid -> domid -> int
252 external domain_setmaxmem: handle -> domid -> int64 -> unit
[all …]
A Dxenctrl.mli17 type domid = int type
77 domid : domid; RecordField
146 external domain_max_vcpus : handle -> domid -> int -> unit
150 external domain_resume_fast : handle -> domid -> unit
157 val domain_getinfolist : handle -> domid -> domaininfo list
158 external domain_getinfo : handle -> domid -> domaininfo
172 external vcpu_context_get : handle -> domid -> int -> string
181 external shadow_allocation_get : handle -> domid -> int
183 external evtchn_alloc_unbound : handle -> domid -> domid -> int
190 external domain_setmaxmem : handle -> domid -> int64 -> unit
[all …]
A Dxenctrl_stubs.c194 uint32_t domid = 0; in stub_xc_domain_create() local
262 CAMLreturn(Val_int(domid)); in stub_xc_domain_create()
296 CAMLparam2(xch, domid); in dom_op()
299 uint32_t c_domid = _D(domid); in dom_op()
327 CAMLparam2(xch, domid); in stub_xc_domain_resume_fast()
450 CAMLparam2(xch, domid); in stub_xc_domain_getinfo()
494 CAMLparam3(xch, domid, cpu); in stub_xc_vcpu_context_get()
618 CAMLparam2(xch, domid); in stub_xc_evtchn_reset()
950 CAMLparam2(xch, domid); in stub_sched_credit_domain_get()
988 CAMLparam2(xch, domid); in stub_shadow_allocation_get()
[all …]
/xen/tools/xenstore/
A Dxenstored_domain.c52 unsigned int domid; member
224 dominfo->domid == domid; in get_domain_info()
298 return domid != 0 && domid != priv_domid; in domid_is_unprivileged()
327 if (i->domid == domid) in find_domain_struct()
343 domain->domid = domid; in alloc_domain()
426 unsigned int domid; in do_introduce() local
437 domid = atoi(vec[0]); in do_introduce()
509 domid = atoi(vec[0]); in do_set_target()
532 unsigned int domid; in onearg_domain() local
538 if (!domid) in onearg_domain()
[all …]

Completed in 58 milliseconds

12345678910>>...13