Searched refs:pipe_fd (Results 1 - 3 of 3) sorted by relevance

/systemd/src/shared/
H A Dspawn-polkit-agent.c41 int pipe_fd[2]; local
52 if (pipe2(pipe_fd, 0) < 0)
55 xsprintf(notify_fd, "%i", pipe_fd[1]);
58 &pipe_fd[1], 1,
63 safe_close(pipe_fd[1]);
69 fd_wait_for_event(pipe_fd[0], POLLHUP, USEC_INFINITY);
71 safe_close(pipe_fd[0]);
/systemd/src/core/
H A Dautomount.h41 int pipe_fd; member in struct:Automount
H A Dautomount.c85 a->pipe_fd = -1;
97 if (a->pipe_fd < 0)
104 a->pipe_fd = safe_close(a->pipe_fd);
263 assert(a->pipe_fd >= 0);
265 r = sd_event_add_io(u->manager->event, &a->pipe_event_source, a->pipe_fd, EPOLLIN, automount_dispatch_io, u);
531 assert(a->pipe_fd < 0);
597 a->pipe_fd = p[0];
803 r = unit_serialize_item_fd(u, f, fds, "pipe-fd", a->pipe_fd);
879 safe_close(a->pipe_fd);
[all...]

Completed in 9 milliseconds