Home
last modified time | relevance | path

Searched refs:num_threads (Results 1 – 15 of 15) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/bb/compress/
H A Dzstd.py16 def __init__(self, *args, num_threads=1, compresslevel=3, **kwargs): argument
17 self.num_threads = num_threads
22 if self.num_threads == 1 or not shutil.which("pzstd"):
24 return ["pzstd", "-p", "%d" % self.num_threads]
/openbmc/qemu/util/
H A Doslib-posix.c75 int num_threads; member
340 for (i = 0; i < sigbus_memset_context->num_threads; i++) { in sigbus_handler()
459 for (i = 0; i < context->num_threads; i++) { in wait_and_free_mem_prealloc_context()
490 context->num_threads = in touch_all_pages()
504 if (context->num_threads == 1 && !async) { in touch_all_pages()
518 context->threads = g_new0(MemsetThread, context->num_threads); in touch_all_pages()
519 numpages_per_thread = numpages / context->num_threads; in touch_all_pages()
520 leftover = numpages % context->num_threads; in touch_all_pages()
521 for (i = 0; i < context->num_threads; i++) { in touch_all_pages()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dpackagedata.py73 num_threads = int(d.getVar("BB_NUMBER_THREADS"))
74 with bb.compress.zstd.open(fn, "rt", encoding="utf-8", num_threads=num_threads) as f:
325 num_threads = int(d.getVar("BB_NUMBER_THREADS"))
326 …bb.compress.zstd.open(subdata_extended_file, "wt", encoding="utf-8", num_threads=num_threads) as f:
/openbmc/qemu/target/i386/kvm/
H A Dvmsr_energy.h92 pid_t *vmsr_get_thread_ids(pid_t pid, unsigned int *num_threads);
H A Dvmsr_energy.c277 pid_t *vmsr_get_thread_ids(pid_t pid, unsigned int *num_threads) in vmsr_get_thread_ids() argument
306 *num_threads = thread_count; in vmsr_get_thread_ids()
H A Dkvm.c2766 unsigned int num_threads = 0; in kvm_msr_energy_thread() local
2796 = vmsr_get_thread_ids(vmsr->pid, &num_threads); in kvm_msr_energy_thread()
2802 thd_stat = g_renew(vmsr_thread_stat, thd_stat, num_threads); in kvm_msr_energy_thread()
2804 memset(thd_stat, 0, num_threads * sizeof(vmsr_thread_stat)); in kvm_msr_energy_thread()
2807 for (int i = 0; i < num_threads; i++) { in kvm_msr_energy_thread()
2822 for (int j = 0; j < num_threads; j++) { in kvm_msr_energy_thread()
2846 for (int j = 0; j < num_threads; j++) { in kvm_msr_energy_thread()
2875 for (int i = 0; i < num_threads; i++) { in kvm_msr_energy_thread()
2899 for (int i = 0; i < num_threads; i++) { in kvm_msr_energy_thread()
2912 for (int j = 0; j < num_threads; j++) { in kvm_msr_energy_thread()
[all …]
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dcpu.c435 int num_threads; in broadwell_init() local
441 num_threads = (msr.lo >> 0) & 0xffff; in broadwell_init()
444 num_threads); in broadwell_init()
446 priv->ht_disabled = num_threads == num_cores; in broadwell_init()
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dcompression.py99 with bb.compress.zstd.open(*args, num_threads=2, **kwargs) as f:
/openbmc/u-boot/tools/buildman/
H A Dbuilder.py223 def __init__(self, toolchains, base_dir, git_dir, num_threads, num_jobs, argument
262 self.num_threads = num_threads
298 for i in range(self.num_threads):
1556 self._PrepareWorkingSpace(min(self.num_threads, len(board_selected)),
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pyruvate-crates.inc57 crate://crates.io/num_threads/0.1.6 \
164 SRC_URI[num_threads-0.1.6.sha256sum] = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9da…
/openbmc/openbmc/poky/meta/classes/
H A Dcreate-spdx-2.2.bbclass408 num_threads = int(d.getVar("BB_NUMBER_THREADS"))
412 with bb.compress.zstd.open(name, mode=mode + "b", num_threads=num_threads) as f:
885 num_threads = int(d.getVar("BB_NUMBER_THREADS"))
892 with bb.compress.zstd.open(spdx_tar_path, "w", num_threads=num_threads) as f:
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dsiggen.py481 with bb.compress.zstd.open(fd, "wt", encoding="utf-8", num_threads=1) as f:
972 with bb.compress.zstd.open(a, "rt", encoding="utf-8", num_threads=1) as f:
978 with bb.compress.zstd.open(b, "rt", encoding="utf-8", num_threads=1) as f:
1221 with bb.compress.zstd.open(a, "rt", encoding="utf-8", num_threads=1) as f:
/openbmc/openbmc/poky/meta/recipes-devtools/rust/
H A Dcargo-c-crates.inc198 crate://crates.io/num_threads/0.1.7 \
538 SRC_URI[num_threads-0.1.7.sha256sum] = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb9…
/openbmc/openbmc/meta-security/recipes-ids/suricata/
H A Dsuricata-crates.inc73 crate://crates.io/num_threads/0.1.6 \
195 SRC_URI[num_threads-0.1.6.sha256sum] = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9da…
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/
H A Duutils-coreutils-crates.inc173 crate://crates.io/num_threads/0.1.7 \
511 SRC_URI[num_threads-0.1.7.sha256sum] = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb9…