Home
last modified time | relevance | path

Searched refs:random_array (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/lib/
H A Dtest_vmalloc.c447 int random_array[ARRAY_SIZE(test_case_array)]; in test_func() local
453 random_array[i] = i; in test_func()
456 shuffle_array(random_array, ARRAY_SIZE(test_case_array)); in test_func()
465 index = random_array[i]; in test_func()
/openbmc/linux/tools/testing/selftests/kvm/
H A Ddirty_log_test.c79 static uint64_t random_array[TEST_PAGES_PER_LOOP]; variable
118 addr += (READ_ONCE(random_array[i]) % guest_num_pages) in guest_code()
543 guest_array = addr_gva2hva(vm, (vm_vaddr_t)random_array); in vcpu_worker()