Home
last modified time | relevance | path

Searched defs:test (Results 1 – 25 of 50) sorted by relevance

12

/tools/testing/scatterlist/
Dmain.c23 struct test { in main() struct
24 int alloc_ret; in main()
25 unsigned num_pages; in main()
26 unsigned *pfn; in main()
27 unsigned size; in main()
28 unsigned int max_seg; in main()
29 unsigned int expected_segments; in main()
30 } *test, tests[] = { in main() local
/tools/perf/tests/
Dtests.h30 struct test { struct
32 int (*func)(struct test *test, int subtest); argument
37 } subtest; argument
43 int test__vmlinux_matches_kallsyms(struct test *test, int subtest); argument
Dattr.py33 def __init__(self, test, msg): argument
40 def __init__(self, test, arch): argument
47 def __init__(self, test): argument
Dbuiltin-test.c313 static bool perf_test__matches(struct test *test, int curr, int argc, const char *argv[]) in perf_test__matches()
337 static int run_test(struct test *test, int subtest) in run_test()
509 static int shell_test__run(struct test *test, int subdir __maybe_unused) in shell_test__run()
543 struct test test = { in run_shell_tests() local
Dunit_number__scnprintf.c15 } test[] = { in test__unit_number__scnprint() local
Dexpr.c9 static int test(struct parse_ctx *ctx, const char *e, double val2) in test() function
Dkmod-path.c10 static int test(const char *path, bool alloc_name, bool kmod, in test() function
/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c21 static struct test { struct
25 } all_tests[] = { argument
366 static int test_one(struct test *test) in test_one()
394 static struct test *test; in test_vphn() local
/tools/testing/selftests/bpf/
Dtest_sock_addr.c641 static int load_insns(const struct sock_addr_test *test, in load_insns()
674 static int bind4_prog_load(const struct sock_addr_test *test) in bind4_prog_load()
763 static int bind6_prog_load(const struct sock_addr_test *test) in bind6_prog_load()
829 static int load_path(const struct sock_addr_test *test, const char *path) in load_path()
850 static int connect4_prog_load(const struct sock_addr_test *test) in connect4_prog_load()
855 static int connect6_prog_load(const struct sock_addr_test *test) in connect6_prog_load()
860 static int xmsg_ret_only_prog_load(const struct sock_addr_test *test, in xmsg_ret_only_prog_load()
871 static int sendmsg_allow_prog_load(const struct sock_addr_test *test) in sendmsg_allow_prog_load()
876 static int sendmsg_deny_prog_load(const struct sock_addr_test *test) in sendmsg_deny_prog_load()
881 static int recvmsg_allow_prog_load(const struct sock_addr_test *test) in recvmsg_allow_prog_load()
[all …]
Dtest_sysctl.c1411 static int load_sysctl_prog_insns(struct sysctl_test *test, in load_sysctl_prog_insns()
1454 static int load_sysctl_prog_file(struct sysctl_test *test) in load_sysctl_prog_file()
1474 static int load_sysctl_prog(struct sysctl_test *test, const char *sysctl_path) in load_sysctl_prog()
1482 const struct sysctl_test *test) in access_sysctl()
1526 static int run_test_case(int cgfd, struct sysctl_test *test) in run_test_case()
Dtest_section_names.c149 static int test_prog_type_by_name(const struct sec_name_test *test) in test_prog_type_by_name()
181 static int test_attach_type_by_name(const struct sec_name_test *test) in test_attach_type_by_name()
205 static int run_test_case(const struct sec_name_test *test) in run_test_case()
Dtest_progs.c41 static void dump_test_log(const struct prog_test_def *test, bool failed) in dump_test_log()
70 struct prog_test_def *test = env.test; in test__end_subtest() local
91 struct prog_test_def *test = env.test; in test__start_subtest() local
184 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name) in bpf_find_map()
549 struct prog_test_def *test = &prog_test_defs[i]; in main() local
Dtest_xdping.sh57 test() function
Dtest_align.c610 static int do_test_single(struct bpf_align_test *test) in do_test_single()
679 struct bpf_align_test *test = &tests[i]; in do_test() local
Dtest_btf.c3627 struct btf_raw_test *test = &raw_tests[test_num - 1]; in do_test_raw() local
3782 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in test_big_btf_info() local
3867 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in test_btf_id() local
4002 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in do_test_get_info() local
4114 const struct btf_file_test *test = &file_tests[test_num - 1]; in do_test_file() local
4757 const struct btf_raw_test *test = &pprint_test_template[test_num]; in do_test_pprint() local
5844 static int test_get_finfo(const struct prog_info_raw_test *test, in test_get_finfo()
5925 static int test_get_linfo(const struct prog_info_raw_test *test, in test_get_linfo()
6145 const struct prog_info_raw_test *test = &info_raw_tests[test_num - 1]; in do_test_info_raw() local
6721 const struct btf_dedup_test *test = &dedup_tests[test_num - 1]; in do_test_dedup() local
Dtest_netcnt.c21 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map()
/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c87 struct test { struct
103 struct test tests[] = { argument
Dbpf_verif_scale.c100 const struct scale_test_def *test = &tests[i]; in test_bpf_verif_scale() local
/tools/pci/
Dpcitest.c39 static int run_test(struct pci_test *test) in run_test()
139 struct pci_test *test; in main() local
/tools/testing/vsock/
DMakefile3 test: vsock_diag_test target
/tools/virtio/
DMakefile3 test: virtio_test vringh_test target
/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c24 static int test(void) in test() function
/tools/testing/selftests/x86/
Dtest_FISTTP.c21 int test(void) in test() function
/tools/testing/selftests/filesystems/incfs/
Dincfs_test.c1058 struct test_files_set test = get_test_files_set(); in basic_file_ops_test() local
1224 struct test_files_set test = get_test_files_set(); in dynamic_files_and_data_test() local
1337 struct test_files_set test = get_test_files_set(); in concurrent_reads_and_writes_test() local
1459 struct test_files_set test = get_test_files_set(); in work_after_remount_test() local
1700 struct test_files_set test = get_test_files_set(); in child_procs_waiting_for_data_test() local
1792 struct test_files_set test = get_test_files_set(); in multiple_providers_test() local
1887 struct test_files_set test = get_test_files_set(); in signature_test() local
2044 struct test_files_set test = get_test_files_set(); in hash_tree_test() local
2242 struct test_files_set test = get_test_files_set(); in read_log_test() local
2379 #define MAKE_TEST(test) \ in main() argument
/tools/testing/selftests/mqueue/
Dmq_perf_tests.c371 struct test { struct
372 char *desc;
373 void (*func)(int *);

12