| /freebsd-head/sys/dev/xen/control/ |
| HD | control.c | 340 error = xs_read(XST_NIL, "control", "shutdown", in xctrl_on_watch_event() 346 error = xs_write(XST_NIL, "control", "shutdown", ""); in xctrl_on_watch_event() 373 xs_write(XST_NIL, "control", "feature-poweroff", "1"); in notify_support() 374 xs_write(XST_NIL, "control", "feature-reboot", "1"); in notify_support() 375 xs_write(XST_NIL, "control", "feature-suspend", "1"); in notify_support()
|
| /freebsd-head/sys/xen/xenbus/ |
| HD | xenbusb_back.c | 139 error = xs_directory(XST_NIL, xbs->xbs_node, type, &vm_count, &vms); in xenbusb_back_enumerate_type() 152 error = xs_directory(XST_NIL, xbs->xbs_node, sbuf_data(vm_path), in xenbusb_back_enumerate_type() 201 error = xs_gather(XST_NIL, ivars->xd_node, in xenbusb_back_get_otherend_node() 280 xs_rm(XST_NIL, xenbus_get_node(child), "hotplug-status"); in xenbusb_back_localend_changed()
|
| HD | xenbus.c | 126 if (xs_write(XST_NIL, path_buffer, "error", printf_buffer) != 0) { in xenbus_dev_verror() 188 error = xs_gather(XST_NIL, path, "state", "%d", &result, NULL); in xenbus_read_driver_state() 203 error = xs_gather(XST_NIL, path, "online", "%d", &value, NULL); in xenbus_dev_is_online()
|
| HD | xenbusb_front.c | 113 error = xs_directory(XST_NIL, xbs->xbs_node, type, &count, &dir); in xenbusb_front_enumerate_type() 149 error = xs_gather(XST_NIL, ivars->xd_node, in xenbusb_front_get_otherend_node()
|
| HD | xenbusb.c | 255 if (xs_exists(XST_NIL, xenbus_get_node(child), "state") == 0) { in xenbusb_verify_device() 287 error = xs_directory(XST_NIL, xbs->xbs_node, "", &type_count, &types); in xenbusb_enumerate_bus() 652 if (xs_exists(XST_NIL, devpath, "") != 0) { in xenbusb_add_device()
|
| /freebsd-head/sys/dev/xen/blkfront/ |
| HD | blkfront.c | 779 error = xs_printf(XST_NIL, xenbus_get_node(sc->xbd_dev), in xbd_alloc_ring() 793 error = xs_printf(XST_NIL, xenbus_get_node(sc->xbd_dev), in xbd_alloc_ring() 1140 (void)xs_scanf(XST_NIL, otherend_path, in xbd_initialize() 1144 (void)xs_scanf(XST_NIL, otherend_path, in xbd_initialize() 1184 error = xs_printf(XST_NIL, node_path, in xbd_initialize() 1194 error = xs_printf(XST_NIL, node_path, in xbd_initialize() 1205 error = xs_printf(XST_NIL, node_path, "event-channel", in xbd_initialize() 1214 error = xs_printf(XST_NIL, node_path, "protocol", in xbd_initialize() 1253 err = xs_gather(XST_NIL, xenbus_get_otherend_path(dev), in xbd_connect() 1275 err = xs_gather(XST_NIL, xenbus_get_otherend_path(dev), in xbd_connect() [all …]
|
| /freebsd-head/sys/dev/xen/netback/ |
| HD | netback.c | 852 err = xs_gather(XST_NIL, otherend_path, in xnb_collect_xenstore_info() 868 err = xs_scanf(XST_NIL, our_path, "handle", NULL, "%li", &xnb->handle); in xnb_collect_xenstore_info() 879 err = xs_read(XST_NIL, our_path, "bridge", &bridge_len, in xnb_collect_xenstore_info() 888 err = xs_scanf(XST_NIL, otherend_path, "request-rx-copy", NULL, in xnb_collect_xenstore_info() 910 if (xs_scanf(XST_NIL, otherend_path, "feature-sg", NULL, in xnb_collect_xenstore_info() 915 if (xs_scanf(XST_NIL, otherend_path, "feature-gso-tcpv4", NULL, in xnb_collect_xenstore_info() 919 if (xs_scanf(XST_NIL, otherend_path, "feature-gso-tcpv4-prefix", NULL, in xnb_collect_xenstore_info() 923 if (xs_scanf(XST_NIL, otherend_path, "feature-no-csum-offload", NULL, in xnb_collect_xenstore_info() 1095 xs_vprintf(XST_NIL, xenbus_get_node(xnb->dev), in xnb_attach_failed() 1098 (void)xs_printf(XST_NIL, xenbus_get_node(xnb->dev), in xnb_attach_failed() [all …]
|
| /freebsd-head/sys/dev/xen/blkback/ |
| HD | blkback.c | 2888 error = xs_scanf(XST_NIL, otherend_path, in xbb_collect_frontend_info() 2915 (void)xs_scanf(XST_NIL, otherend_path, in xbb_collect_frontend_info() 2933 error = xs_gather(XST_NIL, otherend_path, in xbb_collect_frontend_info() 2953 error = xs_scanf(XST_NIL, otherend_path, in xbb_collect_frontend_info() 2967 error = xs_gather(XST_NIL, otherend_path, in xbb_collect_frontend_info() 3296 xs_vprintf(XST_NIL, xenbus_get_node(xbb->dev), in xbb_attach_failed() 3299 xs_printf(XST_NIL, xenbus_get_node(xbb->dev), in xbb_attach_failed() 3305 xs_printf(XST_NIL, xenbus_get_node(xbb->dev), in xbb_attach_failed() 3499 error = xs_printf(XST_NIL, xenbus_get_node(xbb->dev), in xbb_attach_disk() 3522 error = xs_gather(XST_NIL, xenbus_get_node(dev), "physical-device-path", in xbb_attach_cb() [all …]
|
| /freebsd-head/sys/xen/xenstore/ |
| HD | xenstorevar.h | 90 #define XST_NIL ((struct xs_transaction) { 0 }) macro
|
| /freebsd-head/sys/dev/xen/netfront/ |
| HD | netfront.c | 389 error = xs_read(XST_NIL, path, "mac", NULL, (void **) &macstr); in xen_net_read_mac() 407 error = xs_read(XST_NIL, path, "mac", NULL, (void **) &macstr); in xen_net_read_mac() 591 err = xs_scanf(XST_NIL, xenbus_get_otherend_path(info->xbdev), in talk_to_backend() 1926 xs_rm(XST_NIL, xenbus_get_node(dev), "feature-gso-tcpv4"); in xn_ioctl() 1927 xs_rm(XST_NIL, xenbus_get_node(dev), "feature-no-csum-offload"); in xn_ioctl() 2006 error = xs_scanf(XST_NIL, xenbus_get_otherend_path(np->xbdev), in xn_connect() 2074 if (xs_scanf(XST_NIL, xenbus_get_otherend_path(np->xbdev), in xn_query_features() 2084 if (xs_scanf(XST_NIL, xenbus_get_otherend_path(np->xbdev), in xn_query_features() 2098 if (xs_scanf(XST_NIL, xenbus_get_otherend_path(np->xbdev), in xn_query_features()
|
| /freebsd-head/sys/dev/xen/balloon/ |
| HD | balloon.c | 315 err = xs_scanf(XST_NIL, "memory", "target", NULL, in watch_target()
|
| /freebsd-head/sys/dev/xen/xenstore/ |
| HD | xenstore.c | 916 return (xs_talkv(XST_NIL, XS_WATCH, iov, 2, NULL, NULL)); in xs_watch() 938 return (xs_talkv(XST_NIL, XS_UNWATCH, iov, 2, NULL, NULL)); in xs_unwatch() 1467 error = xs_single(XST_NIL, XS_TRANSACTION_START, "", NULL, in xs_transaction_start()
|