Searched refs:mon_fd (Results 1 – 1 of 1) sorted by relevance
52 static int mon_fd = -1; variable60 if (mon_fd == -1 || !g_str_equal(mon_fdname, fdname)) { in monitor_get_fd()64 return dup(mon_fd); in monitor_get_fd()86 mon_fd = qemu_socket(AF_INET, SOCK_STREAM, 0); in test_socket_fd_pass_name_good()87 g_assert_cmpint(mon_fd, >, STDERR_FILENO); in test_socket_fd_pass_name_good()94 g_assert_cmpint(fd, !=, mon_fd); in test_socket_fd_pass_name_good()99 g_assert_cmpint(fd, !=, mon_fd); in test_socket_fd_pass_name_good()104 close(mon_fd); in test_socket_fd_pass_name_good()105 mon_fd = -1; in test_socket_fd_pass_name_good()118 mon_fd = dup(STDOUT_FILENO); in test_socket_fd_pass_name_bad()[all …]