Searched refs:test_file (Results 1 – 4 of 4) sorted by relevance
/linux/lib/ |
A D | test_lockup.c | 144 struct file *test_file; variable 529 test_file = filp_open(test_file_path, O_RDONLY, 0); in test_lockup_init() 530 if (IS_ERR(test_file)) { in test_lockup_init() 531 pr_err("failed to open %s: %ld\n", test_file_path, PTR_ERR(test_file)); in test_lockup_init() 532 return PTR_ERR(test_file); in test_lockup_init() 534 test_inode = file_inode(test_file); in test_lockup_init() 545 if (test_lock_mapping && test_file && test_file->f_mapping) in test_lockup_init() 546 lock_rwsem_ptr = (unsigned long)&test_file->f_mapping->i_mmap_rwsem; in test_lockup_init() 603 if (test_file) in test_lockup_init() 604 fput(test_file); in test_lockup_init()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | btf_dump.c | 52 char test_file[256], out_file[256], diff_cmd[1024]; in test_btf_dump_case() local 57 snprintf(test_file, sizeof(test_file), "%s.o", t->file); in test_btf_dump_case() 59 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()
|
/linux/tools/perf/tests/ |
A 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()
|
/linux/tools/testing/selftests/powerpc/mm/ |
A D | subpage_prot.c | 185 int test_file(void) in test_file() function 235 return test_harness(test_file, "subpage_prot_file"); in main()
|
Completed in 11 milliseconds