Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.sh401 tmpfile=`mktemp /var/run/nexthoptestXXX`
402 mpid=`($IP monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
404 echo "$mpid $tmpfile"
410 local tmpfile=$2
415 lines=`wc -l $tmpfile | cut "-d " -f1`
418 rm -rf $tmpfile
Drtnetlink.sh762 tmpfile=`mktemp /var/run/ipsectestXXX`
763 mpid=`(ip x m > $tmpfile & echo $!) 2>/dev/null`
816 lines=`wc -l $tmpfile | cut "-d " -f1`
819 rm -rf $tmpfile
/linux-6.6.21/tools/testing/selftests/netfilter/ !
Dnft_queue.sh265 tmpfile=$(mktemp) || exit 1
266 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
267 ip netns exec ${ns2} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null &
271 ip netns exec ${ns1} nc -w 5 10.0.2.99 12345 <"$tmpfile" >/dev/null &
273 rm -f "$tmpfile"
282 tmpfile=$(mktemp) || exit 1
284 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
285 ip netns exec ${nsrouter} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null &
292 ip netns exec ${nsrouter} nc -w 5 127.0.0.1 12345 <"$tmpfile" > /dev/null
293 rm -f "$tmpfile"
[all …]
Dnft_nat.sh1035 local tmpfile=$(mktemp)
1036 dd if=/dev/urandom of=$tmpfile bs=4096 count=1 2>/dev/null
1044 ip netns exec "$ns2" timeout 3 socat - UDP4-SENDTO:"10.0.1.99:4233" < "$tmpfile" > /dev/null
1052 cmp "$tmpfile" "$outfile"
1054 ls -l "$tmpfile" "$outfile"
1059 rm -f "$tmpfile" "$outfile"
/linux-6.6.21/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.6.21/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.6.21/tools/perf/tests/shell/ !
Dtest_intel_pt.sh19 tmpfile="${temp_dir}/tmp-perf.data"
96 if ! perf_record_no_decode -o "${tmpfile}" -e dummy:u -C "$1" true >/dev/null 2>&1 ; then
131 perf_record_no_decode -o "${tmpfile}" -e dummy:k true >/dev/null 2>&1 && can_kernel_trace=1
412 perf_record_no_bpf -o "${tmpfile}" -e intel_pt//u "${jitdump_workload}"
413 perf inject -i "${tmpfile}" -o "${perfdatafile}" --jit
/linux-6.6.21/tools/testing/selftests/tmpfs/ !
D.gitignore2 /bug-link-o-tmpfile
DMakefile6 TEST_GEN_PROGS += bug-link-o-tmpfile
/linux-6.6.21/fs/overlayfs/ !
Dcopy_up.c797 struct file *tmpfile; in ovl_copy_up_tmpfile() local
805 tmpfile = ovl_do_tmpfile(ofs, c->workdir, c->stat.mode); in ovl_copy_up_tmpfile()
808 if (IS_ERR(tmpfile)) in ovl_copy_up_tmpfile()
809 return PTR_ERR(tmpfile); in ovl_copy_up_tmpfile()
811 temp = tmpfile->f_path.dentry; in ovl_copy_up_tmpfile()
813 err = ovl_copy_up_file(ofs, c->dentry, tmpfile, c->stat.size); in ovl_copy_up_tmpfile()
847 fput(tmpfile); in ovl_copy_up_tmpfile()
902 if (S_ISREG(c->stat.mode) && ofs->tmpfile) in ovl_do_copy_up()
Dsuper.c706 struct file *tmpfile; in ovl_make_workdir() local
742 tmpfile = ovl_do_tmpfile(ofs, ofs->workdir, S_IFREG | 0); in ovl_make_workdir()
743 ofs->tmpfile = !IS_ERR(tmpfile); in ovl_make_workdir()
744 if (ofs->tmpfile) in ovl_make_workdir()
745 fput(tmpfile); in ovl_make_workdir()
Dovl_entry.h75 bool tmpfile; member
/linux-6.6.21/fs/xfs/ !
Dxfs_iops.c170 struct file *tmpfile) /* unnamed file */ in xfs_generic_create() argument
198 if (!tmpfile) { in xfs_generic_create()
227 if (tmpfile) { in xfs_generic_create()
237 d_tmpfile(tmpfile, inode); in xfs_generic_create()
250 if (!tmpfile) in xfs_generic_create()
1148 .tmpfile = xfs_vn_tmpfile,
1175 .tmpfile = xfs_vn_tmpfile,
Dxfs_inode.c2806 struct xfs_inode *tmpfile; in xfs_rename_alloc_whiteout() local
2811 &tmpfile); in xfs_rename_alloc_whiteout()
2817 error = xfs_inode_init_security(VFS_I(tmpfile), VFS_I(dp), &name); in xfs_rename_alloc_whiteout()
2819 xfs_finish_inode_setup(tmpfile); in xfs_rename_alloc_whiteout()
2820 xfs_irele(tmpfile); in xfs_rename_alloc_whiteout()
2829 xfs_setup_iops(tmpfile); in xfs_rename_alloc_whiteout()
2830 xfs_finish_inode_setup(tmpfile); in xfs_rename_alloc_whiteout()
2831 VFS_I(tmpfile)->i_state |= I_LINKABLE; in xfs_rename_alloc_whiteout()
2833 *wip = tmpfile; in xfs_rename_alloc_whiteout()
/linux-6.6.21/tools/testing/selftests/net/forwarding/ !
Dlib.sh1686 tmpfile=`mktemp /var/run/nexthoptestXXX`
1687 mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
1689 echo "$mpid $tmpfile"
1695 local tmpfile=$1; shift
1701 local lines=`grep '^\w' $tmpfile | wc -l`
1704 rm -rf $tmpfile
/linux-6.6.21/tools/testing/selftests/drivers/net/team/ !
Dnet_forwarding_lib.sh1686 tmpfile=`mktemp /var/run/nexthoptestXXX`
1687 mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
1689 echo "$mpid $tmpfile"
1695 local tmpfile=$1; shift
1701 local lines=`grep '^\w' $tmpfile | wc -l`
1704 rm -rf $tmpfile
/linux-6.6.21/tools/testing/selftests/drivers/net/bonding/ !
Dnet_forwarding_lib.sh1686 tmpfile=`mktemp /var/run/nexthoptestXXX`
1687 mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
1689 echo "$mpid $tmpfile"
1695 local tmpfile=$1; shift
1701 local lines=`grep '^\w' $tmpfile | wc -l`
1704 rm -rf $tmpfile
/linux-6.6.21/tools/testing/selftests/drivers/net/dsa/ !
Dlib.sh1686 tmpfile=`mktemp /var/run/nexthoptestXXX`
1687 mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
1689 echo "$mpid $tmpfile"
1695 local tmpfile=$1; shift
1701 local lines=`grep '^\w' $tmpfile | wc -l`
1704 rm -rf $tmpfile
/linux-6.6.21/tools/testing/selftests/mm/ !
Dmap_populate.c79 ftmp = tmpfile(); in main()
Dgup_longterm.c259 file = tmpfile(); in run_with_tmpfile()
/linux-6.6.21/fs/ !
Dbad_inode.c183 .tmpfile = bad_inode_tmpfile,
/linux-6.6.21/tools/testing/selftests/net/mptcp/ !
Dmptcp_join.sh22 tmpfile=""
203 rm -f "$tmpfile"
545 tmpfile=$(mktemp)
546 head --bytes="$bytes" "$in" > "$tmpfile"
547 mv "$tmpfile" "$in"
548 head --bytes="$bytes" "$out" > "$tmpfile"
549 mv "$tmpfile" "$out"
550 tmpfile=""
/linux-6.6.21/fs/ramfs/ !
Dinode.c170 .tmpfile = ramfs_tmpfile,
/linux-6.6.21/fs/minix/ !
Dnamei.c270 .tmpfile = minix_tmpfile,

12