Lines Matching defs:to

123                 return log_error_errno(errno, "Failed to allocate pipe buffer: %m");
129 return log_error_errno(errno, "Failed to get pipe buffer size: %m");
139 int *from, int buffer[2], int *to,
150 assert(to);
161 if (*full < *sz && *from >= 0 && *to >= 0) {
170 return log_error_errno(errno, "Failed to splice: %m");
173 if (*full > 0 && *to >= 0) {
174 z = splice(buffer[0], NULL, *to, NULL, *full, SPLICE_F_MOVE|SPLICE_F_NONBLOCK);
180 *to = safe_close(*to);
182 return log_error_errno(errno, "Failed to splice: %m");
217 /* Server closed, and all data written to client? */
221 /* Client closed, and all data written to server? */
260 return log_error_errno(r, "Failed to set up server event source: %m");
270 return log_error_errno(r, "Failed to set up client event source: %m");
311 log_error_errno(errno, "Failed to issue SO_ERROR: %m");
316 log_error_errno(error, "Failed to connect to remote host: %m");
338 log_error_errno(errno, "Failed to get remote socket: %m");
347 log_error_errno(r, "Failed to add connection socket: %m");
353 log_error_errno(r, "Failed to enable oneshot event source: %m");
357 log_error_errno(errno, "Failed to connect to remote host: %m");
380 log_error("Failed to resolve host: %s", gai_strerror(ret));
439 log_error_errno(r, "Failed to resolve remote host: %m");
504 log_warning_errno(errno, "Failed to accept() socket: %m");
511 log_error_errno(r, "Failed to accept connection, ignoring: %m");
541 return log_error_errno(r, "Failed to determine socket type: %m");
549 return log_error_errno(r, "Failed to mark file descriptor non-blocking: %m");
553 return log_error_errno(r, "Failed to add event source: %m");
557 log_error_errno(r, "Failed to add source to set: %m");
562 /* Set the watcher to oneshot in case other processes are also
563 * watching to accept(). */
566 return log_error_errno(r, "Failed to enable oneshot mode: %m");
574 "Bidirectionally proxy local sockets to another (possibly remote) socket.\n\n"
643 log_error_errno(r, "Failed to allocate event loop: %m");
649 log_error_errno(r, "Failed to allocate resolver: %m");
655 log_error_errno(r, "Failed to attach resolver: %m");
663 log_error("Failed to receive sockets from parent.");
680 log_error_errno(r, "Failed to run event loop: %m");