Searched refs:test_file (Results 1 – 5 of 5) sorted by relevance
| /linux/lib/ |
| H A D | test_lockup.c | 144 struct file *test_file; variable 534 test_file = filp_open(test_file_path, O_RDONLY, 0); in test_lockup_init() 535 if (IS_ERR(test_file)) { in test_lockup_init() 536 pr_err("failed to open %s: %ld\n", test_file_path, PTR_ERR(test_file)); in test_lockup_init() 537 return PTR_ERR(test_file); in test_lockup_init() 539 test_inode = file_inode(test_file); in test_lockup_init() 550 if (test_lock_mapping && test_file && test_file->f_mapping) in test_lockup_init() 551 lock_rwsem_ptr = (unsigned long)&test_file->f_mapping->i_mmap_rwsem; in test_lockup_init() 608 if (test_file) in test_lockup_init() 609 fput(test_file); in test_lockup_init()
|
| /linux/tools/perf/tests/shell/ |
| H A D | header.sh | 51 test_file() { function 70 test_file
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_dump.c | 50 char test_file[256], out_file[256], diff_cmd[1024]; in test_btf_dump_case() local 55 snprintf(test_file, sizeof(test_file), "%s.bpf.o", t->file); in test_btf_dump_case() 57 btf = btf__parse_elf(test_file, NULL); in test_btf_dump_case() 96 snprintf(test_file, sizeof(test_file), "progs/%s.c", t->file); in test_btf_dump_case() 97 if (access(test_file, R_OK) == -1) in test_btf_dump_case() 102 snprintf(test_file, sizeof(test_file), "%s.c", t->file); in test_btf_dump_case() 115 test_file, out_fil in test_btf_dump_case() [all...] |
| /linux/tools/perf/tests/ |
| H A D | dso-data.c | 19 static char *test_file(int size) in test_file() 132 char *file = test_file(TEST_FILE_SIZE); in test__dso_data() 224 char *file = test_file(size); in dsos__delete() 18 static char *test_file(int size) test_file() function
|
| H A D | symbols.c | 170 static int test_file(struct test_info *ti, char *filename) in test_file() function 219 ret = test_file(&ti, filename); in test__symbols()
|