Lines Matching refs:pair
31 _cleanup_close_pair_ int pair[2] = { -1, -1 };
61 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, pair) < 0)
71 pair[0] = safe_close(pair[0]);
94 (void) write(pair[1], &error_buf, sizeof(error_buf));
111 pair[1] = safe_close(pair[1]);
117 n = read(pair[0], &error_buf, sizeof(error_buf));
145 _cleanup_close_pair_ int pair[2] = { -1, -1 };
183 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, pair) < 0)
193 pair[0] = safe_close(pair[0]);
215 (void) write(pair[1], &error_buf, sizeof(error_buf));
219 r = send_one_fd(pair[1], fd, 0);
236 pair[1] = safe_close(pair[1]);
242 n = recvmsg(pair[0], &mh, MSG_NOSIGNAL|MSG_CMSG_CLOEXEC);