Home
last modified time | relevance | path

Searched refs:test_params (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/net/
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-5.10/drivers/gpu/drm/selftests/
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/
Dmap_perf_test_kern.c177 } test_params; in SYSCALL() local
190 ret = bpf_probe_read_user(test_params.dst6, sizeof(test_params.dst6), in SYSCALL()
195 if (test_params.magic0 != 0xdead || in SYSCALL()
196 test_params.magic1 != 0xbeef) in SYSCALL()
199 test_case = test_params.tcase; in SYSCALL()
224 key = test_params.key; in SYSCALL()