Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 99) sorted by relevance

1234

/xen-4.10.0-shim-comet/tools/ocaml/libs/xc/
A Dxenctrl.mli68 handle : int array; RecordField
97 type handle type
104 val with_intf : (handle -> 'a) -> 'a
111 external domain_resume_fast : handle -> domid -> unit
119 external domain_getinfo : handle -> domid -> domaininfo
135 external sched_id : handle -> int = "stub_xc_sched_id"
156 handle -> domid -> int64 -> unit
162 handle -> domid -> nativeint -> nativeint array
173 external version_compile_info : handle -> compile_info
176 external version_capabilities : handle -> string
[all …]
A Dxenctrl.ml76 handle : int array; RecordField
127 type handle type
158 let domain_create handle n flags uuid =
164 let domain_sethandle handle n uuid =
181 let domain_getinfolist handle first_domain =
185 let l = _domain_getinfolist handle from nb in
210 external sched_id: handle -> int = "stub_xc_sched_id"
251 external map_foreign_range: handle -> domid -> int
266 external version_compile_info: handle -> compile_info
269 external version_capabilities: handle -> string =
[all …]
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_altp2m.c32 arg = xc_hypercall_buffer_alloc(handle, arg, sizeof(*arg)); in xc_altp2m_get_domain_state()
46 xc_hypercall_buffer_free(handle, arg); in xc_altp2m_get_domain_state()
55 arg = xc_hypercall_buffer_alloc(handle, arg, sizeof(*arg)); in xc_altp2m_set_domain_state()
67 xc_hypercall_buffer_free(handle, arg); in xc_altp2m_set_domain_state()
78 arg = xc_hypercall_buffer_alloc(handle, arg, sizeof(*arg)); in xc_altp2m_set_vcpu_enable_notify()
91 xc_hypercall_buffer_free(handle, arg); in xc_altp2m_set_vcpu_enable_notify()
117 xc_hypercall_buffer_free(handle, arg); in xc_altp2m_create_view()
139 xc_hypercall_buffer_free(handle, arg); in xc_altp2m_destroy_view()
162 xc_hypercall_buffer_free(handle, arg); in xc_altp2m_switch_to_view()
187 xc_hypercall_buffer_free(handle, arg); in xc_altp2m_set_mem_access()
[all …]
A Dxc_tmem.c325 struct tmem_handle handle; in xc_tmem_save_extra() local
333 sizeof(handle),0,&handle) > 0 ) { in xc_tmem_save_extra()
334 if ( write_exact(io_fd, &handle.pool_id, sizeof(handle.pool_id)) ) in xc_tmem_save_extra()
336 if ( write_exact(io_fd, &handle.oid, sizeof(handle.oid)) ) in xc_tmem_save_extra()
338 if ( write_exact(io_fd, &handle.index, sizeof(handle.index)) ) in xc_tmem_save_extra()
341 checksum += handle.pool_id + handle.oid.oid[0] + handle.oid.oid[1] + in xc_tmem_save_extra()
342 handle.oid.oid[2] + handle.index; in xc_tmem_save_extra()
/xen-4.10.0-shim-comet/xen/drivers/char/
A Dserial.c201 if ( handle == -1 ) in serial_putc()
232 if ( handle == -1 ) in serial_puts()
266 if ( handle == -1 ) in serial_getc()
304 int handle, flags = 0; in serial_parse_handle() local
347 com[handle].driver->init_postirq(&com[handle]); in serial_parse_handle()
362 if ( handle == -1 ) in serial_set_rx_handler()
404 if ( handle == -1 ) in serial_force_unlock()
420 if ( handle == -1 ) in serial_start_sync()
455 if ( handle == -1 ) in serial_end_sync()
472 if ( handle == -1 ) in serial_start_log_everything()
[all …]
/xen-4.10.0-shim-comet/tools/xenstat/libxenstat/src/
A Dxenstat_netbsd.c42 get_priv_data(xenstat_handle *handle) in get_priv_data() argument
44 if (handle->priv != NULL) in get_priv_data()
45 return handle->priv; in get_priv_data()
47 handle->priv = malloc(sizeof(struct priv_data)); in get_priv_data()
48 if (handle->priv == NULL) in get_priv_data()
52 ((struct priv_data *)handle->priv)->sysfsvbd = NULL; in get_priv_data()
54 return handle->priv; in get_priv_data()
72 void xenstat_uninit_networks(xenstat_handle * handle) in xenstat_uninit_networks() argument
74 struct priv_data *priv = get_priv_data(handle); in xenstat_uninit_networks()
92 void xenstat_uninit_vbds(xenstat_handle * handle) in xenstat_uninit_vbds() argument
[all …]
A Dxenstat.c84 xenstat_handle *handle; in xenstat_init() local
87 if (handle == NULL) in xenstat_init()
98 free(handle); in xenstat_init()
106 free(handle); in xenstat_init()
114 free(handle); in xenstat_init()
118 return handle; in xenstat_init()
124 if (handle) { in xenstat_uninit()
129 free(handle->priv); in xenstat_uninit()
130 free(handle); in xenstat_uninit()
177 node->handle = handle; in xenstat_get_node()
[all …]
A Dxenstat_solaris.c46 static priv_data_t *get_priv_data(xenstat_handle *handle) in get_priv_data() argument
48 priv_data_t *priv = handle->priv; in get_priv_data()
65 handle->priv = priv; in get_priv_data()
66 return handle->priv; in get_priv_data()
100 priv_data_t *priv = get_priv_data(handle); in xenstat_uninit_devs()
271 priv_data_t *priv = get_priv_data(node->handle); in xenstat_collect_networks()
292 void xenstat_uninit_networks(xenstat_handle *handle) in xenstat_uninit_networks() argument
294 xenstat_uninit_devs(handle, DEVICE_NIC); in xenstat_uninit_networks()
381 priv_data_t *priv = get_priv_data(node->handle); in xenstat_collect_vbds()
402 void xenstat_uninit_vbds(xenstat_handle * handle) in xenstat_uninit_vbds() argument
[all …]
A Dxenstat_linux.c43 get_priv_data(xenstat_handle *handle) in get_priv_data() argument
45 if (handle->priv != NULL) in get_priv_data()
46 return handle->priv; in get_priv_data()
48 handle->priv = malloc(sizeof(struct priv_data)); in get_priv_data()
49 if (handle->priv == NULL) in get_priv_data()
52 ((struct priv_data *)handle->priv)->procnetdev = NULL; in get_priv_data()
53 ((struct priv_data *)handle->priv)->sysfsvbd = NULL; in get_priv_data()
55 return handle->priv; in get_priv_data()
383 struct priv_data *priv = get_priv_data(handle); in xenstat_uninit_networks()
496 void xenstat_uninit_vbds(xenstat_handle * handle) in xenstat_uninit_vbds() argument
[all …]
A Dxenstat_priv.h44 xenstat_handle *handle; member
109 extern void xenstat_uninit_networks(xenstat_handle * handle);
111 extern void xenstat_uninit_vbds(xenstat_handle * handle);
A Dxenstat_freebsd.c33 void xenstat_uninit_networks(xenstat_handle * handle) in xenstat_uninit_networks() argument
45 void xenstat_uninit_vbds(xenstat_handle * handle) in xenstat_uninit_vbds() argument
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/
A Dpmm.c92 uint32_t handle; member
98 uint32_t handle; member
173 mb->handle = handle; in set_inuse()
179 mb->handle = PMM_HANDLE_ANONYMOUS; in set_avail()
349 if ( (handle != PMM_HANDLE_ANONYMOUS) && (mb->handle == handle) ) in first_fit()
362 if ( handle == PMM_HANDLE_ANONYMOUS ) in pmm_find_handle()
366 if ( mb->handle == handle ) in pmm_find_handle()
435 if (nb->handle == handle) in pmmAllocate()
440 set_inuse(mb, handle); in pmmAllocate()
453 pmmFind(uint32_t handle) in pmmFind() argument
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/control/
A Dtap-ctl-allocate.c162 struct blktap2_handle handle; in tap_ctl_allocate_device() local
187 err = tap_ctl_make_device(name, handle.ring, in tap_ctl_allocate_device()
188 handle.minor, S_IFCHR | 0600); in tap_ctl_allocate_device()
192 handle.minor, err); in tap_ctl_allocate_device()
200 BLKTAP2_IO_DEVICE, handle.minor); in tap_ctl_allocate_device()
208 err = tap_ctl_make_device(name, handle.device, in tap_ctl_allocate_device()
209 handle.minor, S_IFBLK | 0600); in tap_ctl_allocate_device()
212 handle.minor, err); in tap_ctl_allocate_device()
217 handle.ring, handle.device, handle.minor); in tap_ctl_allocate_device()
219 *minor = handle.minor; in tap_ctl_allocate_device()
[all …]
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Devent.ml19 handle: Xeneventchn.handle; RecordField
23 let init () = { handle = Xeneventchn.init (); virq_port = None; }
24 let fd eventchn = Xeneventchn.fd eventchn.handle
25 …_dom_exc_virq eventchn = eventchn.virq_port <- Some (Xeneventchn.bind_dom_exc_virq eventchn.handle)
26 let bind_interdomain eventchn domid port = Xeneventchn.bind_interdomain eventchn.handle domid port
27 let unbind eventchn port = Xeneventchn.unbind eventchn.handle port
28 let notify eventchn port = Xeneventchn.notify eventchn.handle port
29 let pending eventchn = Xeneventchn.pending eventchn.handle
30 let unmask eventchn port = Xeneventchn.unmask eventchn.handle port
/xen-4.10.0-shim-comet/xen/include/xen/
A Dserial.h19 void serial_set_rx_handler(int handle, serial_rx_fn fn);
113 void serial_putc(int handle, char c);
116 void serial_puts(int handle, const char *s);
123 char serial_getc(int handle);
127 void serial_force_unlock(int handle);
130 void serial_start_sync(int handle);
131 void serial_end_sync(int handle);
134 void serial_start_log_everything(int handle);
135 void serial_end_log_everything(int handle);
/xen-4.10.0-shim-comet/tools/ocaml/libs/eventchn/
A Dxeneventchn.ml17 type handle type
19 external init: unit -> handle = "stub_eventchn_init"
20 external fd: handle -> Unix.file_descr = "stub_eventchn_fd"
24 external notify: handle -> int -> unit = "stub_eventchn_notify"
25 external bind_interdomain: handle -> int -> int -> int = "stub_eventchn_bind_interdomain"
26 external bind_dom_exc_virq: handle -> int = "stub_eventchn_bind_dom_exc_virq"
27 external unbind: handle -> int -> unit = "stub_eventchn_unbind"
28 external pending: handle -> int = "stub_eventchn_pending"
29 external unmask: handle -> int -> unit = "stub_eventchn_unmask"
A Dxeneventchn.mli19 type handle type
29 val init: unit -> handle
33 val fd: handle -> Unix.file_descr
38 val notify : handle -> t -> unit
42 val bind_interdomain : handle -> int -> int -> t
47 val bind_dom_exc_virq : handle -> t
52 val unbind : handle -> t -> unit
56 val pending : handle -> t
60 val unmask : handle -> t -> unit
/xen-4.10.0-shim-comet/tools/ocaml/libs/xentoollog/
A Dxentoollog_stubs.c39 #define XTL ((xentoollog_logger *) Xtl_val(handle))
148 void xtl_finalize(value handle) in xtl_finalize() argument
166 CAMLlocal1(handle); in stub_xtl_create_logger()
180 handle = caml_alloc_custom(&xentoollogger_custom_operations, sizeof(xtl), 0, 1); in stub_xtl_create_logger()
181 Xtl_val(handle) = xtl; in stub_xtl_create_logger()
183 CAMLreturn(handle); in stub_xtl_create_logger()
187 CAMLprim value stub_xtl_test(value handle) in stub_xtl_test() argument
190 CAMLparam1(handle); in stub_xtl_test()
A Dxentoollog.mli.in21 type handle type
37 (*destroy : handle -> unit*)
40 external test: handle -> unit = "stub_xtl_test"
42 val create : string -> logger_cbs -> handle
/xen-4.10.0-shim-comet/xen/common/
A Dkeyhandler.c311 d->handle[ 0], d->handle[ 1], d->handle[ 2], d->handle[ 3], in dump_domains()
312 d->handle[ 4], d->handle[ 5], d->handle[ 6], d->handle[ 7], in dump_domains()
313 d->handle[ 8], d->handle[ 9], d->handle[10], d->handle[11], in dump_domains()
314 d->handle[12], d->handle[13], d->handle[14], d->handle[15], in dump_domains()
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Dmgmt_authority.c102 static int do_load_aik(struct mem_group *group, TPM_HANDLE *handle) in do_load_aik() argument
279 TPM_HANDLE handle; in group_do_activate() local
289 rc = do_load_aik(group, &handle); in group_do_activate()
295 TPM_TerminateHandle(handle); in group_do_activate()
302 TPM_TerminateHandle(handle); in group_do_activate()
306 rc = TPM_ActivateIdentity(handle, blob, blobSize, (void*)&group->aik_authdata, in group_do_activate()
311 TPM_TerminateHandle(handle); in group_do_activate()
327 TPM_HANDLE handle; in vtpm_do_quote() local
360 rc = do_load_aik(group, &handle); in vtpm_do_quote()
366 TPM_TerminateHandle(handle); in vtpm_do_quote()
[all …]
/xen-4.10.0-shim-comet/tools/tests/mem-sharing/
A Dmemshrtool.c99 uint64_t handle; in main() local
106 R(xc_memshr_nominate_gfn(xch, domid, gfn, &handle)); in main()
107 printf("handle = 0x%08llx\n", (unsigned long long) handle); in main()
113 uint64_t handle; in main() local
123 handle = strtol(argv[4], NULL, 0); in main()
127 R(xc_memshr_share_gfns(xch, source_domid, source_gfn, source_handle, domid, gfn, handle)); in main()
/xen-4.10.0-shim-comet/tools/memshr/
A Dbidir-daemon.c60 next_remove.handle = 0; in bidir_daemon()
64 if ( next_remove.handle == 0 ) in bidir_daemon()
75 next_remove.handle, ret); in bidir_daemon()
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A Dsmbios.c391 p->header.handle = SMBIOS_HANDLE_TYPE0; in smbios_type_0_init()
399 p->header.handle = SMBIOS_HANDLE_TYPE0; in smbios_type_0_init()
450 p->header.handle = SMBIOS_HANDLE_TYPE1; in smbios_type_1_init()
458 p->header.handle = SMBIOS_HANDLE_TYPE1; in smbios_type_1_init()
508 p->header.handle = SMBIOS_HANDLE_TYPE2; in smbios_type_2_init()
547 p->header.handle = SMBIOS_HANDLE_TYPE3; in smbios_type_3_init()
659 p->header.handle = SMBIOS_HANDLE_TYPE11; in smbios_type_11_init()
697 p->header.handle = SMBIOS_HANDLE_TYPE16; in smbios_type_16_init()
822 p->header.handle = SMBIOS_HANDLE_TYPE22; in smbios_type_22_init()
871 p->header.handle = SMBIOS_HANDLE_TYPE32; in smbios_type_32_init()
[all …]
/xen-4.10.0-shim-comet/xen/include/public/io/
A Dblkif.h630 blkif_vdev_t handle; /* only for read/write requests */ member
645 blkif_vdev_t handle; /* same as for read/write requests */ member
658 blkif_vdev_t handle; /* same as for read/write requests */ member

Completed in 42 milliseconds

1234