Lines Matching refs:XenXenstoreState

43 OBJECT_DECLARE_SIMPLE_TYPE(XenXenstoreState, XEN_XENSTORE)
50 struct XenXenstoreState { struct
78 struct XenXenstoreState *xen_xenstore_singleton; argument
85 static void G_GNUC_PRINTF (4, 5) relpath_printf(XenXenstoreState *s, in relpath_printf()
116 XenXenstoreState *s = XEN_XENSTORE(dev); in xen_xenstore_realize()
192 XenXenstoreState *s = opaque; in xen_xenstore_pre_save()
210 XenXenstoreState *s = opaque; in xen_xenstore_post_load()
247 VMSTATE_UINT8_ARRAY(req_data, XenXenstoreState,
248 sizeof_field(XenXenstoreState, req_data)),
249 VMSTATE_UINT8_ARRAY(rsp_data, XenXenstoreState,
250 sizeof_field(XenXenstoreState, rsp_data)),
251 VMSTATE_UINT32(req_offset, XenXenstoreState),
252 VMSTATE_UINT32(rsp_offset, XenXenstoreState),
253 VMSTATE_BOOL(rsp_pending, XenXenstoreState),
254 VMSTATE_UINT32(guest_port, XenXenstoreState),
255 VMSTATE_BOOL(fatal_error, XenXenstoreState),
256 VMSTATE_UINT32(impl_state_size, XenXenstoreState),
257 VMSTATE_VARRAY_UINT32_ALLOC(impl_state, XenXenstoreState,
275 .instance_size = sizeof(XenXenstoreState),
300 XenXenstoreState *s = xen_xenstore_singleton; in type_init()
307 static bool req_pending(XenXenstoreState *s) in req_pending()
314 static void reset_req(XenXenstoreState *s) in reset_req()
320 static void reset_rsp(XenXenstoreState *s) in reset_rsp()
328 static void xs_error(XenXenstoreState *s, unsigned int id, in xs_error()
354 static void xs_ok(XenXenstoreState *s, unsigned int type, unsigned int req_id, in xs_ok()
503 static void xs_read(XenXenstoreState *s, unsigned int req_id, in xs_read()
539 static void xs_write(XenXenstoreState *s, unsigned int req_id, in xs_write()
576 static void xs_mkdir(XenXenstoreState *s, unsigned int req_id, in xs_mkdir()
605 static void xs_append_strings(XenXenstoreState *s, struct xsd_sockmsg *rsp, in xs_append_strings()
647 static void xs_directory(XenXenstoreState *s, unsigned int req_id, in xs_directory()
680 static void xs_directory_part(XenXenstoreState *s, unsigned int req_id, in xs_directory_part()
745 static void xs_transaction_start(XenXenstoreState *s, unsigned int req_id, in xs_transaction_start()
776 static void xs_transaction_end(XenXenstoreState *s, unsigned int req_id, in xs_transaction_end()
810 static void xs_rm(XenXenstoreState *s, unsigned int req_id, in xs_rm()
831 static void xs_get_perms(XenXenstoreState *s, unsigned int req_id, in xs_get_perms()
862 static void xs_set_perms(XenXenstoreState *s, unsigned int req_id, in xs_set_perms()
912 static void xs_watch(XenXenstoreState *s, unsigned int req_id, in xs_watch()
962 static void xs_unwatch(XenXenstoreState *s, unsigned int req_id, in xs_unwatch()
1005 static void xs_reset_watches(XenXenstoreState *s, unsigned int req_id, in xs_reset_watches()
1020 static void xs_priv(XenXenstoreState *s, unsigned int req_id, in xs_priv()
1027 static void xs_unimpl(XenXenstoreState *s, unsigned int req_id, in xs_unimpl()
1034 typedef void (*xs_impl)(XenXenstoreState *s, unsigned int req_id,
1067 static void process_req(XenXenstoreState *s) in process_req()
1088 static unsigned int copy_from_ring(XenXenstoreState *s, uint8_t *ptr, in copy_from_ring()
1147 static unsigned int copy_to_ring(XenXenstoreState *s, uint8_t *ptr, in copy_to_ring()
1207 static unsigned int get_req(XenXenstoreState *s) in get_req()
1246 static unsigned int put_rsp(XenXenstoreState *s) in put_rsp()
1271 static void deliver_watch(XenXenstoreState *s, const char *path, in deliver_watch()
1329 static void queue_watch(XenXenstoreState *s, const char *path, in queue_watch()
1342 XenXenstoreState *s = opaque; in fire_watch_cb()
1370 static void process_watch_events(XenXenstoreState *s) in process_watch_events()
1382 XenXenstoreState *s = opaque; in xen_xenstore_event()
1423 static void alloc_guest_port(XenXenstoreState *s) in alloc_guest_port()
1437 XenXenstoreState *s = xen_xenstore_singleton; in xen_xenstore_reset()
1711 XenXenstoreState *s = xen_xenstore_singleton; in xs_be_open()