Lines Matching refs:uffd_mode
60 static int handle_uffd_page_request(int uffd_mode, int uffd, in handle_uffd_page_request() argument
71 if (uffd_mode == UFFDIO_REGISTER_MODE_MISSING) { in handle_uffd_page_request()
85 } else if (uffd_mode == UFFDIO_REGISTER_MODE_MINOR) { in handle_uffd_page_request()
98 TEST_FAIL("Invalid uffd mode %d", uffd_mode); in handle_uffd_page_request()
112 int uffd_mode; member
149 if (p->uffd_mode == UFFDIO_REGISTER_MODE_MINOR) { in run_test()
157 if (p->uffd_mode) { in run_test()
172 p->uffd_mode, p->uffd_delay, vcpu_hva, in run_test()
188 if (p->uffd_mode) { in run_test()
203 if (p->uffd_mode) in run_test()
249 p.uffd_mode = UFFDIO_REGISTER_MODE_MISSING; in main()
251 p.uffd_mode = UFFDIO_REGISTER_MODE_MINOR; in main()
252 TEST_ASSERT(p.uffd_mode, "UFFD mode must be 'MISSING' or 'MINOR'."); in main()
282 if (p.uffd_mode == UFFDIO_REGISTER_MODE_MINOR && in main()