Lines Matching refs:pair
1507 _cleanup_close_pair_ int pair[2] = { -1, -1 }; in socket_address_listen_in_cgroup() local
1551 if (socketpair(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC, 0, pair) < 0) in socket_address_listen_in_cgroup()
1560 pair[0] = safe_close(pair[0]); in socket_address_listen_in_cgroup()
1585 r = send_one_fd(pair[1], fd, 0); in socket_address_listen_in_cgroup()
1594 pair[1] = safe_close(pair[1]); in socket_address_listen_in_cgroup()
1595 fd = receive_one_fd(pair[0], 0); in socket_address_listen_in_cgroup()
2904 _cleanup_close_pair_ int pair[2] = { -1, -1 }; in socket_accept_in_cgroup() local
2924 if (socketpair(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC, 0, pair) < 0) in socket_accept_in_cgroup()
2933 pair[0] = safe_close(pair[0]); in socket_accept_in_cgroup()
2943 r = send_one_fd(pair[1], cfd, 0); in socket_accept_in_cgroup()
2952 pair[1] = safe_close(pair[1]); in socket_accept_in_cgroup()
2953 cfd = receive_one_fd(pair[0], 0); in socket_accept_in_cgroup()