Lines Matching refs:pair

239                 _cleanup_close_pair_ int pair[2] = { -1, -1 };  in bus_machine_method_get_addresses()  local
261 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, pair) < 0) in bus_machine_method_get_addresses()
273 pair[0] = safe_close(pair[0]); in bus_machine_method_get_addresses()
285 r = writev(pair[1], iov, 2); in bus_machine_method_get_addresses()
290 pair[1] = safe_close(pair[1]); in bus_machine_method_get_addresses()
295 pair[1] = safe_close(pair[1]); in bus_machine_method_get_addresses()
310 n = recvmsg(pair[0], &mh, 0); in bus_machine_method_get_addresses()
388 _cleanup_close_pair_ int pair[2] = { -1, -1 }; in bus_machine_method_get_os_release() local
396 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, pair) < 0) in bus_machine_method_get_os_release()
407 pair[0] = safe_close(pair[0]); in bus_machine_method_get_os_release()
415 r = copy_bytes(fd, pair[1], UINT64_MAX, 0); in bus_machine_method_get_os_release()
422 pair[1] = safe_close(pair[1]); in bus_machine_method_get_os_release()
424 f = take_fdopen(&pair[0], "r"); in bus_machine_method_get_os_release()
1092 _cleanup_close_pair_ int pair[2] = { -1, -1 }; in bus_machine_method_open_root_directory() local
1099 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, pair) < 0) in bus_machine_method_open_root_directory()
1109 pair[0] = safe_close(pair[0]); in bus_machine_method_open_root_directory()
1115 r = send_one_fd(pair[1], dfd, 0); in bus_machine_method_open_root_directory()
1123 pair[1] = safe_close(pair[1]); in bus_machine_method_open_root_directory()
1131 fd = receive_one_fd(pair[0], MSG_DONTWAIT); in bus_machine_method_open_root_directory()