Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
Dtest_lockup.c144 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-6.6.21/drivers/platform/x86/intel/ifs/
Dload.c154 char test_file[64]; in validate_ifs_metadata() local
157 snprintf(test_file, sizeof(test_file), "%02x-%02x-%02x-%02x.scan", in validate_ifs_metadata()
163 dev_err(dev, "IFS Metadata missing in file %s\n", test_file); in validate_ifs_metadata()
172 IFS_CHUNK_ALIGNMENT, test_file); in validate_ifs_metadata()
178 test_file, ifs_meta->current_image); in validate_ifs_metadata()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c50 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_file); in test_btf_dump_case()
/linux-6.6.21/tools/perf/tests/
Dsymbols.c100 static int test_file(struct test_info *ti, char *filename) in test_file() function
145 ret = test_file(&ti, filename); in test__symbols()
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()
/linux-6.6.21/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()