Home
last modified time | relevance | path

Searched refs:test_params (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dreuseport_bpf.c31 struct test_params { struct
152 static void build_recv_group(const struct test_params p, int fd[], uint16_t mod, in build_recv_group()
188 static void send_from(struct test_params p, uint16_t sport, char *buf, in send_from()
213 static void test_recv_order(const struct test_params p, int fd[], int mod) in test_recv_order()
273 static void test_reuseport_ebpf(struct test_params p) in test_reuseport_ebpf()
290 static void test_reuseport_cbpf(struct test_params p) in test_reuseport_cbpf()
307 static void test_extra_filter(const struct test_params p) in test_extra_filter()
339 static void test_filter_no_reuseport(const struct test_params p) in test_filter_no_reuseport()
466 test_reuseport_ebpf((struct test_params) { in main()
473 test_reuseport_ebpf((struct test_params) { in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dreuseport_bpf.c29 struct test_params { struct
150 static void build_recv_group(const struct test_params p, int fd[], uint16_t mod, in build_recv_group()
186 static void send_from(struct test_params p, uint16_t sport, char *buf, in send_from()
211 static void test_recv_order(const struct test_params p, int fd[], int mod) in test_recv_order()
271 static void test_reuseport_ebpf(struct test_params p) in test_reuseport_ebpf()
288 static void test_reuseport_cbpf(struct test_params p) in test_reuseport_cbpf()
305 static void test_extra_filter(const struct test_params p) in test_extra_filter()
337 static void test_filter_no_reuseport(const struct test_params p) in test_filter_no_reuseport()
464 test_reuseport_ebpf((struct test_params) { in main()
471 test_reuseport_ebpf((struct test_params) { in main()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
H A Dtest-drm_dp_mst_helper.c24 } test_params[] = { in igt_dp_mst_calc_pbn_mode() local
32 for (i = 0; i < ARRAY_SIZE(test_params); i++) { in igt_dp_mst_calc_pbn_mode()
33 pbn = drm_dp_calc_pbn_mode(test_params[i].rate, in igt_dp_mst_calc_pbn_mode()
34 test_params[i].bpp, in igt_dp_mst_calc_pbn_mode()
35 test_params[i].dsc); in igt_dp_mst_calc_pbn_mode()
36 FAIL(pbn != test_params[i].expected, in igt_dp_mst_calc_pbn_mode()
38 test_params[i].expected, test_params[i].rate, in igt_dp_mst_calc_pbn_mode()
39 test_params[i].bpp, pbn); in igt_dp_mst_calc_pbn_mode()
/kernel/linux/linux-5.10/samples/bpf/
H A Dmap_perf_test_kern.c177 } test_params; in stress_lru_hmap_alloc() local
190 ret = bpf_probe_read_user(test_params.dst6, sizeof(test_params.dst6), in stress_lru_hmap_alloc()
195 if (test_params.magic0 != 0xdead || in stress_lru_hmap_alloc()
196 test_params.magic1 != 0xbeef) in stress_lru_hmap_alloc()
199 test_case = test_params.tcase; in stress_lru_hmap_alloc()
224 key = test_params.key; in stress_lru_hmap_alloc()
/kernel/linux/linux-6.6/samples/bpf/
H A Dmap_perf_test.bpf.c186 } test_params; in BPF_KSYSCALL() local
196 ret = bpf_probe_read_user(test_params.dst6, sizeof(test_params.dst6), in BPF_KSYSCALL()
201 if (test_params.magic0 != 0xdead || in BPF_KSYSCALL()
202 test_params.magic1 != 0xbeef) in BPF_KSYSCALL()
205 test_case = test_params.tcase; in BPF_KSYSCALL()
230 key = test_params.key; in BPF_KSYSCALL()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/
H A Dmemslot_modification_stress_test.c87 struct test_params { struct
95 struct test_params *p = arg; in run_test()
141 struct test_params p = { in main()
H A Daccess_tracking_perf_test.c68 struct test_params { struct
305 struct test_params *params = arg; in run_test()
352 struct test_params params = { in main()
H A Ddemand_paging_test.c111 struct test_params { struct
132 struct test_params *p = arg; in run_test()
234 struct test_params p = { in main()
H A Ddirty_log_perf_test.c128 struct test_params { struct
141 struct test_params *p = arg; in run_test()
344 struct test_params p = { in main()
H A Dkvm_page_table_test.c231 struct test_params { struct
240 struct test_params *p = arg; in pre_init_before_test()
442 struct test_params p = { in main()
H A Ddirty_log_test.c696 struct test_params { struct
704 struct test_params *p = arg; in run_test()
871 struct test_params p = { in main()
/kernel/linux/linux-6.6/arch/s390/lib/
H A Dtest_unwind.c430 struct test_params { struct
439 static const struct test_params param_list[] = {
484 static void get_desc(const struct test_params *params, char *desc) in get_desc()
497 const struct test_params *params; in test_unwind_flags()
500 params = (const struct test_params *)test->param_value; in test_unwind_flags()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/
H A Dpage_fault_test.c69 struct test_params { struct
364 static void setup_uffd(struct kvm_vm *vm, struct test_params *p, in setup_uffd()
576 static void setup_memslots(struct kvm_vm *vm, struct test_params *p) in setup_memslots()
638 static void print_test_banner(enum vm_guest_mode mode, struct test_params *p) in print_test_banner()
700 struct test_params *p = (struct test_params *)arg; in run_test()
1100 struct test_params p = { in for_each_test_and_guest_mode()
/kernel/linux/linux-6.6/mm/kmsan/
H A Dkmsan_test.c235 static void test_params(struct kunit *test) in test_params() function
242 EXPECTATION_UNINIT_VALUE_FN(expect, "test_params"); in test_params()
590 KUNIT_CASE(test_params),

Completed in 12 milliseconds