Lines Matching refs:recv_fd

36                                         int *recv_fd)  in create_migration_child()  argument
41 if (!rune || !send_fd || !recv_fd) in create_migration_child()
62 *recv_fd = recvpipe[0]; in create_migration_child()
91 static void migration_child_report(int recv_fd) { in migration_child_report() argument
128 if (recv_fd >= 0) { in migration_child_report()
132 FD_SET(recv_fd, &readfds); in migration_child_report()
133 FD_SET(recv_fd, &exceptfds); in migration_child_report()
134 sr = select(recv_fd+1, &readfds,0,&exceptfds, &timeout); in migration_child_report()
141 recv_fd = -1; in migration_child_report()
154 static void migrate_do_preamble(int send_fd, int recv_fd, pid_t child, in migrate_do_preamble() argument
160 if (send_fd < 0 || recv_fd < 0) { in migrate_do_preamble()
165 rc = migrate_read_fixedmessage(recv_fd, migrate_receiver_banner, in migrate_do_preamble()
170 migration_child_report(recv_fd); in migrate_do_preamble()
184 int send_fd = -1, recv_fd = -1; in migrate_domain() local
199 child = create_migration_child(rune, &send_fd, &recv_fd); in migrate_domain()
201 migrate_do_preamble(send_fd, recv_fd, child, config_data, config_len, in migrate_domain()
222 rc = migrate_read_fixedmessage(recv_fd, migrate_receiver_ready, in migrate_domain()
254 rc = migrate_read_fixedmessage(recv_fd, migrate_report, in migrate_domain()
259 rc = libxl_read_exactly(ctx, recv_fd, in migrate_domain()
268 rc = migrate_read_fixedmessage(recv_fd, migrate_permission_to_go, in migrate_domain()
293 migration_child_report(recv_fd); in migrate_domain()
299 migration_child_report(recv_fd); in migrate_domain()
314 migration_child_report(recv_fd); in migrate_domain()
320 int send_fd, int recv_fd, in migrate_receive() argument
346 dom_info.migrate_fd = recv_fd; in migrate_receive()
419 rc = migrate_read_fixedmessage(recv_fd, migrate_permission_to_go, in migrate_receive()
610 int send_fd = -1, recv_fd = -1; in main_remus() local
727 child = create_migration_child(rune, &send_fd, &recv_fd); in main_remus()
729 migrate_do_preamble(send_fd, recv_fd, child, config_data, config_len, in main_remus()
737 rc = libxl_domain_remus_start(ctx, &r_info, domid, send_fd, recv_fd, 0); in main_remus()