Lines Matching full:iteration
77 static uint64_t iteration; variable
105 * pages during the first iteration. in guest_code()
109 vcpu_arch_put_guest(*(uint64_t *)addr, READ_ONCE(iteration)); in guest_code()
119 vcpu_arch_put_guest(*(uint64_t *)addr, READ_ONCE(iteration)); in guest_code()
389 pr_info("Iteration %ld collected %u pages\n", iteration, count); in dirty_ring_collect_dirty_pages()
454 * bit set in the _next_ iteration. For example, if we detected the
455 * page value changed to current iteration but at the same time the
563 "set in this iteration but it is missing", in vm_dirty_log_verify()
575 * previous iteration number or the current one. in vm_dirty_log_verify()
577 matched = (*value_ptr == iteration || in vm_dirty_log_verify()
578 *value_ptr == iteration - 1); in vm_dirty_log_verify()
581 if (*value_ptr == iteration - 2 && min_iter <= iteration - 2) { in vm_dirty_log_verify()
586 * dirty ring full in iteration N-2. in vm_dirty_log_verify()
612 * This however can only happen once per iteration. in vm_dirty_log_verify()
614 min_iter = iteration - 1; in vm_dirty_log_verify()
627 " incorrect (iteration=%"PRIu64")", in vm_dirty_log_verify()
628 page, *value_ptr, iteration); in vm_dirty_log_verify()
633 * value smaller or equals to the iteration in vm_dirty_log_verify()
635 * (iteration-1) if that write can happen in vm_dirty_log_verify()
638 * (1) increase loop count to "iteration-1" in vm_dirty_log_verify()
640 * "iteration-1") in vm_dirty_log_verify()
641 * (3) get dirty log for "iteration-1"; we'll in vm_dirty_log_verify()
644 * (4) increase loop count to "iteration" in vm_dirty_log_verify()
645 * (which is current iteration) in vm_dirty_log_verify()
646 * (5) get dirty log for current iteration, in vm_dirty_log_verify()
648 * value "iteration-1". in vm_dirty_log_verify()
650 TEST_ASSERT(*value_ptr <= iteration, in vm_dirty_log_verify()
652 " incorrect (iteration=%"PRIu64")", in vm_dirty_log_verify()
653 page, *value_ptr, iteration); in vm_dirty_log_verify()
654 if (*value_ptr == iteration) { in vm_dirty_log_verify()
761 iteration = 1; in run_test()
762 sync_global_to_guest(vm, iteration); in run_test()
770 * Ensure the previous iteration didn't leave a dangling semaphore, i.e. in run_test()
781 while (iteration < p->iterations) { in run_test()
806 * Set host_quit before sem_vcpu_cont in the final iteration to in run_test()
812 if (++iteration == p->iterations) in run_test()
816 sync_global_to_guest(vm, iteration); in run_test()
839 printf(" -i: specify iteration counts (default: %"PRIu64")\n", in help()