Home
last modified time | relevance | path

Searched refs:tempdir (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/arch/um/os-Linux/
H A Dmem.c21 static char *tempdir = NULL; variable
41 * Choose the tempdir to use. We want something on tmpfs so that our memory is
42 * not subject to the host's vm.dirty_ratio. If a tempdir is specified in the
64 os_info("Checking environment variables for a tempdir..."); in choose_tempdir()
85 os_warn("Warning: tempdir %s is not on tmpfs\n", dir); in choose_tempdir()
92 * Create an unlinked tempfile in a suitable tempdir. template must be the
100 if (tempdir == NULL) { in make_tempfile()
101 tempdir = choose_tempdir(); in make_tempfile()
102 if (tempdir == NULL) { in make_tempfile()
103 os_warn("Failed to choose tempdir in make_tempfile()
[all...]
/kernel/linux/linux-6.6/arch/um/os-Linux/
H A Dmem.c43 static char *tempdir = NULL; variable
63 * Choose the tempdir to use. We want something on tmpfs so that our memory is
64 * not subject to the host's vm.dirty_ratio. If a tempdir is specified in the
86 os_info("Checking environment variables for a tempdir..."); in choose_tempdir()
107 os_warn("Warning: tempdir %s is not on tmpfs\n", dir); in choose_tempdir()
114 * Create an unlinked tempfile in a suitable tempdir. template must be the
122 if (tempdir == NULL) { in make_tempfile()
123 tempdir = choose_tempdir(); in make_tempfile()
124 if (tempdir == NULL) { in make_tempfile()
125 os_warn("Failed to choose tempdir in make_tempfile()
[all...]
/kernel/linux/linux-5.10/scripts/
H A Dget_dvb_firmware8 use File::Temp qw/ tempdir /;
54 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
72 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
91 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
109 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
127 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
160 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
177 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
194 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
206 my $tmpdir = tempdir(DI
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dget_dvb_firmware8 use File::Temp qw/ tempdir /;
54 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
72 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
91 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
109 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
127 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
160 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
177 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
194 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
206 my $tmpdir = tempdir(DI
[all...]
H A Drust_is_available_test.py28 path = pathlib.Path(cls.tempdir.name)
76 cls.tempdir = tempfile.TemporaryDirectory()
78 cls.missing = pathlib.Path(cls.tempdir.name) / "missing"
80 cls.nonexecutable = pathlib.Path(cls.tempdir.name) / "nonexecutable"
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dsdt.c83 char *tempdir = NULL, *myself = get_self_path(); in test__sdt_event() local
86 pr_debug("Failed to make a tempdir for build-id cache\n"); in test__sdt_event()
90 tempdir = realpath(__tempdir, NULL); in test__sdt_event()
91 if (tempdir == NULL) in test__sdt_event()
95 set_buildid_dir(tempdir); in test__sdt_event()
112 free(tempdir); in test__sdt_event()
H A Dattr.py222 def run_cmd(self, tempdir):
228 cmd = "PERF_TEST_ATTR=%s %s %s -o %s/perf.data %s" % (tempdir,
229 self.perf, self.command, tempdir, self.args)
302 tempdir = tempfile.mkdtemp();
306 self.run_cmd(tempdir);
310 for f in glob.glob(tempdir + '/event*'):
323 shutil.rmtree(tempdir)
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dsdt.c83 char *tempdir = NULL, *myself = get_self_path(); in test__sdt_event() local
86 pr_debug("Failed to make a tempdir for build-id cache\n"); in test__sdt_event()
90 tempdir = realpath(__tempdir, NULL); in test__sdt_event()
91 if (tempdir == NULL) in test__sdt_event()
95 set_buildid_dir(tempdir); in test__sdt_event()
112 free(tempdir); in test__sdt_event()
H A Dattr.py271 def run_cmd(self, tempdir):
286 cmd = "PERF_TEST_ATTR=%s %s %s -o %s/perf.data %s" % (tempdir,
287 self.perf, self.command, tempdir, self.args)
363 tempdir = tempfile.mkdtemp();
367 self.run_cmd(tempdir);
371 for f in glob.glob(tempdir + '/event*'):
384 shutil.rmtree(tempdir)

Completed in 6 milliseconds