Home
last modified time | relevance | path

Searched refs:test_file (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_btf_dump.c60 char test_file[256], out_file[256], diff_cmd[1024]; in test_btf_dump_case() local
67 snprintf(test_file, sizeof(test_file), "%s.o", test_case->name); in test_btf_dump_case()
69 btf = btf__parse_elf(test_file, NULL); in test_btf_dump_case()
99 snprintf(test_file, sizeof(test_file), "progs/%s.c", test_case->name); in test_btf_dump_case()
100 if (access(test_file, R_OK) == -1) in test_btf_dump_case()
105 snprintf(test_file, sizeof(test_file), "%s.c", in test_btf_dump_case()
119 test_file, out_file); in test_btf_dump_case()
Dtest_btf.c4278 static int test_file(void) in test_file() function
7005 err |= test_file(); in main()
7022 err |= test_file(); in main()
/tools/testing/selftests/filesystems/incfs/
Dincfs_test.c48 struct test_file { struct
60 struct test_file *files; argument
169 static struct test_file files[] = { in get_test_files_set()
207 static struct test_file files[] = { in get_small_test_files_set()
336 static int emit_test_blocks(char *mnt_dir, struct test_file *file, in emit_test_blocks()
432 static int emit_test_block(char *mnt_dir, struct test_file *file, in emit_test_block()
462 static int emit_test_file_data(char *mount_dir, struct test_file *file) in emit_test_file_data()
598 struct test_file *file, in validate_test_file_content_with_seed()
659 static int validate_test_file_content(char *mount_dir, struct test_file *file) in validate_test_file_content()
682 struct test_file *file = NULL; in data_producer()
[all …]
/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c185 int test_file(void) in test_file() function
235 return test_harness(test_file, "subpage_prot_file"); in main()
/tools/perf/tests/
Ddso-data.c18 static char *test_file(int size) in test_file() function
120 char *file = test_file(TEST_FILE_SIZE); in test__dso_data()
214 file = test_file(size); in dsos__create()