Searched refs:pipe (Results 1 - 8 of 8) sorted by relevance

/systemd/src/basic/
H A Dbarrier.c123 r = pipe2(b->pipe, O_CLOEXEC | O_NONBLOCK);
149 safe_close_pair(b->pipe);
176 assert(b->pipe[0] >= 0 && b->pipe[1] >= 0);
179 b->pipe[1] = safe_close(b->pipe[1]);
181 b->pipe[0] = safe_close(b->pipe[0]);
220 * pipe-ends and treat this as abortion. The other end will notice the
221 * pipe
[all...]
H A Dbarrier.h51 int pipe[2]; member in struct:Barrier
/systemd/src/libsystemd/sd-event/
H A Dtest-event.c176 assert_se(pipe(a) >= 0);
177 assert_se(pipe(b) >= 0);
178 assert_se(pipe(d) >= 0);
179 assert_se(pipe(k) >= 0);
/systemd/src/shared/
H A Dpager.c78 if (pipe(fd) < 0)
79 return log_error_errno(errno, "Failed to create pager pipe: %m");
145 return log_error_errno(errno, "Failed to duplicate pager pipe: %m");
147 return log_error_errno(errno, "Failed to duplicate pager pipe: %m");
/systemd/src/test/
H A Dtest-barrier.c64 assert_se(b.pipe[0] > 0); \
65 assert_se(b.pipe[1] > 0); \
114 * pending HUP on the pipe. However, the barrier_sync() prefers reads on the
419 * we will fail due to HUP on the pipe.
/systemd/src/udev/
H A Dudev-event.c396 /* discard child output or connect to pipe */
734 err = log_error_errno(errno, "pipe failed: %m");
740 err = log_error_errno(errno, "pipe failed: %m");
/systemd/src/fsck/
H A Dfsck.c183 /* No progress pipe to process? Then we are a NOP. */
207 r = log_warning_errno(errno, "Failed to read from progress pipe: %m");
211 log_warning("Failed to parse progress pipe data");
382 if (pipe(progress_pipe) < 0) {
383 r = log_error_errno(errno, "pipe(): %m");
405 /* Close the reading side of the progress pipe */
411 /* If this worked we close the progress pipe early, and just use the socket */
415 /* Otherwise if we have the progress pipe to our own local handle, we use it */
/systemd/src/journal-remote/
H A Djournal-remote.c90 if (pipe(fd) < 0)
91 return log_error_errno(errno, "Failed to create pager pipe: %m");
110 log_error_errno(errno, "Failed to dup pipe to stdout: %m");
132 log_warning_errno(errno, "Failed to close write end of pipe: %m");

Completed in 1368 milliseconds