Home
last modified time | relevance | path

Searched refs:userfault_fd (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/migration/
H A Dpostcopy-ram.c649 close(mis->userfault_fd); in postcopy_ram_incoming_cleanup()
729 if (ioctl(mis->userfault_fd, UFFDIO_REGISTER, &reg_struct)) { in ram_block_enable_notify()
982 pfd[0].fd = mis->userfault_fd; in postcopy_ram_fault_thread()
1038 ret = read(mis->userfault_fd, &msg, sizeof(msg)); in postcopy_ram_fault_thread()
1216 mis->userfault_fd = uffd_open(O_CLOEXEC | O_NONBLOCK); in postcopy_ram_incoming_setup()
1217 if (mis->userfault_fd == -1) { in postcopy_ram_incoming_setup()
1227 if (!ufd_check_and_apply(mis->userfault_fd, mis, &local_err)) { in postcopy_ram_incoming_setup()
1237 close(mis->userfault_fd); in postcopy_ram_incoming_setup()
1274 int userfault_fd = mis->userfault_fd; in qemu_ufd_copy_ioctl() local
1283 ret = ioctl(userfault_fd, UFFDIO_COPY, &copy_struct); in qemu_ufd_copy_ioctl()
[all …]
H A Dmigration.h108 int userfault_fd; member