Searched refs:test_file (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/lib/ |
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-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
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.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_file); in test_btf_dump_case()
|
/linux-5.19.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()
|
/linux-5.19.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()
|