Home
last modified time | relevance | path

Searched refs:testfile (Results 1 – 5 of 5) sorted by relevance

/linux/tools/perf/tests/shell/
H A Dtest_uprobe_from_different_cu.sh26 perf probe -x ${temp_dir}/testfile -d foo || true
40 cat > ${temp_dir}/testfile-foo.h << EOF
50 cat > ${temp_dir}/testfile-foo.c << EOF
51 #include "testfile-foo.h"
64 cat > ${temp_dir}/testfile-main.c << EOF
65 #include "testfile-foo.h"
82 gcc -g -Og -flto -c ${temp_dir}/testfile-foo.c -o ${temp_dir}/testfile-foo.o
83 gcc -g -Og -c ${temp_dir}/testfile-main.c -o ${temp_dir}/testfile
[all...]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfs_kfuncs.c14 static const char testfile[] = "/tmp/test_progs_fs_kfuncs";
22 fd = open(testfile, O_CREAT | O_RDONLY, 0644); in test_xattr()
29 err = setxattr(testfile, name, value, strlen(value) + 1, 0); in test_xattr()
51 fd = open(testfile, O_RDONLY, 0644); in test_xattr()
57 err = getxattr(testfile, name, v, sizeof(v)); in test_xattr()
73 remove(testfile); in test_fsverity()
84 err = getxattr(testfile, skel->rodata->xattr_foo, value_out, sizeof(value_out)); in test_fsverity()
91 ASSERT_OK(setxattr(testfile, skel->rodata->xattr_foo, value_foo, strlen(value_foo) + 1, 0), in test_fsverity()
100 err = getxattr(testfile, skel->rodata->xattr_bar, value_out, sizeof(value_out)); in test_fsverity()
111 err = getxattr(testfile, ske in test_fsverity()
13 static const char testfile[] = "/tmp/test_progs_fs_kfuncs"; global() variable
[all...]
/linux/tools/cgroup/
H A Diocost_coef_gen.py89 def run_fio(testfile, duration, iotype, iodepth, blocksize, jobs): argument
130 testfile = f'/dev/{devname}' variable
134 testfile = 'iocost-coef-fio.testfile' variable
136 create_testfile(testfile, testfile_size)
155 rbps = run_fio(testfile, args.duration, 'read',
158 rseqiops = round(run_fio(testfile, args.duration, 'read',
161 rrandiops = round(run_fio(testfile, args.duration, 'randread',
164 wbps = run_fio(testfile, args.duration, 'write',
167 wseqiops = round(run_fio(testfile, args.duration, 'write',
170 wrandiops = round(run_fio(testfile, args.duration, 'randwrite',
/linux/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c486 char testfile[INPUT_MAX]; in split_file_backed_thp() local
511 status = snprintf(testfile, INPUT_MAX, "%s/thp_file", tmpfs_loc); in split_file_backed_thp()
517 fd = open(testfile, O_CREAT|O_RDWR, 0664); in split_file_backed_thp()
532 write_debugfs(PATH_FMT, testfile, pgoff_start, pgoff_end, order); in split_file_backed_thp()
553 status = unlink(testfile); in split_file_backed_thp()
611 static int create_pagecache_thp_and_fd(const char *testfile, size_t fd_size, in create_pagecache_thp_and_fd() argument
619 *fd = open(testfile, O_CREAT | O_RDWR, 0664); in create_pagecache_thp_and_fd()
621 ksft_exit_fail_msg("Failed to create a file at %s\n", testfile); in create_pagecache_thp_and_fd()
642 *fd = open(testfile, O_RDWR); in create_pagecache_thp_and_fd()
665 unlink(testfile); in create_pagecache_thp_and_fd()
[all …]
/linux/samples/bpf/
H A D.gitignore44 testfile.img