Lines Matching refs:p
120 size_t p; in prefault_mem() local
123 for (p = 0; p < (len / demand_paging_size); ++p) { in prefault_mem()
124 memcpy(alias + (p * demand_paging_size), in prefault_mem()
132 struct test_params *p = arg; in run_test() local
140 p->src_type, p->partition_vcpu_memory_access); in run_test()
142 demand_paging_size = get_backing_src_pagesz(p->src_type); in run_test()
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()
234 struct test_params p = { in main() local
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()
255 p.uffd_delay = strtoul(optarg, NULL, 0); in main()
256 TEST_ASSERT(p.uffd_delay >= 0, "A negative UFFD delay is not supported."); in main()
262 p.src_type = parse_backing_src_type(optarg); in main()
273 p.partition_vcpu_memory_access = false; in main()
282 if (p.uffd_mode == UFFDIO_REGISTER_MODE_MINOR && in main()
283 !backing_src_is_shared(p.src_type)) { in main()
293 for_each_guest_mode(run_test, &p); in main()