| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_veristat.c | 14 char tmpfile[80]; member 33 snprintf(fix->tmpfile, sizeof(fix->tmpfile), "/tmp/test_veristat.XXXXXX"); in init_fixture() 34 fix->fd = mkstemp(fix->tmpfile); in init_fixture() 44 remove(fix->tmpfile); in teardown_fixture() 66 "-vl2 > %s", fix->veristat, fix->tmpfile); in test_set_global_vars_succeeds() 101 fix->veristat, input_file, fix->tmpfile); in test_set_global_vars_from_file_succeeds() 118 fix->veristat, fix->tmpfile); in test_set_global_vars_out_of_range()
|
| H A D | arg_parsing.c | 119 char tmpfile[80]; in test_parse_test_list_file() local 123 snprintf(tmpfile, sizeof(tmpfile), "/tmp/bpf_arg_parsing_test.XXXXXX"); in test_parse_test_list_file() 124 fd = mkstemp(tmpfile); in test_parse_test_list_file() 149 ASSERT_OK(parse_test_list_file(tmpfile, &set, true), "parse file"); in test_parse_test_list_file() 166 remove(tmpfile); in test_parse_test_list_file()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | fin_ack_lat.sh | 9 tmpfile=$(mktemp /tmp/fin_ack_latency.XXXX.log) 13 rm -f $tmpfile 21 ./fin_ack_lat | tee $tmpfile & 25 NR_SPIKES=$(wc -l $tmpfile | awk '{print $1}')
|
| H A D | fib_nexthops.sh | 404 tmpfile=`mktemp /var/run/nexthoptestXXX` 405 mpid=`($IP monitor $mtype > $tmpfile & echo $!) 2>/dev/null` 407 echo "$mpid $tmpfile" 413 local tmpfile=$2 418 lines=`wc -l $tmpfile | cut "-d " -f1` 421 rm -rf $tmpfile
|
| H A D | rtnetlink.sh | 596 tmpfile=`mktemp /var/run/ipsectestXXX` 597 mpid=`(ip x m > $tmpfile & echo $!) 2>/dev/null` 638 lines=`wc -l $tmpfile | cut "-d " -f1` 640 rm -rf $tmpfile
|
| /linux-6.15/arch/um/os-Linux/skas/ |
| H A D | process.c | 256 char *tmpfile = NULL; in init_stub_exe_fd() local 266 if (tmpfile == NULL) in init_stub_exe_fd() 269 strcpy(tmpfile, tempdir); in init_stub_exe_fd() 272 stub_exe_fd = mkstemp(tmpfile); in init_stub_exe_fd() 285 if (tmpfile) in init_stub_exe_fd() 286 unlink(tmpfile); in init_stub_exe_fd() 293 if (!tmpfile) { in init_stub_exe_fd() 298 unlink(tmpfile); in init_stub_exe_fd() 306 unlink(tmpfile); in init_stub_exe_fd() 310 unlink(tmpfile); in init_stub_exe_fd() [all …]
|
| /linux-6.15/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-vmxcopy.c | 43 char tmpfile[] = "/tmp/page_faultXXXXXX"; in test_vmxcopy() local 52 fd = mkstemp(tmpfile); in test_vmxcopy() 59 unlink(tmpfile); in test_vmxcopy()
|
| /linux-6.15/tools/testing/selftests/tmpfs/ |
| H A D | .gitignore | 2 /bug-link-o-tmpfile
|
| H A D | Makefile | 5 TEST_GEN_PROGS += bug-link-o-tmpfile
|
| /linux-6.15/tools/perf/tests/shell/ |
| H A D | test_intel_pt.sh | 20 tmpfile="${temp_dir}/tmp-perf.data" 97 if ! perf_record_no_decode -o "${tmpfile}" -e dummy:u -C "$1" true >/dev/null 2>&1 ; then 132 perf_record_no_decode -o "${tmpfile}" -e dummy:k true >/dev/null 2>&1 && can_kernel_trace=1 413 perf_record_no_bpf -o "${tmpfile}" -e intel_pt//u "${jitdump_workload}" 414 perf inject -i "${tmpfile}" -o "${perfdatafile}" --jit
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_iops.c | 177 struct file *tmpfile) /* unnamed file */ in xfs_generic_create() argument 212 if (!tmpfile) { in xfs_generic_create() 224 if (tmpfile->f_flags & O_EXCL) in xfs_generic_create() 251 if (tmpfile) { in xfs_generic_create() 261 d_tmpfile(tmpfile, inode); in xfs_generic_create() 274 if (!tmpfile) in xfs_generic_create() 1233 .tmpfile = xfs_vn_tmpfile, 1260 .tmpfile = xfs_vn_tmpfile,
|
| H A D | xfs_inode.c | 2072 struct xfs_inode *tmpfile; in xfs_rename_alloc_whiteout() local 2076 error = xfs_create_tmpfile(&args, &tmpfile); in xfs_rename_alloc_whiteout() 2082 error = xfs_inode_init_security(VFS_I(tmpfile), VFS_I(dp), &name); in xfs_rename_alloc_whiteout() 2084 xfs_finish_inode_setup(tmpfile); in xfs_rename_alloc_whiteout() 2085 xfs_irele(tmpfile); in xfs_rename_alloc_whiteout() 2094 xfs_setup_iops(tmpfile); in xfs_rename_alloc_whiteout() 2095 xfs_finish_inode_setup(tmpfile); in xfs_rename_alloc_whiteout() 2096 VFS_I(tmpfile)->i_state |= I_LINKABLE; in xfs_rename_alloc_whiteout() 2098 *wip = tmpfile; in xfs_rename_alloc_whiteout()
|
| /linux-6.15/fs/overlayfs/ |
| H A D | copy_up.c | 868 struct file *tmpfile; in ovl_copy_up_tmpfile() local 877 tmpfile = ovl_do_tmpfile(ofs, c->workdir, c->stat.mode); in ovl_copy_up_tmpfile() 880 if (IS_ERR(tmpfile)) in ovl_copy_up_tmpfile() 881 return PTR_ERR(tmpfile); in ovl_copy_up_tmpfile() 883 temp = tmpfile->f_path.dentry; in ovl_copy_up_tmpfile() 885 err = ovl_copy_up_file(ofs, c->dentry, tmpfile, c->stat.size, in ovl_copy_up_tmpfile() 924 fput(tmpfile); in ovl_copy_up_tmpfile() 998 if (S_ISREG(c->stat.mode) && ofs->tmpfile) in ovl_do_copy_up()
|
| H A D | super.c | 659 struct file *tmpfile; in ovl_make_workdir() local 695 tmpfile = ovl_do_tmpfile(ofs, ofs->workdir, S_IFREG | 0); in ovl_make_workdir() 696 ofs->tmpfile = !IS_ERR(tmpfile); in ovl_make_workdir() 697 if (ofs->tmpfile) in ovl_make_workdir() 698 fput(tmpfile); in ovl_make_workdir()
|
| H A D | ovl_entry.h | 75 bool tmpfile; member
|
| H A D | dir.c | 235 struct dentry *newdentry, bool hardlink, struct file *tmpfile) in ovl_instantiate() argument 270 if (tmpfile) in ovl_instantiate() 271 d_mark_tmpfile(tmpfile, inode); in ovl_instantiate() 1354 if (!OVL_FS(dentry->d_sb)->tmpfile) in ovl_tmpfile() 1418 .tmpfile = ovl_tmpfile,
|
| /linux-6.15/tools/testing/selftests/net/forwarding/ |
| H A D | lib.sh | 1766 tmpfile=`mktemp /var/run/nexthoptestXXX` 1767 mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null` 1769 echo "$mpid $tmpfile" 1775 local tmpfile=$1; shift 1781 local lines=`grep '^\w' $tmpfile | wc -l` 1784 rm -rf $tmpfile
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | map_populate.c | 88 ftmp = tmpfile(); in main()
|
| H A D | gup_longterm.c | 276 file = tmpfile(); in run_with_tmpfile()
|
| /linux-6.15/fs/ |
| H A D | bad_inode.c | 183 .tmpfile = bad_inode_tmpfile,
|
| /linux-6.15/fs/minix/ |
| H A D | namei.c | 265 .tmpfile = minix_tmpfile,
|
| /linux-6.15/fs/ramfs/ |
| H A D | inode.c | 201 .tmpfile = ramfs_tmpfile,
|
| /linux-6.15/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_join.sh | 22 tmpfile="" 176 rm -f "$tmpfile" 530 tmpfile=$(mktemp) 531 head --bytes="$bytes" "$in" > "$tmpfile" 532 mv "$tmpfile" "$in" 533 head --bytes="$bytes" "$out" > "$tmpfile" 534 mv "$tmpfile" "$out" 535 tmpfile=""
|
| /linux-6.15/fs/cachefiles/ |
| H A D | cache.c | 65 !d_backing_inode(root)->i_op->tmpfile || in cachefiles_add_cache()
|
| /linux-6.15/fs/ext2/ |
| H A D | namei.c | 422 .tmpfile = ext2_tmpfile,
|