Home
last modified time | relevance | path

Searched refs:qemu_xs_handle (Results 1 – 9 of 9) sorted by relevance

/qemu/include/hw/xen/
H A Dxen_backend_ops.h259 struct qemu_xs_handle;
270 struct qemu_xs_handle *(*open)(void);
271 void (*close)(struct qemu_xs_handle *h);
275 void *(*read)(struct qemu_xs_handle *h, xs_transaction_t t,
277 bool (*write)(struct qemu_xs_handle *h, xs_transaction_t t,
279 bool (*create)(struct qemu_xs_handle *h, xs_transaction_t t,
294 static inline struct qemu_xs_handle *qemu_xen_xs_open(void) in qemu_xen_xs_open()
302 static inline void qemu_xen_xs_close(struct qemu_xs_handle *h) in qemu_xen_xs_close()
329 static inline void *qemu_xen_xs_read(struct qemu_xs_handle *h, in qemu_xen_xs_read()
339 static inline bool qemu_xen_xs_write(struct qemu_xs_handle *h, in qemu_xen_xs_write()
[all …]
H A Dxen-bus-helper.h15 void xs_node_create(struct qemu_xs_handle *h, xs_transaction_t tid,
18 void xs_node_destroy(struct qemu_xs_handle *h, xs_transaction_t tid,
22 void xs_node_vprintf(struct qemu_xs_handle *h, xs_transaction_t tid,
26 void xs_node_printf(struct qemu_xs_handle *h, xs_transaction_t tid,
32 int xs_node_vscanf(struct qemu_xs_handle *h, xs_transaction_t tid,
36 int xs_node_scanf(struct qemu_xs_handle *h, xs_transaction_t tid,
42 struct qemu_xs_watch *xs_node_watch(struct qemu_xs_handle *h, const char *node,
45 void xs_node_unwatch(struct qemu_xs_handle *h, struct qemu_xs_watch *w);
H A Dxen-bus.h22 struct qemu_xs_handle *xsh;
63 struct qemu_xs_handle *xsh;
H A Dxen-legacy-backend.h18 extern struct qemu_xs_handle *xenstore;
/qemu/hw/xen/
H A Dxen-operations.c211 struct qemu_xs_handle { struct
218 struct qemu_xs_handle *h = opaque; in watch_event() argument
232 static struct qemu_xs_handle *libxenstore_open(void) in libxenstore_open()
235 struct qemu_xs_handle *h; in libxenstore_open()
241 h = g_new0(struct qemu_xs_handle, 1); in libxenstore_open()
250 static void libxenstore_close(struct qemu_xs_handle *h) in libxenstore_close()
258 static char *libxenstore_get_domain_path(struct qemu_xs_handle *h, in libxenstore_get_domain_path()
264 static char **libxenstore_directory(struct qemu_xs_handle *h, in libxenstore_directory()
356 static struct qemu_xs_watch *libxenstore_watch(struct qemu_xs_handle *h, in libxenstore_watch()
373 static void libxenstore_unwatch(struct qemu_xs_handle *h, in libxenstore_unwatch()
[all …]
H A Dxen-bus-helper.c50 void xs_node_create(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_create()
61 void xs_node_destroy(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_destroy()
71 void xs_node_vprintf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_vprintf()
93 void xs_node_printf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_printf()
104 int xs_node_vscanf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_vscanf()
131 int xs_node_scanf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_scanf()
145 struct qemu_xs_watch *xs_node_watch(struct qemu_xs_handle *h, const char *node, in xs_node_watch()
167 void xs_node_unwatch(struct qemu_xs_handle *h, struct qemu_xs_watch *w) in xs_node_unwatch()
H A Dxen-legacy-backend.c42 struct qemu_xs_handle *xenstore;
/qemu/hw/i386/kvm/
H A Dxen_xenstore.c1499 struct qemu_xs_handle { struct
1506 struct qemu_xs_handle *h; argument
1542 static void *xs_be_read(struct qemu_xs_handle *h, xs_transaction_t t, in xs_be_read()
1564 static bool xs_be_write(struct qemu_xs_handle *h, xs_transaction_t t, in xs_be_write()
1580 static bool xs_be_create(struct qemu_xs_handle *h, xs_transaction_t t, in xs_be_create()
1625 struct qemu_xs_handle *h = _h; in be_watch_bh()
1654 static struct qemu_xs_watch *xs_be_watch(struct qemu_xs_handle *h, in xs_be_watch()
1709 static struct qemu_xs_handle *xs_be_open(void) in xs_be_open()
1712 struct qemu_xs_handle *h; in xs_be_open()
1719 h = g_new0(struct qemu_xs_handle, 1); in xs_be_open()
[all …]
/qemu/hw/char/
H A Dxen_console.c465 static char *console_frontend_path(struct qemu_xs_handle *xenstore, in console_frontend_path()
539 struct qemu_xs_handle *xsh = xenbus->xsh; in type_init()