Home
last modified time | relevance | path

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

/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c913 if (ioctl(dev->postcopy_ufd, UFFDIO_REGISTER, &reg_struct)) { in generate_faults()
920 dev->postcopy_ufd, strerror(errno)); in generate_faults()
1811 dev->postcopy_ufd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); in vu_set_postcopy_advise()
1814 dev->postcopy_ufd = -1; in vu_set_postcopy_advise()
1817 if (dev->postcopy_ufd == -1) { in vu_set_postcopy_advise()
1825 if (ioctl(dev->postcopy_ufd, UFFDIO_API, &api_struct)) { in vu_set_postcopy_advise()
1827 close(dev->postcopy_ufd); in vu_set_postcopy_advise()
1828 dev->postcopy_ufd = -1; in vu_set_postcopy_advise()
1837 vmsg->fds[0] = dev->postcopy_ufd; in vu_set_postcopy_advise()
1860 if (dev->postcopy_ufd > 0) { in vu_set_postcopy_end()
[all …]
H A Dlibvhost-user.h452 int postcopy_ufd; member