| /openbmc/openbmc/poky/bitbake/lib/bb/compress/ |
| H A D | zstd.py | 16 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 D | oslib-posix.c | 75 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 D | packagedata.py | 73 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 D | vmsr_energy.h | 92 pid_t *vmsr_get_thread_ids(pid_t pid, unsigned int *num_threads);
|
| H A D | vmsr_energy.c | 277 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 D | kvm.c | 2766 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 D | cpu.c | 435 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 D | compression.py | 99 with bb.compress.zstd.open(*args, num_threads=2, **kwargs) as f:
|
| /openbmc/u-boot/tools/buildman/ |
| H A D | builder.py | 223 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 D | python3-pyruvate-crates.inc | 57 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 D | create-spdx-2.2.bbclass | 408 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 D | siggen.py | 481 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 D | cargo-c-crates.inc | 198 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 D | suricata-crates.inc | 73 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 D | uutils-coreutils-crates.inc | 173 crate://crates.io/num_threads/0.1.7 \ 511 SRC_URI[num_threads-0.1.7.sha256sum] = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb9…
|