Lines Matching refs:xsh
174 struct xs_handle *xsh; in libxl__xenstore_child_wait_deprecated() local
181 xsh = xs_daemon_open(); in libxl__xenstore_child_wait_deprecated()
182 if (xsh == NULL) { in libxl__xenstore_child_wait_deprecated()
187 xs_watch(xsh, path, path); in libxl__xenstore_child_wait_deprecated()
190 nfds = xs_fileno(xsh) + 1; in libxl__xenstore_child_wait_deprecated()
194 p = xs_read(xsh, XBT_NULL, path, &len); in libxl__xenstore_child_wait_deprecated()
208 xs_unwatch(xsh, path, path); in libxl__xenstore_child_wait_deprecated()
209 xs_daemon_close(xsh); in libxl__xenstore_child_wait_deprecated()
214 FD_SET(xs_fileno(xsh), &rfds); in libxl__xenstore_child_wait_deprecated()
217 if (FD_ISSET(xs_fileno(xsh), &rfds)) { in libxl__xenstore_child_wait_deprecated()
218 l = xs_read_watch(xsh, &num); in libxl__xenstore_child_wait_deprecated()
228 xs_unwatch(xsh, path, path); in libxl__xenstore_child_wait_deprecated()
229 xs_daemon_close(xsh); in libxl__xenstore_child_wait_deprecated()