Lines Matching +full:1 +full:gb
107 TEST_ASSERT_EQ(uc.args[1], stage); in assert_sync_stage()
139 /* Stage 1, re-write all of guest memory. */ in vcpu_worker()
140 run_vcpu(vcpu, 1); in vcpu_worker()
154 TEST_ASSERT(r == -1 && errno == EFAULT, in vcpu_worker()
220 ~((uint64_t)vm->page_size - 1); in spawn_workers()
239 for (i = 0; abs(rendezvoused) != 1; i++) { in rendezvous_with_vcpus()
243 abs(rendezvoused) - 1); in rendezvous_with_vcpus()
252 atomic_set(&rendezvous, -nr_vcpus - 1); in rendezvous_with_vcpus()
254 atomic_set(&rendezvous, nr_vcpus + 1); in rendezvous_with_vcpus()
273 * Skip the first 4gb and slot0. slot0 maps <1gb and is used to back in main()
276 * just below the 4gb boundary. This test could create memory at in main()
277 * 1gb-3gb,but it's simpler to skip straight to 4gb. in main()
280 const int first_slot = 1; in main()
292 * Default to 2gb so that maxing out systems with MAXPHADDR=46, which in main()
294 * 32k memslots, 32k * 2gb == ~64tb of guest memory). in main()
301 /* All KVM MMUs should be able to survive a 128gb guest. */ in main()
306 while ((opt = getopt(argc, argv, "c:h:m:s:H")) != -1) { in main()
312 max_mem = 1ull * atoi_positive("Memory size", optarg) * SZ_1G; in main()
315 slot_size = 1ull * atoi_positive("Slot size", optarg) * SZ_1G; in main()
323 exit(1); in main()
339 TEST_ASSERT(max_gpa > (4 * slot_size), "MAXPHYADDR <4gb "); in main()
363 /* Identity map memory in the guest using 1gb pages. */ in main()
372 atomic_set(&rendezvous, nr_vcpus + 1); in main()
382 rendezvous_with_vcpus(&time_run1, "run 1"); in main()
413 for (slot = (slot - 1) & ~1ull; slot >= first_slot; slot -= 2) in main()