/linux-master/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 | 397 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 D | rtnetlink.sh | 661 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 D | Makefile | 6 TEST_GEN_PROGS += bug-link-o-tmpfile
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-vmxcopy.c | 43 char tmpfile[] = "/tmp/page_faultXXXXXX"; local 52 fd = mkstemp(tmpfile); 59 unlink(tmpfile);
|
/linux-master/tools/testing/selftests/netfilter/ |
H A D | nft_queue.sh | 265 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 D | nft_nat.sh | 1035 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 D | arg_parsing.c | 119 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 D | ovl_entry.h | 75 bool tmpfile; member in struct:ovl_fs
|
H A D | copy_up.c | 846 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 D | super.c | 646 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 D | map_populate.c | 86 ftmp = tmpfile(); 87 BUG_ON(!ftmp, "tmpfile()");
|
H A D | gup_longterm.c | 257 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 D | cow.c | 399 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 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-master/fs/xfs/ |
H A D | xfs_iops.c | 170 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 D | xfs_inode.c | 2148 * 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 D | bad_inode.c | 183 .tmpfile = bad_inode_tmpfile,
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | lib.sh | 1740 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 D | namei.c | 266 .tmpfile = minix_tmpfile,
|
/linux-master/fs/ramfs/ |
H A D | inode.c | 201 .tmpfile = ramfs_tmpfile,
|
/linux-master/fs/cachefiles/ |
H A D | cache.c | 64 !d_backing_inode(root)->i_op->tmpfile ||
|
/linux-master/fs/ext2/ |
H A D | namei.c | 421 .tmpfile = ext2_tmpfile,
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 22 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 D | namei.c | 1015 .tmpfile = udf_tmpfile,
|