Searched refs:test_args (Results 1 – 10 of 10) sorted by relevance
/linux/tools/testing/selftests/kvm/ |
H A D | arch_timer.c | 31 struct test_args test_args = { variable 121 usleep(msecs_to_usecs(test_args.migration_freq_ms)); in test_vcpu_migration() 123 for (n_done = 0, i = 0; i < test_args.nr_vcpus; i++) { in test_vcpu_migration() 135 } while (test_args.nr_vcpus != n_done); in test_vcpu_migration() 147 vcpu_done_map = bitmap_zalloc(test_args.nr_vcpus); in test_run() 150 for (i = 0; i < (unsigned long)test_args.nr_vcpus; i++) { in test_run() 157 if (test_args.migration_freq_ms) { in test_run() 166 for (i = 0; i < test_args.nr_vcpus; i++) in test_run() 169 if (test_args.migration_freq_ms) in test_run() 201 test_args.nr_vcpus = atoi_positive("Number of vCPUs", optarg); in parse_args() [all …]
|
H A D | kvm_page_table_test.c | 47 struct test_args { struct 67 static struct test_args test_args; argument 90 struct test_args *p = &test_args; in guest_code() 256 guest_code, test_args.vcpus); in pre_init_before_test() 270 test_args.vm = vm; in pre_init_before_test() 271 test_args.guest_test_virt_mem = guest_test_virt_mem; in pre_init_before_test() 272 test_args.host_page_size = host_page_size; in pre_init_before_test() 273 test_args.host_num_pages = test_mem_size / host_page_size; in pre_init_before_test() 274 test_args.large_page_size = large_page_size; in pre_init_before_test() 275 test_args.large_num_pages = test_mem_size / large_page_size; in pre_init_before_test() [all …]
|
H A D | memslot_perf_test.c | 890 struct test_args { struct 898 static void help(char *name, struct test_args *targs) in help() argument 961 struct test_args *targs) in parse_args() 1047 const struct test_args *targs, in test_loop() 1100 struct test_args targs = { in main()
|
/linux/tools/testing/selftests/kvm/arm64/ |
H A D | arch_timer_edge_cases.c | 52 struct test_args { struct 67 struct test_args test_args = { variable 491 uint64_t base_wait = test_args.wait_ms; in test_reprogram_timers() 507 int32_t tval = (int32_t) msec_to_cycles(test_args.wait_ms); in test_basic_functionality() 508 uint64_t cval = DEF_CNT + msec_to_cycles(test_args.wait_ms); in test_basic_functionality() 532 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks() 548 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks() 559 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks() 563 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks() 567 timer_set_tval(timer, -1 * msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks() [all …]
|
H A D | vgic_irq.c | 26 struct test_args { struct 231 static void reset_priorities(struct test_args *args) in reset_priorities() 244 static void test_inject_fail(struct test_args *args, in test_inject_fail() 256 static void guest_inject(struct test_args *args, in guest_inject() 293 static void guest_restore_active(struct test_args *args, in guest_restore_active() 361 static void test_inject_preemption(struct test_args *args, in test_inject_preemption() 408 static void test_injection(struct test_args *args, struct kvm_inject_desc *f) in test_injection() 427 static void test_injection_failure(struct test_args *args, in test_injection_failure() 437 static void test_preemption(struct test_args *args, struct kvm_inject_desc *f) in test_preemption() 455 static void test_restore_active(struct test_args *args, struct kvm_inject_desc *f) in test_restore_active() [all …]
|
/linux/tools/testing/selftests/kvm/riscv/ |
H A D | arch_timer.c | 48 for (config_iter = 0; config_iter < test_args.nr_iter; config_iter++) { in guest_run() 50 timer_set_next_cmp_ms(test_args.timer_period_ms); in guest_run() 55 udelay(msecs_to_usecs(test_args.timer_period_ms) + in guest_run() 56 test_args.timer_err_margin_us); in guest_run() 83 int nr_vcpus = test_args.nr_vcpus; in test_vm_create() 101 sync_global_to_guest(vm, test_args); in test_vm_create()
|
H A D | sbi_pmu_test.c | 43 struct test_args { struct 48 static struct test_args targs; argument
|
/linux/tools/testing/selftests/kvm/include/ |
H A D | timer_test.h | 20 struct test_args { struct 38 extern struct test_args test_args; argument
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | wmi.c | 8925 u32 *test_args) in ath11k_wmi_send_unit_test_cmd() argument 8963 ut_cmd_args[i] = test_args[i]; in ath11k_wmi_send_unit_test_cmd()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | wmi.c | 9815 u32 *test_args) in ath12k_wmi_send_unit_test_cmd() argument 9852 ut_cmd_args[i] = test_args[i]; in ath12k_wmi_send_unit_test_cmd()
|