Home
last modified time | relevance | path

Searched refs:tmpfile (Results 1 - 25 of 66) sorted by relevance

123

/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A 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}')
H A Dfib_nexthops.sh316 tmpfile=`mktemp /var/run/nexthoptestXXX`
317 mpid=`($IP monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
319 echo "$mpid $tmpfile"
325 local tmpfile=$2
330 lines=`wc -l $tmpfile | cut "-d " -f1`
333 rm -rf $tmpfile
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A 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}')
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
H A 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...]
H A 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"
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
H A Dnft_queue.sh260 tmpfile=$(mktemp) || exit 1
261 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
262 ip netns exec ${ns2} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null &
266 ip netns exec ${ns1} nc -w 5 10.0.2.99 12345 <"$tmpfile" >/dev/null &
268 rm -f "$tmpfile"
277 tmpfile=$(mktemp) || exit 1
279 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
280 ip netns exec ${nsrouter} nc -w 5 -l -p 12345 <"$tmpfile" >/dev/null &
287 ip netns exec ${nsrouter} nc -w 5 127.0.0.1 12345 <"$tmpfile" > /dev/null
288 rm -f "$tmpfile"
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A 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()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
H A Dtm-vmxcopy.c43 char tmpfile[] = "/tmp/page_faultXXXXXX"; in test_vmxcopy() local
51 fd = mkstemp(tmpfile); in test_vmxcopy()
58 unlink(tmpfile); in test_vmxcopy()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/tm/
H A 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()
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dtc_actions.sh158 local tmpfile=$(mktemp) tmpfile1=$(mktemp)
161 dd conv=sparse status=none if=/dev/zero bs=1M count=2 of=$tmpfile
179 ip vrf exec v$h1 nc -w1 --send-only 192.0.2.2 12345 <$tmpfile
181 cmp -s $tmpfile $tmpfile1
198 rm -f $tmpfile $tmpfile1
/kernel/linux/linux-5.10/tools/testing/selftests/tmpfs/
H A DMakefile6 TEST_GEN_PROGS += bug-link-o-tmpfile
/kernel/linux/linux-6.6/tools/testing/selftests/tmpfs/
H A DMakefile6 TEST_GEN_PROGS += bug-link-o-tmpfile
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A 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
/kernel/linux/linux-6.6/fs/overlayfs/
H A 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()
H A 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()
747 pr_warn("upper fs does not support tmpfile.\n"); in ovl_make_workdir()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_iops.c170 struct file *tmpfile) /* unnamed file */ in xfs_generic_create()
193 /* Verify mode is valid also for tmpfile case */ in xfs_generic_create()
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,
164 xfs_generic_create( struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev, struct file *tmpfile) xfs_generic_create() argument
/kernel/linux/linux-5.10/fs/overlayfs/
H A Dovl_entry.h75 bool tmpfile; member
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_iops.c135 bool tmpfile) /* unnamed file */ in xfs_generic_create()
158 /* Verify mode is valid also for tmpfile case */ in xfs_generic_create()
163 if (!tmpfile) { in xfs_generic_create()
192 if (tmpfile) { in xfs_generic_create()
217 if (!tmpfile) in xfs_generic_create()
1151 .tmpfile = xfs_vn_tmpfile,
1176 .tmpfile = xfs_vn_tmpfile,
130 xfs_generic_create( struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev, bool tmpfile) xfs_generic_create() argument
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A 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
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/bonding/
H A 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
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/
H A 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
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/team/
H A 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
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dmap_populate.c81 ftmp = tmpfile(); in main()
82 BUG_ON(ftmp == 0, "tmpfile()"); in main()
/kernel/linux/linux-5.10/fs/epfs/
H A Dinode.c38 epfs_debug("epfs: tmpfile %p", inode); in epfs_tmpfile()
43 .tmpfile = epfs_tmpfile,
/kernel/linux/linux-6.6/fs/epfs/
H A Dinode.c43 epfs_debug("epfs: tmpfile %p", inode); in epfs_tmpfile()
48 .tmpfile = epfs_tmpfile,

Completed in 21 milliseconds

123