Lines Matching refs:postcopy_fd
249 struct PostCopyFD postcopy_fd; member
1008 bool do_postcopy = u->postcopy_listen && u->postcopy_fd.handler; in vhost_user_set_mem_table()
2045 u->postcopy_fd.fd = ufd; in vhost_user_postcopy_advise()
2046 u->postcopy_fd.data = dev; in vhost_user_postcopy_advise()
2047 u->postcopy_fd.handler = vhost_user_postcopy_fault_handler; in vhost_user_postcopy_advise()
2048 u->postcopy_fd.waker = vhost_user_postcopy_waker; in vhost_user_postcopy_advise()
2049 u->postcopy_fd.idstr = "vhost-user"; /* Need to find unique name */ in vhost_user_postcopy_advise()
2050 postcopy_register_shared_ufd(&u->postcopy_fd); in vhost_user_postcopy_advise()
2113 postcopy_unregister_shared_ufd(&u->postcopy_fd); in vhost_user_postcopy_end()
2114 close(u->postcopy_fd.fd); in vhost_user_postcopy_end()
2115 u->postcopy_fd.handler = NULL; in vhost_user_postcopy_end()
2310 if (u->postcopy_fd.handler) { in vhost_user_backend_cleanup()
2311 postcopy_unregister_shared_ufd(&u->postcopy_fd); in vhost_user_backend_cleanup()
2312 close(u->postcopy_fd.fd); in vhost_user_backend_cleanup()
2313 u->postcopy_fd.handler = NULL; in vhost_user_backend_cleanup()