Home
last modified time | relevance | path

Searched refs:xsh (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/xen/
H A Dxen-bus.c67 tid = qemu_xen_xs_transaction_start(xenbus->xsh); in xen_device_unplug()
73 xs_node_printf(xenbus->xsh, tid, xendev->backend_path, "online", in xen_device_unplug()
79 xs_node_printf(xenbus->xsh, tid, xendev->backend_path, "state", in xen_device_unplug()
85 if (!qemu_xen_xs_transaction_end(xenbus->xsh, tid, false)) { in xen_device_unplug()
100 qemu_xen_xs_transaction_end(xenbus->xsh, tid, true); in xen_device_unplug()
129 tid = qemu_xen_xs_transaction_start(xenbus->xsh); in xen_bus_backend_create()
135 key = qemu_xen_xs_directory(xenbus->xsh, tid, path, &n); in xen_bus_backend_create()
137 if (!qemu_xen_xs_transaction_end(xenbus->xsh, tid, true)) { in xen_bus_backend_create()
159 if (xs_node_scanf(xenbus->xsh, tid, path, key[i], NULL, "%ms", in xen_bus_backend_create()
168 if (!qemu_xen_xs_transaction_end(xenbus->xsh, tid, false)) { in xen_bus_backend_create()
[all …]
H A Dxen-operations.c212 struct xs_handle *xsh; member
221 char **v = xs_check_watch(h->xsh); in watch_event()
234 struct xs_handle *xsh = xs_open(0); in libxenstore_open() local
237 if (!xsh) { in libxenstore_open()
242 h->xsh = xsh; in libxenstore_open()
245 qemu_set_fd_handler(xs_fileno(h->xsh), watch_event, NULL, h); in libxenstore_open()
253 qemu_set_fd_handler(xs_fileno(h->xsh), NULL, NULL, NULL); in libxenstore_close()
254 xs_close(h->xsh); in libxenstore_close()
261 return xs_get_domain_path(h->xsh, domid); in libxenstore_get_domain_path()
268 return xs_directory(h->xsh, t, path, num); in libxenstore_directory()
[all …]
/openbmc/qemu/hw/char/
H A Dxen_console.c384 value = qemu_xen_xs_read(xenbus->xsh, XBT_NULL, fe_path, NULL); in xen_console_get_name()
480 char *ret = console_frontend_path(xenbus->xsh, xendev->frontend_id, in xen_console_get_frontend_path()
539 struct qemu_xs_handle *xsh = xenbus->xsh; in type_init() local
548 fe = console_frontend_path(xsh, xen_domid, number); in type_init()
554 if (xs_node_scanf(xsh, XBT_NULL, fe, "type", errp, "%ms", &type) != 1) { in type_init()
572 if (xs_node_scanf(xsh, XBT_NULL, fe, "output", NULL, "%ms", &output) == 1) { in type_init()
/openbmc/qemu/include/hw/xen/
H A Dxen-bus.h22 struct qemu_xs_handle *xsh; member
63 struct qemu_xs_handle *xsh; member
/openbmc/qemu/target/ppc/translate/
H A Dvsx-impl.c.inc332 TCGv_i64 xsh, xsl;
337 xsh = tcg_temp_new_i64();
339 get_cpu_vsr(xsh, a->rt, true);
347 tcg_gen_shri_i64(t0, xsh, 32);
348 tcg_gen_deposit_i64(t1, t0, xsh, 32, 32);
355 tcg_gen_qemu_st_i64(xsh, EA, ctx->mem_idx, MO_BEUQ);
365 TCGv_i64 xsh, xsl;
370 xsh = tcg_temp_new_i64();
372 get_cpu_vsr(xsh, a->rt, true);
380 gen_bswap16x8(outh, outl, xsh, xsl);
[all …]
/openbmc/qemu/hw/i386/xen/
H A Dxen-hvm.c587 static bool xen_check_stubdomain(struct xs_handle *xsh) in xen_check_stubdomain() argument
595 val = xs_read(xsh, 0, dm_path, NULL); in xen_check_stubdomain()
/openbmc/qemu/hw/net/
H A Dxen_nic.c522 value = qemu_xen_xs_read(xenbus->xsh, XBT_NULL, fe_path, NULL); in xen_netdev_get_name()
/openbmc/qemu/hw/block/
H A Dxen-block.c92 existing_frontends = qemu_xen_xs_directory(xenbus->xsh, XBT_NULL, fe_path, in xen_block_find_free_vdev()