Lines Matching refs:xs_handle
50 struct xs_handle;
77 struct xs_handle *xs_open(unsigned long flags);
80 void xs_close(struct xs_handle *xsh);
86 struct xs_handle *xs_daemon_open(void);
87 struct xs_handle *xs_domain_open(void);
93 struct xs_handle *xs_daemon_open_readonly(void);
98 void xs_daemon_close(struct xs_handle *);
101 void xs_daemon_destroy_postfork(struct xs_handle *);
107 char **xs_directory(struct xs_handle *h, xs_transaction_t t,
114 void *xs_read(struct xs_handle *h, xs_transaction_t t,
120 bool xs_write(struct xs_handle *h, xs_transaction_t t,
126 bool xs_mkdir(struct xs_handle *h, xs_transaction_t t,
132 bool xs_rm(struct xs_handle *h, xs_transaction_t t,
138 struct xs_permissions *xs_get_permissions(struct xs_handle *h,
168 bool xs_set_permissions(struct xs_handle *h, xs_transaction_t t,
177 bool xs_watch(struct xs_handle *h, const char *path, const char *token);
180 int xs_fileno(struct xs_handle *h);
196 char **xs_check_watch(struct xs_handle *h);
202 char **xs_read_watch(struct xs_handle *h, unsigned int *num);
207 bool xs_unwatch(struct xs_handle *h, const char *path, const char *token);
213 xs_transaction_t xs_transaction_start(struct xs_handle *h);
220 bool xs_transaction_end(struct xs_handle *h, xs_transaction_t t,
227 bool xs_introduce_domain(struct xs_handle *h,
236 bool xs_set_target(struct xs_handle *h,
243 bool xs_resume_domain(struct xs_handle *h, unsigned int domid);
248 bool xs_release_domain(struct xs_handle *h, unsigned int domid);
252 char *xs_get_domain_path(struct xs_handle *h, unsigned int domid);
263 bool xs_is_domain_introduced(struct xs_handle *h, unsigned int domid);
265 char *xs_control_command(struct xs_handle *h, const char *cmd,
268 char *xs_debug_command(struct xs_handle *h, const char *cmd,