Lines Matching refs:xs_handle

50 struct xs_handle {  struct
126 struct xs_handle { struct
150 static int read_message(struct xs_handle *h, int nonblocking); argument
168 int xs_fileno(struct xs_handle *h) in xs_fileno()
227 struct xs_handle *h = CONTAINER_OF(ah, *h, tc_ah); in all_restrict_cb()
231 static struct xs_handle *get_handle(const char *connect_to) in get_handle()
234 struct xs_handle *h = NULL; in get_handle()
292 struct xs_handle *xs_daemon_open(void) in xs_daemon_open()
297 struct xs_handle *xs_daemon_open_readonly(void) in xs_daemon_open_readonly()
302 struct xs_handle *xs_domain_open(void) in xs_domain_open()
307 struct xs_handle *xs_open(unsigned long flags) in xs_open()
309 struct xs_handle *xsh = NULL; in xs_open()
325 static void close_free_msgs(struct xs_handle *h) { in close_free_msgs()
339 static void close_fds_free(struct xs_handle *h) { in close_fds_free()
351 void xs_daemon_destroy_postfork(struct xs_handle *h) in xs_daemon_destroy_postfork()
357 void xs_daemon_close(struct xs_handle *h) in xs_daemon_close()
379 void xs_close(struct xs_handle* xsh) in xs_close()
444 struct xs_handle *h, enum xsd_sockmsg_type *type, unsigned int *len) in read_reply()
482 static void *xs_talkv(struct xs_handle *h, xs_transaction_t t, in xs_talkv()
562 static void *xs_single(struct xs_handle *h, xs_transaction_t t, in xs_single()
605 static char **xs_directory_part(struct xs_handle *h, xs_transaction_t t, in xs_directory_part()
658 char **xs_directory(struct xs_handle *h, xs_transaction_t t, in xs_directory()
678 void *xs_read(struct xs_handle *h, xs_transaction_t t, in xs_read()
687 bool xs_write(struct xs_handle *h, xs_transaction_t t, in xs_write()
704 bool xs_mkdir(struct xs_handle *h, xs_transaction_t t, in xs_mkdir()
713 bool xs_rm(struct xs_handle *h, xs_transaction_t t, in xs_rm()
722 struct xs_permissions *xs_get_permissions(struct xs_handle *h, in xs_get_permissions()
756 bool xs_set_permissions(struct xs_handle *h, in xs_set_permissions()
798 bool xs_watch(struct xs_handle *h, const char *path, const char *token) in xs_watch()
853 static void xs_maybe_clear_watch_pipe(struct xs_handle *h) in xs_maybe_clear_watch_pipe()
866 static char **read_watch_internal(struct xs_handle *h, unsigned int *num, in read_watch_internal()
936 char **xs_check_watch(struct xs_handle *h) in xs_check_watch()
949 char **xs_read_watch(struct xs_handle *h, unsigned int *num) in xs_read_watch()
957 bool xs_unwatch(struct xs_handle *h, const char *path, const char *token) in xs_unwatch()
1024 xs_transaction_t xs_transaction_start(struct xs_handle *h) in xs_transaction_start()
1044 bool xs_transaction_end(struct xs_handle *h, xs_transaction_t t, in xs_transaction_end()
1061 bool xs_introduce_domain(struct xs_handle *h, in xs_introduce_domain()
1085 bool xs_set_target(struct xs_handle *h, in xs_set_target()
1104 static void * single_with_domid(struct xs_handle *h, in single_with_domid()
1115 bool xs_release_domain(struct xs_handle *h, unsigned int domid) in xs_release_domain()
1121 bool xs_resume_domain(struct xs_handle *h, unsigned int domid) in xs_resume_domain()
1126 char *xs_get_domain_path(struct xs_handle *h, unsigned int domid) in xs_get_domain_path()
1152 bool xs_is_domain_introduced(struct xs_handle *h, unsigned int domid) in xs_is_domain_introduced()
1167 struct xs_handle *xs; in xs_suspend_evtchn_port()
1189 char *xs_control_command(struct xs_handle *h, const char *cmd, in xs_control_command()
1203 char *xs_debug_command(struct xs_handle *h, const char *cmd, in xs_debug_command()
1209 static int read_message(struct xs_handle *h, int nonblocking) in read_message()
1300 struct xs_handle *h = arg; in read_thread()