Lines Matching refs:uffdio_register
351 struct uffdio_register uffd_reg; in uffd_poll_thread()
672 struct uffdio_register uffdio_register; in userfaultfd_zeropage_test() local
683 uffdio_register.range.start = (unsigned long) area_dst; in userfaultfd_zeropage_test()
684 uffdio_register.range.len = nr_pages * page_size; in userfaultfd_zeropage_test()
685 uffdio_register.mode = UFFDIO_REGISTER_MODE_MISSING; in userfaultfd_zeropage_test()
686 if (ioctl(uffd, UFFDIO_REGISTER, &uffdio_register)) in userfaultfd_zeropage_test()
690 if ((uffdio_register.ioctls & expected_ioctls) != in userfaultfd_zeropage_test()
708 struct uffdio_register uffdio_register; in userfaultfd_events_test() local
728 uffdio_register.range.start = (unsigned long) area_dst; in userfaultfd_events_test()
729 uffdio_register.range.len = nr_pages * page_size; in userfaultfd_events_test()
730 uffdio_register.mode = UFFDIO_REGISTER_MODE_MISSING; in userfaultfd_events_test()
731 if (ioctl(uffd, UFFDIO_REGISTER, &uffdio_register)) in userfaultfd_events_test()
735 if ((uffdio_register.ioctls & expected_ioctls) != in userfaultfd_events_test()
771 struct uffdio_register uffdio_register; in userfaultfd_stress() local
852 uffdio_register.range.start = (unsigned long) area_dst; in userfaultfd_stress()
853 uffdio_register.range.len = nr_pages * page_size; in userfaultfd_stress()
854 uffdio_register.mode = UFFDIO_REGISTER_MODE_MISSING; in userfaultfd_stress()
855 if (ioctl(uffd, UFFDIO_REGISTER, &uffdio_register)) { in userfaultfd_stress()
860 if ((uffdio_register.ioctls & expected_ioctls) != in userfaultfd_stress()
899 if (ioctl(uffd, UFFDIO_UNREGISTER, &uffdio_register.range)) { in userfaultfd_stress()