Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dverify_sig_setup.sh37 local tmp_dir="$1"
39 echo "${x509_genkey_content}" > ${tmp_dir}/x509.genkey
42 -batch -x509 -config ${tmp_dir}/x509.genkey \
43 -outform PEM -out ${tmp_dir}/signing_key.pem \
44 -keyout ${tmp_dir}/signing_key.pem 2>&1
46 openssl x509 -in ${tmp_dir}/signing_key.pem -out \
47 ${tmp_dir}/signing_key.der -outform der
49 key_id=$(cat ${tmp_dir}/signing_key.der | keyctl padd asymmetric ebpf_testing_key @s)
56 local tmp_dir="$1"
60 rm -rf ${tmp_dir}
[all …]
H A Dima_setup.sh35 local tmp_dir="$1"
36 local mount_img="${tmp_dir}/test.img"
37 local mount_dir="${tmp_dir}/mnt"
130 setup "${tmp_dir}"
132 cleanup "${tmp_dir}"
134 run "${tmp_dir}"
136 modify_bin "${tmp_dir}"
138 restore_bin "${tmp_dir}"
140 load_policy "${tmp_dir}"
/openbmc/linux/drivers/gpu/drm/hisilicon/hibmc/
H A Dhibmc_drm_i2c.c30 u32 tmp_dir = readl(priv->mmio + GPIO_DATA_DIRECTION); in hibmc_set_i2c_signal() local
33 tmp_dir &= ~mask; in hibmc_set_i2c_signal()
34 writel(tmp_dir, priv->mmio + GPIO_DATA_DIRECTION); in hibmc_set_i2c_signal()
41 tmp_dir |= mask; in hibmc_set_i2c_signal()
42 writel(tmp_dir, priv->mmio + GPIO_DATA_DIRECTION); in hibmc_set_i2c_signal()
50 u32 tmp_dir = readl(priv->mmio + GPIO_DATA_DIRECTION); in hibmc_get_i2c_signal() local
52 if ((tmp_dir & mask) != mask) { in hibmc_get_i2c_signal()
53 tmp_dir &= ~mask; in hibmc_get_i2c_signal()
54 writel(tmp_dir, priv->mmio + GPIO_DATA_DIRECTION); in hibmc_get_i2c_signal()
/openbmc/openbmc/poky/meta/lib/oe/package_manager/
H A Dcommon_deb_ipk.py64 tmp_dir = tempfile.mkdtemp()
66 os.chdir(tmp_dir)
80 bb.utils.remove(tmp_dir, recurse=True)
84 bb.utils.remove(tmp_dir, recurse=True)
88 bb.note("Extracted %s to %s" % (pkg_path, tmp_dir))
89 bb.utils.remove(os.path.join(tmp_dir, "debian-binary"))
90 bb.utils.remove(os.path.join(tmp_dir, "control.tar.gz"))
91 bb.utils.remove(os.path.join(tmp_dir, data_tar))
94 return tmp_dir
/openbmc/linux/arch/x86/boot/
H A Dgenimage.sh246 tmp_dir="$(dirname "$FIMAGE")/isoimage"
247 rm -rf "$tmp_dir"
248 mkdir "$tmp_dir"
251 cp "$isolinux" "$ldlinux" "$tmp_dir"
252 cp "$FBZIMAGE" "$tmp_dir"/linux
253 echo default linux "$KCMDLINE" > "$tmp_dir"/isolinux.cfg
254 cp "${FDINITRDS[@]}" "$tmp_dir"/
258 -boot-info-table "$tmp_dir"
260 rm -rf "$tmp_dir"
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/
H A Dmove-log-file-to-proper-dir.patch18 const char* tmp_dir = getenv("TMPDIR");
19 if (tmp_dir == nullptr) tmp_dir = "/tmp";
20 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid());
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/
H A Dmove-log-file-to-proper-dir.patch18 const char* tmp_dir = getenv("TMPDIR");
19 if (tmp_dir == nullptr) tmp_dir = "/tmp";
20 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid());
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dverify_pkcs7_sig.c95 static int populate_data_item_str(const char *tmp_dir, struct data *data_item) in populate_data_item_str() argument
126 snprintf(path, sizeof(path), "%s/signing_key.pem", tmp_dir); in populate_data_item_str()
261 char *tmp_dir; in test_verify_pkcs7_sig() local
271 tmp_dir = mkdtemp(tmp_dir_template); in test_verify_pkcs7_sig()
272 if (!ASSERT_OK_PTR(tmp_dir, "mkdtemp")) in test_verify_pkcs7_sig()
275 ret = _run_setup_process(tmp_dir, "setup"); in test_verify_pkcs7_sig()
316 ret = populate_data_item_str(tmp_dir, &data); in test_verify_pkcs7_sig()
395 _run_setup_process(tmp_dir, "cleanup"); in test_verify_pkcs7_sig()
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dliboe.py17 cls.tmp_dir = get_bb_var('TMPDIR')
27 testloc = oe.path.join(self.tmp_dir, 'liboetests')
52 testloc = oe.path.join(self.tmp_dir, 'liboetests')
85 testloc = oe.path.join(self.tmp_dir, 'liboetests')
/openbmc/qemu/ui/
H A Dspice-app.c42 static const char *tmp_dir; variable
129 if (tmp_dir) { in spice_app_atexit()
130 rmdir(tmp_dir); in spice_app_atexit()
163 tmp_dir = app_dir; in spice_app_display_early_init()
/openbmc/openbmc/poky/meta/lib/oeqa/buildperf/
H A Dtest_basic.py47 postfile = os.path.join(self.tmp_dir, 'postfile.conf')
103 tmp_dir = self.bb_vars['TMPDIR']
111 deploy_dir = os.path.join(tmp_dir, 'esdk-deploy')
H A Dbase.py267 def tmp_dir(self): member in BuildPerfTestCase
275 if not os.path.isdir(self.tmp_dir):
276 os.mkdir(self.tmp_dir)
282 if os.path.isdir(self.tmp_dir):
283 shutil.rmtree(self.tmp_dir)
/openbmc/qemu/hw/s390x/
H A Ds390-ccw.c80 g_autofree char *tmp_dir = NULL; in s390_ccw_get_dev_info() local
97 tmp_dir = g_path_get_dirname(dev_path); in s390_ccw_get_dev_info()
98 tmp = g_path_get_basename(tmp_dir); in s390_ccw_get_dev_info()
/openbmc/openbmc/poky/meta/lib/oe/package_manager/rpm/
H A D__init__.py403 tmp_dir = tempfile.mkdtemp()
405 os.chdir(tmp_dir)
411 bb.utils.remove(tmp_dir, recurse=True)
415 bb.utils.remove(tmp_dir, recurse=True)
419 bb.note("Extracted %s to %s" % (pkg_path, tmp_dir))
422 return tmp_dir
/openbmc/openbmc/poky/meta/lib/oe/
H A Dgpg_sign.py93 with tempfile.TemporaryDirectory(dir=os.path.dirname(output_file)) as tmp_dir:
94 tmp_file = os.path.join(tmp_dir, os.path.basename(output_file))
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dsshcontrol.py172 tmp_dir = os.path.join(root, d).replace(localpath, "")
173 new_dir = os.path.join(remotepath, tmp_dir.lstrip("/"))
/openbmc/linux/drivers/crypto/hisilicon/zip/
H A Dzip_main.c850 struct dentry *tmp_dir; in hisi_zip_dfx_debug_init() local
854 tmp_dir = debugfs_create_dir("zip_dfx", qm->debug.debug_root); in hisi_zip_dfx_debug_init()
858 0644, tmp_dir, data, in hisi_zip_dfx_debug_init()
863 debugfs_create_file("diff_regs", 0444, tmp_dir, in hisi_zip_dfx_debug_init()
/openbmc/openbmc/poky/meta/classes-global/
H A Dsstate.bbclass849 with TemporaryDirectory(dir=sstate_pkg.parent) as tmp_dir:
850 tmp_pkg = Path(tmp_dir) / sstate_pkg.name
858 tmp_pkg_sig = Path(tmp_dir) / sstate_pkg_sig.name
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dbuildinfohelper.py907 self.tmp_dir = self.server.runCommand(["getVariable", "TMPDIR"])[0]
/openbmc/linux/fs/btrfs/
H A Dsend.c2101 u64 tmp_dir; in is_first_ref() local
2107 ret = get_first_ref(root, ino, &tmp_dir, NULL, tmp_name); in is_first_ref()
2111 if (dir != tmp_dir || name_len != fs_path_len(tmp_name)) { in is_first_ref()