Lines Matching refs:conn
75 static pid_t cred(const struct connection *conn) in cred() argument
80 if (conn->domain) in cred()
83 if (getpeerucred(conn->fd, &ucred) == -1) in cred()
98 mangle(const struct connection *conn, const struct buffered_data *in) in mangle() argument
104 return (talloc_strdup(conn, "")); in mangle()
106 if ((str = talloc_zero_size(conn, in->hdr.msg.len + 1)) == NULL) in mangle()
125 dtrace_io(const struct connection *conn, const struct buffered_data *in, in dtrace_io() argument
130 char *mangled = mangle(conn, in); in dtrace_io()
131 XENSTORE_MSG(in->hdr.msg.tx_id, conn->id, cred(conn), in dtrace_io()
141 char *mangled = mangle(conn, in); in dtrace_io()
142 XENSTORE_ERROR(in->hdr.msg.tx_id, conn->id, in dtrace_io()
143 cred(conn), mangled); in dtrace_io()
149 char *mangled = mangle(conn, in); in dtrace_io()
150 XENSTORE_WATCH_EVENT(conn->id, cred(conn), mangled); in dtrace_io()
156 char *mangled = mangle(conn, in); in dtrace_io()
157 XENSTORE_REPLY(in->hdr.msg.tx_id, conn->id, cred(conn), in dtrace_io()