Home
last modified time | relevance | path

Searched refs:tmpfile (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.12.1/tools/testing/selftests/net/
Dfin_ack_lat.sh9 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}')
Dfib_nexthops.sh402 tmpfile=`mktemp /var/run/nexthoptestXXX`
403 mpid=`($IP monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
405 echo "$mpid $tmpfile"
411 local tmpfile=$2
416 lines=`wc -l $tmpfile | cut "-d " -f1`
419 rm -rf $tmpfile
Drtnetlink.sh661 tmpfile=`mktemp /var/run/ipsectestXXX`
662 mpid=`(ip x m > $tmpfile & echo $!) 2>/dev/null`
703 lines=`wc -l $tmpfile | cut "-d " -f1`
705 rm -rf $tmpfile
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Darg_parsing.c119 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.12.1/tools/testing/selftests/powerpc/tm/
Dtm-vmxcopy.c43 char tmpfile[] = "/tmp/page_faultXXXXXX"; in test_vmxcopy() local
52 fd = mkstemp(tmpfile); in test_vmxcopy()
59 unlink(tmpfile); in test_vmxcopy()
/linux-6.12.1/tools/perf/tests/shell/
Dtest_intel_pt.sh20 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.12.1/tools/testing/selftests/tmpfs/
D.gitignore2 /bug-link-o-tmpfile
DMakefile5 TEST_GEN_PROGS += bug-link-o-tmpfile
/linux-6.12.1/fs/xfs/
Dxfs_iops.c174 struct file *tmpfile) /* unnamed file */ in xfs_generic_create() argument
209 if (!tmpfile) { in xfs_generic_create()
221 if (tmpfile->f_flags & O_EXCL) in xfs_generic_create()
248 if (tmpfile) { in xfs_generic_create()
258 d_tmpfile(tmpfile, inode); in xfs_generic_create()
271 if (!tmpfile) in xfs_generic_create()
1172 .tmpfile = xfs_vn_tmpfile,
1199 .tmpfile = xfs_vn_tmpfile,
Dxfs_inode.c2059 struct xfs_inode *tmpfile; in xfs_rename_alloc_whiteout() local
2063 error = xfs_create_tmpfile(&args, &tmpfile); in xfs_rename_alloc_whiteout()
2069 error = xfs_inode_init_security(VFS_I(tmpfile), VFS_I(dp), &name); in xfs_rename_alloc_whiteout()
2071 xfs_finish_inode_setup(tmpfile); in xfs_rename_alloc_whiteout()
2072 xfs_irele(tmpfile); in xfs_rename_alloc_whiteout()
2081 xfs_setup_iops(tmpfile); in xfs_rename_alloc_whiteout()
2082 xfs_finish_inode_setup(tmpfile); in xfs_rename_alloc_whiteout()
2083 VFS_I(tmpfile)->i_state |= I_LINKABLE; in xfs_rename_alloc_whiteout()
2085 *wip = tmpfile; in xfs_rename_alloc_whiteout()
/linux-6.12.1/fs/overlayfs/
Dcopy_up.c869 struct file *tmpfile; in ovl_copy_up_tmpfile() local
878 tmpfile = ovl_do_tmpfile(ofs, c->workdir, c->stat.mode); in ovl_copy_up_tmpfile()
881 if (IS_ERR(tmpfile)) in ovl_copy_up_tmpfile()
882 return PTR_ERR(tmpfile); in ovl_copy_up_tmpfile()
884 temp = tmpfile->f_path.dentry; in ovl_copy_up_tmpfile()
886 err = ovl_copy_up_file(ofs, c->dentry, tmpfile, c->stat.size, in ovl_copy_up_tmpfile()
925 fput(tmpfile); in ovl_copy_up_tmpfile()
999 if (S_ISREG(c->stat.mode) && ofs->tmpfile) in ovl_do_copy_up()
Dsuper.c640 struct file *tmpfile; in ovl_make_workdir() local
676 tmpfile = ovl_do_tmpfile(ofs, ofs->workdir, S_IFREG | 0); in ovl_make_workdir()
677 ofs->tmpfile = !IS_ERR(tmpfile); in ovl_make_workdir()
678 if (ofs->tmpfile) in ovl_make_workdir()
679 fput(tmpfile); in ovl_make_workdir()
Dovl_entry.h75 bool tmpfile; member
Ddir.c264 struct dentry *newdentry, bool hardlink, struct file *tmpfile) in ovl_instantiate() argument
298 if (tmpfile) in ovl_instantiate()
299 d_mark_tmpfile(tmpfile, inode); in ovl_instantiate()
1356 if (!OVL_FS(dentry->d_sb)->tmpfile) in ovl_tmpfile()
1420 .tmpfile = ovl_tmpfile,
/linux-6.12.1/tools/testing/selftests/net/forwarding/
Dlib.sh1967 tmpfile=`mktemp /var/run/nexthoptestXXX`
1968 mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
1970 echo "$mpid $tmpfile"
1976 local tmpfile=$1; shift
1982 local lines=`grep '^\w' $tmpfile | wc -l`
1985 rm -rf $tmpfile
/linux-6.12.1/tools/testing/selftests/mm/
Dmap_populate.c86 ftmp = tmpfile(); in main()
Dgup_longterm.c267 file = tmpfile(); in run_with_tmpfile()
Dcow.c423 file = tmpfile(); in do_test_iouring()
1612 file = tmpfile(); in run_with_tmpfile()
/linux-6.12.1/fs/
Dbad_inode.c183 .tmpfile = bad_inode_tmpfile,
/linux-6.12.1/tools/testing/selftests/net/mptcp/
Dmptcp_join.sh22 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.12.1/fs/ramfs/
Dinode.c201 .tmpfile = ramfs_tmpfile,
/linux-6.12.1/fs/minix/
Dnamei.c265 .tmpfile = minix_tmpfile,
/linux-6.12.1/fs/cachefiles/
Dcache.c65 !d_backing_inode(root)->i_op->tmpfile || in cachefiles_add_cache()
/linux-6.12.1/fs/ext2/
Dnamei.c421 .tmpfile = ext2_tmpfile,
/linux-6.12.1/Documentation/filesystems/
Dlocking.rst82 int (*tmpfile) (struct mnt_idmap *, struct inode *,
116 tmpfile: no

12