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

12

/linux-master/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.sh397 tmpfile=`mktemp /var/run/nexthoptestXXX`
398 mpid=`($IP monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
400 echo "$mpid $tmpfile"
406 local tmpfile=$2
411 lines=`wc -l $tmpfile | cut "-d " -f1`
414 rm -rf $tmpfile
H A 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-master/tools/testing/selftests/tmpfs/
H A DMakefile6 TEST_GEN_PROGS += bug-link-o-tmpfile
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-vmxcopy.c43 char tmpfile[] = "/tmp/page_faultXXXXXX"; local
52 fd = mkstemp(tmpfile);
59 unlink(tmpfile);
/linux-master/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"
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Darg_parsing.c119 char tmpfile[80]; local
123 snprintf(tmpfile, sizeof(tmpfile), "/tmp/bpf_arg_parsing_test.XXXXXX");
124 fd = mkstemp(tmpfile);
149 ASSERT_OK(parse_test_list_file(tmpfile, &set, true), "parse file");
166 remove(tmpfile);
/linux-master/fs/overlayfs/
H A Dovl_entry.h75 bool tmpfile; member in struct:ovl_fs
H A Dcopy_up.c846 struct file *tmpfile; local
855 tmpfile = ovl_do_tmpfile(ofs, c->workdir, c->stat.mode);
858 if (IS_ERR(tmpfile))
859 return PTR_ERR(tmpfile);
861 temp = tmpfile->f_path.dentry;
863 err = ovl_copy_up_file(ofs, c->dentry, tmpfile, c->stat.size);
901 fput(tmpfile);
975 if (S_ISREG(c->stat.mode) && ofs->tmpfile)
H A Dsuper.c646 struct file *tmpfile; local
682 tmpfile = ovl_do_tmpfile(ofs, ofs->workdir, S_IFREG | 0);
683 ofs->tmpfile = !IS_ERR(tmpfile);
684 if (ofs->tmpfile)
685 fput(tmpfile);
687 pr_warn("upper fs does not support tmpfile.\n");
/linux-master/tools/testing/selftests/mm/
H A Dmap_populate.c86 ftmp = tmpfile();
87 BUG_ON(!ftmp, "tmpfile()");
H A Dgup_longterm.c257 ksft_print_msg("[RUN] %s ... with tmpfile\n", desc);
259 file = tmpfile();
261 ksft_test_result_fail("tmpfile() failed\n");
281 ksft_print_msg("[RUN] %s ... with local tmpfile\n", desc);
H A Dcow.c399 file = tmpfile();
401 ksft_test_result_fail("tmpfile() failed\n");
1574 ksft_print_msg("[RUN] %s ... with tmpfile\n", desc);
1576 file = tmpfile();
1578 ksft_test_result_fail("tmpfile() failed\n");
/linux-master/tools/perf/tests/shell/
H A 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-master/fs/xfs/
H A Dxfs_iops.c170 struct file *tmpfile) /* unnamed file */
193 /* Verify mode is valid also for tmpfile case */
198 if (!tmpfile) {
227 if (tmpfile) {
237 d_tmpfile(tmpfile, inode);
250 if (!tmpfile)
1147 .tmpfile = xfs_vn_tmpfile,
1174 .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) argument
H A Dxfs_inode.c2148 * a tmpfile via O_TMPFILE. The inode @ip must have nlink == 0.
2924 * whiteout in a rename transaction. We use a tmpfile inode here so that if we
2935 struct xfs_inode *tmpfile; local
2940 &tmpfile);
2946 error = xfs_inode_init_security(VFS_I(tmpfile), VFS_I(dp), &name);
2948 xfs_finish_inode_setup(tmpfile);
2949 xfs_irele(tmpfile);
2954 * Prepare the tmpfile inode as if it were created through the VFS.
2958 xfs_setup_iops(tmpfile);
2959 xfs_finish_inode_setup(tmpfile);
[all...]
/linux-master/fs/
H A Dbad_inode.c183 .tmpfile = bad_inode_tmpfile,
/linux-master/tools/testing/selftests/net/forwarding/
H A Dlib.sh1740 tmpfile=`mktemp /var/run/nexthoptestXXX`
1741 mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null`
1743 echo "$mpid $tmpfile"
1749 local tmpfile=$1; shift
1755 local lines=`grep '^\w' $tmpfile | wc -l`
1758 rm -rf $tmpfile
/linux-master/fs/minix/
H A Dnamei.c266 .tmpfile = minix_tmpfile,
/linux-master/fs/ramfs/
H A Dinode.c201 .tmpfile = ramfs_tmpfile,
/linux-master/fs/cachefiles/
H A Dcache.c64 !d_backing_inode(root)->i_op->tmpfile ||
/linux-master/fs/ext2/
H A Dnamei.c421 .tmpfile = ext2_tmpfile,
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_join.sh22 tmpfile=""
166 rm -f "$tmpfile"
494 tmpfile=$(mktemp)
495 head --bytes="$bytes" "$in" > "$tmpfile"
496 mv "$tmpfile" "$in"
497 head --bytes="$bytes" "$out" > "$tmpfile"
498 mv "$tmpfile" "$out"
499 tmpfile=""
/linux-master/fs/udf/
H A Dnamei.c1015 .tmpfile = udf_tmpfile,

Completed in 381 milliseconds

12