Lines Matching refs:pcfd
744 int postcopy_wake_shared(struct PostCopyFD *pcfd, in postcopy_wake_shared() argument
750 return uffd_wakeup(pcfd->fd, in postcopy_wake_shared()
783 int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb, in postcopy_request_shared_page() argument
789 trace_postcopy_request_shared_page(pcfd->idstr, qemu_ram_get_idstr(rb), in postcopy_request_shared_page()
792 trace_postcopy_request_shared_page_present(pcfd->idstr, in postcopy_request_shared_page()
794 return postcopy_wake_shared(pcfd, client_addr, rb); in postcopy_request_shared_page()
980 struct PostCopyFD *pcfd = &g_array_index(mis->postcopy_remote_fds, in postcopy_ram_fault_thread() local
982 pfd[2 + index].fd = pcfd->fd; in postcopy_ram_fault_thread()
984 trace_postcopy_ram_fault_thread_fds_extra(2 + index, pcfd->idstr, in postcopy_ram_fault_thread()
985 pcfd->fd); in postcopy_ram_fault_thread()
1093 struct PostCopyFD *pcfd = in postcopy_ram_fault_thread() local
1100 __func__, index, pcfd->fd); in postcopy_ram_fault_thread()
1105 ret = read(pcfd->fd, &msg, sizeof(msg)); in postcopy_ram_fault_thread()
1136 ret = pcfd->handler(pcfd, &msg); in postcopy_ram_fault_thread()
1139 __func__, index, pcfd->idstr); in postcopy_ram_fault_thread()
1404 int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb, in postcopy_request_shared_page() argument
1427 int postcopy_wake_shared(struct PostCopyFD *pcfd, in postcopy_wake_shared() argument
1554 void postcopy_register_shared_ufd(struct PostCopyFD *pcfd) in postcopy_register_shared_ufd() argument
1559 *pcfd); in postcopy_register_shared_ufd()
1564 void postcopy_unregister_shared_ufd(struct PostCopyFD *pcfd) in postcopy_unregister_shared_ufd() argument
1576 if (cur->fd == pcfd->fd) { in postcopy_unregister_shared_ufd()