Home
last modified time | relevance | path

Searched refs:pipe_fd (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/shared/
Dspawn-polkit-agent.c25 int pipe_fd[2], r; in polkit_agent_open() local
41 if (pipe2(pipe_fd, 0) < 0) in polkit_agent_open()
44 xsprintf(notify_fd, "%i", pipe_fd[1]); in polkit_agent_open()
47 &pipe_fd[1], 1, in polkit_agent_open()
53 safe_close(pipe_fd[1]); in polkit_agent_open()
59 fd_wait_for_event(pipe_fd[0], POLLHUP, USEC_INFINITY); in polkit_agent_open()
61 safe_close(pipe_fd[0]); in polkit_agent_open()
/systemd-251/src/core/
Dautomount.c76 a->pipe_fd = -1; in automount_init()
86 if (a->pipe_fd < 0) in unmount_autofs()
90 a->pipe_fd = safe_close(a->pipe_fd); in unmount_autofs()
308 assert(a->pipe_fd >= 0); in automount_coldplug()
310 …r = sd_event_add_io(u->manager->event, &a->pipe_event_source, a->pipe_fd, EPOLLIN, automount_dispa… in automount_coldplug()
583 assert(a->pipe_fd < 0); in automount_enter_waiting()
655 a->pipe_fd = p[0]; in automount_enter_waiting()
878 r = serialize_fd(f, fds, "pipe-fd", a->pipe_fd); in automount_serialize()
943 safe_close(a->pipe_fd); in automount_deserialize_item()
944 a->pipe_fd = fdset_remove(fds, fd); in automount_deserialize_item()
[all …]
Dautomount.h27 int pipe_fd; member
/systemd-251/src/libsystemd/sd-daemon/
Dsd-daemon.c553 _cleanup_close_pair_ int pipe_fd[2] = { -1, -1 }; in sd_notify_barrier() local
556 if (pipe2(pipe_fd, O_CLOEXEC) < 0) in sd_notify_barrier()
559 r = sd_pid_notify_with_fds(0, unset_environment, "BARRIER=1", &pipe_fd[1], 1); in sd_notify_barrier()
563 pipe_fd[1] = safe_close(pipe_fd[1]); in sd_notify_barrier()
565 r = fd_wait_for_event(pipe_fd[0], 0 /* POLLHUP is implicit */, timeout); in sd_notify_barrier()
/systemd-251/src/login/
Dlogind-dbus.c3659 SD_BUS_RESULT("h", pipe_fd),