Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 43) sorted by relevance

12

/xen-4.10.0-shim-comet/tools/xenstore/
A Dxenstored_domain.h48 const char *get_implicit_path(const struct connection *conn);
54 bool domain_can_read(struct connection *conn);
55 bool domain_can_write(struct connection *conn);
57 bool domain_is_unprivileged(struct connection *conn);
60 void domain_entry_inc(struct connection *conn, struct node *);
63 int domain_entry(struct connection *conn);
64 void domain_watch_inc(struct connection *conn);
65 void domain_watch_dec(struct connection *conn);
66 int domain_watch(struct connection *conn);
92 void wrl_apply_debit_direct(struct connection *conn);
[all …]
A Dxenstored_core.h66 struct connection;
67 typedef int connwritefn_t(struct connection *, const void *, unsigned int);
68 typedef int connreadfn_t(struct connection *, void *, unsigned int);
70 struct connection struct
103 struct connection *target; argument
144 void send_reply(struct connection *conn, enum xsd_sockmsg_type type,
148 void send_ack(struct connection *conn, enum xsd_sockmsg_type type);
154 int write_node_raw(struct connection *conn, TDB_DATA *key, struct node *node);
157 struct node *get_node(struct connection *conn,
162 struct connection *new_connection(connwritefn_t *write, connreadfn_t *read);
[all …]
A Dxenstored_transaction.h30 int do_transaction_start(struct connection *conn, struct buffered_data *node);
31 int do_transaction_end(struct connection *conn, struct buffered_data *in);
33 struct transaction *transaction_lookup(struct connection *conn, uint32_t id);
40 int access_node(struct connection *conn, struct node *node,
44 int transaction_prepend(struct connection *conn, const char *name,
47 void conn_delete_all_transactions(struct connection *conn);
A Dxenstored_control.c31 int (*func)(void *, struct connection *, char **, int);
35 static int do_control_check(void *ctx, struct connection *conn, in do_control_check()
47 static int do_control_log(void *ctx, struct connection *conn, in do_control_log()
64 static int do_control_logfile(void *ctx, struct connection *conn, in do_control_logfile()
79 static int do_control_memreport(void *ctx, struct connection *conn, in do_control_memreport()
118 static int do_control_print(void *ctx, struct connection *conn, in do_control_print()
130 static int do_control_help(void *, struct connection *, char **, int);
141 static int do_control_help(void *ctx, struct connection *conn, in do_control_help()
177 int do_control(struct connection *conn, struct buffered_data *in) in do_control()
A Dxenstored_watch.h24 int do_watch(struct connection *conn, struct buffered_data *in);
25 int do_unwatch(struct connection *conn, struct buffered_data *in);
28 void fire_watches(struct connection *conn, void *tmp, const char *name,
31 void conn_delete_all_watches(struct connection *conn);
A Dxenstored_domain.c69 struct connection *conn;
113 static int writechn(struct connection *conn, in writechn()
267 bool domain_can_read(struct connection *conn) in domain_can_read()
281 bool domain_is_unprivileged(struct connection *conn) in domain_is_unprivileged()
287 bool domain_can_write(struct connection *conn) in domain_can_write()
354 struct connection *conn = domain->conn; in domain_conn_reset()
732 int domain_entry(struct connection *conn) in domain_entry()
739 void domain_watch_inc(struct connection *conn) in domain_watch_inc()
746 void domain_watch_dec(struct connection *conn) in domain_watch_dec()
754 int domain_watch(struct connection *conn) in domain_watch()
[all …]
A Dxenstored_core.c135 static void trace_io(const struct connection *conn, in trace_io()
207 static bool write_messages(struct connection *conn) in write_messages()
258 struct connection *conn = _conn; in destroy_conn()
317 struct connection *conn; in initialize_fds()
567 struct node *get_node(struct connection *conn, in get_node()
1122 static int delete_child(struct connection *conn, in delete_child()
1347 static void handle_input(struct connection *conn) in handle_input()
1415 struct connection *new; in new_connection()
1483 struct connection *conn; in accept_connection()
1905 extern void dump_conn(struct connection *conn);
[all …]
A Dxenstored_watch.c81 static void add_event(struct connection *conn, in add_event()
126 void fire_watches(struct connection *conn, void *ctx, const char *name, in fire_watches()
129 struct connection *i; in fire_watches()
153 int do_watch(struct connection *conn, struct buffered_data *in) in do_watch()
214 int do_unwatch(struct connection *conn, struct buffered_data *in) in do_unwatch()
237 void conn_delete_all_watches(struct connection *conn) in conn_delete_all_watches()
A Dxenstored_transaction.c191 int transaction_prepend(struct connection *conn, const char *name, in transaction_prepend()
226 int access_node(struct connection *conn, struct node *node, in access_node()
322 static int finalize_transaction(struct connection *conn, in finalize_transaction()
414 struct transaction *transaction_lookup(struct connection *conn, uint32_t id) in transaction_lookup()
428 int do_transaction_start(struct connection *conn, struct buffered_data *in) in do_transaction_start()
483 int do_transaction_end(struct connection *conn, struct buffered_data *in) in do_transaction_end()
563 void conn_delete_all_transactions(struct connection *conn) in conn_delete_all_transactions()
580 struct connection *conn; in check_transactions()
A Dxenstored_solaris.c75 static pid_t cred(const struct connection *conn) in cred()
98 mangle(const struct connection *conn, const struct buffered_data *in) in mangle()
125 dtrace_io(const struct connection *conn, const struct buffered_data *in, in dtrace_io()
A Dxenstored_control.h19 int do_control(struct connection *conn, struct buffered_data *in);
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dtapdisk-control.c94 connection = calloc(1, sizeof(*connection)); in tapdisk_control_allocate_connection()
95 if (!connection) { in tapdisk_control_allocate_connection()
100 connection->socket = fd; in tapdisk_control_allocate_connection()
101 return connection; in tapdisk_control_allocate_connection()
108 close(connection->socket); in tapdisk_control_close_connection()
109 free(connection); in tapdisk_control_close_connection()
699 if (!connection) { in tapdisk_control_accept()
705 connection->socket, 0, in tapdisk_control_accept()
707 connection); in tapdisk_control_accept()
710 free(connection); in tapdisk_control_accept()
[all …]
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dperms.ml109 let get_owners (connection:t) =
110 match connection.main, connection.target with
114 let is_owner (connection:t) id =
115 match connection.target with
117 | None -> fst connection.main = id
119 let is_dom0 (connection:t) =
120 is_owner connection 0
125 let to_string connection =
126 …Printf.sprintf "%s%s" (elt_to_string connection.main) (default "" (may elt_to_string connection.ta…
158 && not (Connection.is_dom0 connection)
[all …]
A Dstore.ml78 (* check if the current node can be accessed by the current connection with rperm permissions *)
79 let check_perm node connection request =
80 Perms.check connection request node.perms
82 (* check if the current node is owned by the current connection *)
83 let check_owner node connection =
84 if not (Perms.check_owner connection node.perms)
/xen-4.10.0-shim-comet/tools/ocaml/libs/xb/
A Dxs_ring_stubs.c54 uint32_t connection; in ml_interface_read() local
58 connection = *(volatile uint32_t*)&intf->connection; in ml_interface_read()
60 if (connection != XENSTORE_CONNECTED) in ml_interface_read()
113 uint32_t connection; in ml_interface_write() local
117 connection = *(volatile uint32_t*)&intf->connection; in ml_interface_write()
119 if (connection != XENSTORE_CONNECTED) in ml_interface_write()
188 intf->connection = XENSTORE_CONNECTED; in ml_interface_close()
A Dpartial.ml35 This will leave the guest connection is a bad state and will
36 be hard to recover from without restarting the connection
/xen-4.10.0-shim-comet/tools/ocaml/libs/xs/
A Dxs.mli54 connection *)
61 (** watch manipulation on a connection *)
66 (** get_fd return the fd of the connection to be able to select on it.
67 NOTE: it works only for socket-based connection *)
72 NOTE: it works only when use with a socket-based connection *)
83 (** open a socket-based xenstored connection *)
86 (** open a mmap-based xenstored connection *)
89 (** close any xenstored connection *)
/xen-4.10.0-shim-comet/docs/misc/
A Dconsole.txt42 * 'connection' information describing to what they should be
58 The toolstack writes 'connection' information in the xenstore backend in
60 * connection: either 'pty' or 'socket'
61 * path: only present if connection = 'socket', the path of the socket to
71 connection = pty
86 <path>, a connection accepted and data proxied to the console, it will write:
88 connection = socket
140 console connection between the stubdom and dom0 to export the serial
147 need another pv console connection for each console backend to export
A Dxenstore-ring.txt107 - discard any watches associated with the connection
108 - discard any transactions associated with the connection
112 From the point of view of the guest, the connection has been reset on a
A Dcrashdb.txt18 if you have a simple null modem connection between the test box and
34 (XEN) GDB connection activated.
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_console.c301 if (console->connection) { in libxl__device_console_add()
303 flexarray_append(back, console->connection); in libxl__device_console_add()
422 switch (channel->connection) { in libxl__init_console_from_channel()
428 console->connection = libxl__strdup(NOGC, "pty"); in libxl__init_console_from_channel()
436 console->connection = libxl__strdup(NOGC, "socket"); in libxl__init_console_from_channel()
444 __func__, channel->connection); in libxl__init_console_from_channel()
473 channel->connection = LIBXL_CHANNEL_CONNECTION_PTY; in libxl__device_channel_from_xenstore()
475 channel->connection = LIBXL_CHANNEL_CONNECTION_SOCKET; in libxl__device_channel_from_xenstore()
598 channelinfo->connection = channel->connection; in libxl_device_channel_getinfo()
599 switch (channel->connection) { in libxl_device_channel_getinfo()
A Dlibxl_types_internal.idl46 ("connection", string),
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_console.c109 channels[i].connection)); in main_channellist()
110 switch (channels[i].connection) { in main_channellist()
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A Dxenbus.c81 rings->connection = XENSTORE_RECONNECT; in xenbus_shutdown()
84 while (*(volatile uint32_t*)&rings->connection == XENSTORE_RECONNECT) in xenbus_shutdown()
/xen-4.10.0-shim-comet/xen/include/public/io/
A Dxs_wire.h126 uint32_t connection; member

Completed in 25 milliseconds

12