Searched refs:pipe (Results 1 - 8 of 8) sorted by relevance
/systemd/src/basic/ |
H A D | barrier.c | 123 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 D | barrier.h | 51 int pipe[2]; member in struct:Barrier
|
/systemd/src/libsystemd/sd-event/ |
H A D | test-event.c | 176 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 D | pager.c | 78 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 D | test-barrier.c | 64 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 D | udev-event.c | 396 /* 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 D | fsck.c | 183 /* 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 D | journal-remote.c | 90 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 24 milliseconds