Home
last modified time | relevance | path

Searched refs:xs (Results 1 – 22 of 22) sorted by relevance

/xen/tools/console/daemon/
A Dutils.c38 struct xs_handle *xs; variable
107 xs = xs_daemon_open(); in xen_setup()
108 if (xs == NULL) { in xen_setup()
120 if (!xs_watch(xs, "@introduceDomain", "domlist")) { in xen_setup()
125 if (!xs_watch(xs, "@releaseDomain", "domlist")) { in xen_setup()
133 if (xs) in xen_setup()
134 xs_daemon_close(xs); in xen_setup()
A Dio.c452 namepath = xs_get_domain_path(xs, dom->domid); in create_console_log()
460 data = xs_read(xs, XBT_NULL, namepath, &len); in create_console_log()
616 data = xs_read(xs, XBT_NULL, path, &len); in console_create_tty()
658 p = xs_read(xs, XBT_NULL, path, NULL); in xs_gather()
693 err = xs_gather(xs, con->xspath, in console_create_ring()
710 type = xs_read(xs, XBT_NULL, path, NULL); in console_create_ring()
802 success = xs_watch(xs, con->xspath, domid_str); in watch_domain()
806 xs_unwatch(xs, con->xspath, domid_str); in watch_domain()
808 success = xs_unwatch(xs, con->xspath, domid_str); in watch_domain()
843 xspath = xs_get_domain_path(xs, dom->domid); in console_init()
[all …]
A Dutils.h34 extern struct xs_handle *xs;
/xen/tools/xenbackendd/
A Dxenbackendd.c56 struct xs_handle *xs; variable
125 xs = xs_daemon_open(); in xen_setup()
126 if (xs == NULL) { in xen_setup()
133 if (!xs_watch(xs, DOMAIN_PATH, "backend")) { in xen_setup()
140 if (xs) { in xen_setup()
141 xs_daemon_close(xs); in xen_setup()
142 xs = NULL; in xen_setup()
243 vec = xs_read_watch(xs, &num); in main()
268 sstate = xs_read(xs, XBT_NULL, buf, 0); in main()
278 s = xs_read(xs, XBT_NULL, buf, 0); in main()
[all …]
/xen/tools/console/client/
A Dmain.c105 int xs_fd = xs_fileno(xs), pty_fd = -1; in get_pty_fd()
118 watch_paths = xs_read_watch(xs, &len); in get_pty_fd()
203 if (FD_ISSET(xs_fileno(xs), &fds)) { in console_loop()
204 int newfd = get_pty_fd(xs, pty_path, 0); in console_loop()
344 struct xs_handle *xs; in main() local
401 xs = xs_daemon_open(); in main()
402 if (xs == NULL) { in main()
408 dom_path = xs_get_domain_path(xs, domid); in main()
463 if (!xs_watch(xs, path, "")) in main()
465 xsfd = xs_fileno(xs); in main()
[all …]
/xen/tools/libvchan/
A Dinit.c248 struct xs_handle *xs; in init_xs_srv() local
254 xs = xs_domain_open(); in init_xs_srv()
255 if (!xs) in init_xs_srv()
296 xs_daemon_close(xs); in init_xs_srv()
397 struct xs_handle *xs = NULL; in libxenvchan_client_init() local
411 xs = xs_daemon_open(); in libxenvchan_client_init()
412 if (!xs) in libxenvchan_client_init()
413 xs = xs_domain_open(); in libxenvchan_client_init()
414 if (!xs) in libxenvchan_client_init()
454 if (xs) in libxenvchan_client_init()
[all …]
A Dvchan-socket-proxy.c223 struct xs_handle *xs = NULL; in connect_vchan() local
230 xs = xs_open(XS_OPEN_READONLY); in connect_vchan()
231 if (!xs) { in connect_vchan()
241 if (!xs_watch(xs, path, "path")) { in connect_vchan()
245 if (!xs_watch(xs, "@releaseDomain", "release")) { in connect_vchan()
269 if (xs) in connect_vchan()
270 xs_close(xs); in connect_vchan()
456 struct xs_handle *xs; in main() local
458 xs = xs_open(0); in main()
459 if (!xs) { in main()
[all …]
/xen/tools/xenpmd/
A Dxenpmd.c87 static struct xs_handle *xs; variable
356 xs_mkdir(xs, XBT_NULL, "/pm"); in write_battery_info_to_xenstore()
381 xs_write(xs, XBT_NULL, "/pm/bif", in write_battery_info_to_xenstore()
428 xs_mkdir(xs, XBT_NULL, "/pm"); in write_battery_status_to_xenstore()
437 xs_write(xs, XBT_NULL, "/pm/bst", val, 35); in write_battery_status_to_xenstore()
473 xs_watch(xs, "/pm/events", "refreshbatterystatus"); in wait_for_and_update_battery_status_request()
474 xs_read_watch(xs, &count); in wait_for_and_update_battery_status_request()
510 xs = (struct xs_handle *)xs_daemon_open(); in main()
511 if ( xs == NULL ) in main()
516 xs_daemon_close(xs); in main()
[all …]
/xen/tools/tests/xenstore/
A DMakefile8 TARGETS-y := xs-test
24 xs-test: xs-test.o Makefile
/xen/tools/xenstore/
A DMakefile104 xs.opic: CFLAGS += -DUSE_PTHREAD
106 xs.opic: CFLAGS += -DUSE_DLSYM
112 libxenstore.so.$(MAJOR).$(MINOR): xs.opic xs_lib.opic
115 libxenstore.a: xs.o xs_lib.o
179 $(INSTALL_DATA) include/compat/xs.h $(DESTDIR)$(includedir)/xenstore-compat/xs.h
181 ln -sf xenstore-compat/xs.h $(DESTDIR)$(includedir)/xs.h
189 rm -f $(DESTDIR)$(includedir)/xs.h
191 rm -f $(DESTDIR)$(includedir)/xenstore-compat/xs.h
A Dxs.c1193 struct xs_handle *xs; in xs_suspend_evtchn_port() local
1195 xs = xs_daemon_open(); in xs_suspend_evtchn_port()
1196 if (!xs) in xs_suspend_evtchn_port()
1200 portstr = xs_read(xs, XBT_NULL, path, &plen); in xs_suspend_evtchn_port()
1201 xs_daemon_close(xs); in xs_suspend_evtchn_port()
A DCOPYING2 with the xenstore daemon (as stated in xs.c, xenstore.h, xs_lib.c and
/xen/tools/python/
A Dsetup.py29 xs = Extension("xs", variable
38 modules = [ xc, xs ]
/xen/tools/ocaml/libs/xs/
A DMakefile14 OBJS = paths queueop xsraw xst xs
15 INTF = xsraw.cmi xst.cmi xs.cmi
/xen/tools/tests/mce-test/tools/
A Dxen-mceinj.c412 struct xs_handle *xs; in xs_get_dom_mem() local
414 xs = xs_daemon_open(); in xs_get_dom_mem()
415 if (!xs) in xs_get_dom_mem()
419 memstr = xs_read(xs, XBT_NULL, path, &plen); in xs_get_dom_mem()
420 xs_daemon_close(xs); in xs_get_dom_mem()
/xen/tools/xenstore/include/compat/
A Dxs.h1 #warning xs.h is deprecated use xenstore.h instead
/xen/tools/ocaml/libs/
A DMakefile8 xb xs xl
/xen/xen/common/
A Dstring.c325 char *xs = (char *) s; variable
328 *xs++ = c;
/xen/tools/ocaml/xenstored/
A Dtransaction.ml107 | _ :: xs -> last xs
A Dxenstored.ml401 (* scan all the xs rings as a safenet for ill-behaved clients *)
/xen/docs/process/
A Dbranching-checklist.txt50 ssh osstest@osstest.xs.citrite.net
/xen/
A D.gitignore244 tools/tests/xenstore/xs-test
396 tools/ocaml/libs/xs/paths.ml

Completed in 36 milliseconds