Home
last modified time | relevance | path

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

123

/openbmc/ipmitool/contrib/
H A Dlog_bmc.sh54 ${tmpfile} && \
55 ${IPMI_CMD} sel add ${tmpfile} > /dev/null 2>&1
61 tmpfile=$(/usr/bin/mktemp)
85 [ -f ${tmpfile} ] && rm -f ${tmpfile} > /dev/null 2>&1
/openbmc/u-boot/tools/
H A Dmrvl_uart.sh23 tmpfile=/tmp/xmodem.pattern
91 if [ -f "$tmpfile" ]
93 rm -f $tmpfile
100 echo -n -e "$prefix\x11\x22\x33\x44\x55\x66\x77" >> $tmpfile
107 dd if=$tmpfile of=$port &>/dev/null
H A Dfit_image.c27 const char *tmpfile) in fit_add_file_data() argument
633 char tmpfile[MKIMAGE_MAX_TMPFILE_LEN]; in fit_handle_file() local
653 if (fit_build(params, tmpfile)) { in fit_handle_file()
666 params->imagefile, tmpfile); in fit_handle_file()
675 ret = fit_import_data(params, tmpfile); in fit_handle_file()
690 ret = fit_add_file_data(params, size_inc, tmpfile); in fit_handle_file()
703 ret = fit_extract_data(params, tmpfile); in fit_handle_file()
708 if (rename (tmpfile, params->imagefile) == -1) { in fit_handle_file()
710 params->cmdname, tmpfile, params->imagefile, in fit_handle_file()
712 unlink (tmpfile); in fit_handle_file()
[all …]
/openbmc/linux/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}')
/openbmc/linux/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 &
273 rm -f "$tmpfile"
282 tmpfile=$(mktemp) || exit 1
284 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
293 rm -f "$tmpfile"
302 tmpfile=$(mktemp) || exit 1
310 rm -f "$tmpfile"
332 tmpfile=$(mktemp) || exit 1
[all …]
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/openpower-inventory-upload/
H A Dinventory_upload.py103 h, tmpfile = tempfile.mkstemp() variable
114 subprocess.call(['pflash', '-f', '-e', '-p', tmpfile, '-P', 'BMC_INV'])
116 os.remove(tmpfile)
119 os.remove(tmpfile)
/openbmc/openbmc/poky/bitbake/lib/toaster/bldcollector/
H A Dviews.py29 with os.fdopen(handle, "w") as tmpfile:
31 tmpfile.write(chunk)
32 tmpfile.close()
/openbmc/openbmc/poky/meta/recipes-core/udev/udev-extraconf/
H A Dmount.sh209 tmpfile=`find /tmp | grep "\.automount-.*${name}$"`
210 if [ ! -e "/sys/$DEVPATH" -a -e "$tmpfile" ]; then
218 mntdir=`cat "$tmpfile"`
220 rm "$tmpfile"
/openbmc/u-boot/scripts/
H A Dfill_scrapyard.py136 tmpfile = TmpFile()
159 tmpfile.file.write(line)
162 os.rename(tmpfile.filename, DOC)
/openbmc/openpower-pnor-code-mgmt/
H A Dgenerate-ubi133 tmpfile=$(mktemp "${scratch_dir}"/ubinized.XXXXXX)
148 ubinize -p ${FLASH_PEB_SIZE}KiB -m ${FLASH_PAGE_SIZE} -o "${tmpfile}" "$config_file"
150 dd bs=1k conv=notrunc seek=0 if="${tmpfile}" of="${outfile}"
/openbmc/openbmc/poky/meta/recipes-devtools/quilt/quilt/
H A Dfix-grep-3.8.patch94 local tmpfile
95 if tmpfile=$(gen_tempfile)
97 - grep -v "^$(quote_bre $patch)\$" $DB > $tmpfile
98 + grep -v "^$(quote_grep_re $patch)\$" $DB > $tmpfile
99 cat $tmpfile > $DB
100 rm -f $tmpfile
/openbmc/qemu/tests/qtest/
H A Dvirtio-net-failover.c1776 gchar *tmpfile; in main() local
1808 qtest_add_data_func("failover-virtio-net/migrate/on/out", tmpfile, in main()
1810 qtest_add_data_func("failover-virtio-net/migrate/on/in", tmpfile, in main()
1812 qtest_add_data_func("failover-virtio-net/migrate/off/out", tmpfile, in main()
1814 qtest_add_data_func("failover-virtio-net/migrate/off/in", tmpfile, in main()
1825 tmpfile, test_migrate_abort_wait_unplug); in main()
1830 tmpfile, test_migrate_abort_timeout); in main()
1833 tmpfile, test_multi_out); in main()
1835 tmpfile, test_multi_in); in main()
1840 unlink(tmpfile); in main()
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dkernel-module-split.bbclass55 tmpfile = tf[1]
57 tmpkofile = tmpfile + ".ko"
70 cmd = "%s -j .modinfo -O binary %s %s" % (d.getVar("OBJCOPY"), tmpkofile, tmpfile)
72 cmd = "%s -j .modinfo -O binary %s %s" % (d.getVar("OBJCOPY"), file, tmpfile)
75 with open(tmpfile, errors='replace') as f:
78 os.unlink(tmpfile)
/openbmc/linux/tools/testing/selftests/tmpfs/
H A D.gitignore2 /bug-link-o-tmpfile
H A DMakefile6 TEST_GEN_PROGS += bug-link-o-tmpfile
/openbmc/linux/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
/openbmc/linux/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()
/openbmc/linux/fs/xfs/
H A 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,
/openbmc/linux/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
/openbmc/linux/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
/openbmc/linux/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
/openbmc/linux/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
/openbmc/linux/tools/testing/selftests/mm/
H A Dmap_populate.c79 ftmp = tmpfile(); in main()

123