Searched refs:test_file (Results 1 – 4 of 4) sorted by relevance
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | btf_dump.c | 51 char test_file[256], out_file[256], diff_cmd[1024]; in test_btf_dump_case() local 56 snprintf(test_file, sizeof(test_file), "%s.o", t->file); in test_btf_dump_case() 58 btf = btf__parse_elf(test_file, NULL); in test_btf_dump_case() 99 snprintf(test_file, sizeof(test_file), "progs/%s.c", t->file); 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", t->file); in test_btf_dump_case() 118 test_file, out_file); in test_btf_dump_case()
|
| /kernel/linux/linux-5.10/lib/ |
| D | test_lockup.c | 144 struct file *test_file; variable 518 test_file = filp_open(test_file_path, O_RDONLY, 0); in test_lockup_init() 519 if (IS_ERR(test_file)) { in test_lockup_init() 520 pr_err("failed to open %s: %ld\n", test_file_path, PTR_ERR(test_file)); in test_lockup_init() 521 return PTR_ERR(test_file); in test_lockup_init() 523 test_inode = file_inode(test_file); in test_lockup_init() 534 if (test_lock_mapping && test_file && test_file->f_mapping) in test_lockup_init() 535 lock_rwsem_ptr = (unsigned long)&test_file->f_mapping->i_mmap_rwsem; in test_lockup_init() 592 if (test_file) in test_lockup_init() 593 fput(test_file); in test_lockup_init()
|
| /kernel/linux/linux-5.10/tools/perf/tests/ |
| D | dso-data.c | 18 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()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
| D | subpage_prot.c | 185 int test_file(void) in test_file() function 235 return test_harness(test_file, "subpage_prot_file"); in main()
|