Lines Matching refs:value

59 static char * dup_String_val(value s)  in dup_String_val()
72 static value Val_error (libxl_error error_c);
78 static value *exc = NULL; in failwith_xl()
96 CAMLprim value stub_raise_exception(value unit) in stub_raise_exception()
103 void ctx_finalize(value ctx) in ctx_finalize()
117 CAMLprim value stub_libxl_ctx_alloc(value logger) in stub_libxl_ctx_alloc()
134 static int list_len(value v) in list_len()
145 value v) in libxl_key_value_list_val()
169 static value Val_key_value_list(libxl_key_value_list *c_val) in Val_key_value_list()
192 static int libxl_string_list_val(libxl_string_list *c_val, value v) in libxl_string_list_val()
211 static value Val_string_list(libxl_string_list *c_val) in Val_string_list()
233 static value Val_some(value v) in Val_some()
242 static value Val_mac (libxl_mac *c_val) in Val_mac()
256 static int Mac_val(libxl_mac *c_val, value v) in Mac_val()
267 static value Val_bitmap (libxl_bitmap *c_val) in Val_bitmap()
287 static int Bitmap_val(libxl_ctx *ctx, libxl_bitmap *c_val, value v) in Bitmap_val()
304 static value Val_uuid (libxl_uuid *c_val) in Val_uuid()
319 static int Uuid_val(libxl_uuid *c_val, value v) in Uuid_val()
331 static value Val_defbool(libxl_defbool c_val) in Val_defbool()
347 static libxl_defbool Defbool_val(value v) in Defbool_val()
360 static value Val_hwcap(libxl_hwcap *c_val) in Val_hwcap()
373 static value Val_ms_vm_genid (libxl_ms_vm_genid *c_val) in Val_ms_vm_genid()
387 static int Ms_vm_genid_val(libxl_ms_vm_genid *c_val, value v) in Ms_vm_genid_val()
398 static value Val_string_option(const char *c_val) in Val_string_option()
411 static char *String_option_val(value v) in String_option_val()
427 static value *func = NULL; in async_callback()
428 value *p = (value *) for_callback; in async_callback()
455 static libxl_asyncop_how *aohow_val(value async) in aohow_val()
459 value *p; in aohow_val()
468 p = malloc(sizeof(value)); in aohow_val()
481 value stub_libxl_domain_create_new(value ctx, value domain_config, value async, value unit) in stub_libxl_domain_create_new()
511 value stub_libxl_domain_create_restore(value ctx, value domain_config, value params, in stub_libxl_domain_create_restore()
512 value async, value unit) in stub_libxl_domain_create_restore()
554 value stub_libxl_domain_shutdown(value ctx, value domid) in stub_libxl_domain_shutdown()
570 value stub_libxl_domain_reboot(value ctx, value domid) in stub_libxl_domain_reboot()
586 value stub_libxl_domain_destroy(value ctx, value domid, value async, value unit) in stub_libxl_domain_destroy()
605 value stub_libxl_domain_suspend(value ctx, value domid, value fd, value async, value unit) in stub_libxl_domain_suspend()
625 value stub_libxl_domain_pause(value ctx, value domid) in stub_libxl_domain_pause()
641 value stub_libxl_domain_unpause(value ctx, value domid) in stub_libxl_domain_unpause()
661 value stub_xl_device_##type##_##op(value ctx, value info, value domid, \
662 value async, value unit) \
697 value stub_xl_device_nic_of_devid(value ctx, value domid, value devid) in DEVICE_ADDREMOVE()
715 value stub_xl_device_nic_list(value ctx, value domid) in stub_xl_device_nic_list()
743 value stub_xl_device_disk_list(value ctx, value domid) in stub_xl_device_disk_list()
771 value stub_xl_device_disk_of_vdev(value ctx, value domid, value vdev) in stub_xl_device_disk_of_vdev()
792 value stub_xl_device_pci_list(value ctx, value domid) in stub_xl_device_pci_list()
821 value stub_xl_device_pci_assignable_add(value ctx, value info, value rebind) in stub_xl_device_pci_assignable_add()
842 value stub_xl_device_pci_assignable_remove(value ctx, value info, value rebind) in stub_xl_device_pci_assignable_remove()
863 value stub_xl_device_pci_assignable_list(value ctx) in stub_xl_device_pci_assignable_list()
892 value stub_xl_physinfo_get(value ctx) in stub_xl_physinfo_get()
913 value stub_xl_cputopology_get(value ctx) in stub_xl_cputopology_get()
943 value stub_xl_dominfo_list(value ctx) in stub_xl_dominfo_list()
972 value stub_xl_dominfo_get(value ctx, value domid) in stub_xl_dominfo_get()
991 value stub_xl_domain_sched_params_get(value ctx, value domid) in stub_xl_domain_sched_params_get()
1013 value stub_xl_domain_sched_params_set(value ctx, value domid, value scinfo) in stub_xl_domain_sched_params_set()
1034 value stub_xl_send_trigger(value ctx, value domid, value trigger, value vcpuid) in stub_xl_send_trigger()
1054 value stub_xl_send_sysrq(value ctx, value domid, value sysrq) in stub_xl_send_sysrq()
1071 value stub_xl_send_debug_keys(value ctx, value keys) in stub_xl_send_debug_keys()
1102 value stub_libxl_xen_console_read_start(value ctx, value clear) in stub_libxl_xen_console_read_start()
1121 static value *exc = NULL; in raise_eof()
1133 value stub_libxl_xen_console_read_line(value ctx, value reader) in stub_libxl_xen_console_read_line()
1155 value stub_libxl_xen_console_read_finish(value ctx, value reader) in stub_libxl_xen_console_read_finish()
1169 short Poll_val(value event) in Poll_val()
1186 short Poll_events_val(value event_list) in Poll_events_val()
1199 value Val_poll(short event) in Val_poll()
1217 value add_event(value event_list, short event) in add_event()
1229 value Val_poll_events(short events) in Val_poll_events()
1262 static value *func = NULL; in fd_register()
1263 value *p = (value *) user; in fd_register()
1264 value *for_app; in fd_register()
1274 args[3] = (value) for_libxl; in fd_register()
1276 for_app = malloc(sizeof(value)); in fd_register()
1305 static value *func = NULL; in fd_modify()
1306 value *p = (value *) user; in fd_modify()
1307 value *for_app = *for_app_registration_update; in fd_modify()
1344 static value *func = NULL; in fd_deregister()
1345 value *p = (value *) user; in fd_deregister()
1346 value *for_app = for_app_registration; in fd_deregister()
1375 value for_app;
1386 static value *func = NULL; in timeout_register()
1387 value *p = (value *) user; in timeout_register()
1412 args[3] = (value) handles; in timeout_register()
1438 static value *func = NULL; in timeout_modify()
1439 value *p = (value *) user; in timeout_modify()
1480 value stub_libxl_osevent_register_hooks(value ctx, value user) in stub_libxl_osevent_register_hooks()
1485 value *p; in stub_libxl_osevent_register_hooks()
1497 p = malloc(sizeof(value)); in stub_libxl_osevent_register_hooks()
1513 value stub_libxl_osevent_occurred_fd(value ctx, value for_libxl, value fd, in stub_libxl_osevent_occurred_fd()
1514 value events, value revents) in stub_libxl_osevent_occurred_fd()
1528 value stub_libxl_osevent_occurred_timeout(value ctx, value handles) in stub_libxl_osevent_occurred_timeout()
1545 value user;
1554 static value *func = NULL; in event_occurs()
1577 static value *func = NULL; in disaster()
1594 value stub_libxl_event_register_callbacks(value ctx, value user) in stub_libxl_event_register_callbacks()
1625 value stub_libxl_evenable_domain_death(value ctx, value domid, value user) in stub_libxl_evenable_domain_death()