Home
last modified time | relevance | path

Searched refs:nr_threads (Results 1 – 5 of 5) sorted by relevance

/kernel/power/
Dswap.c687 unsigned thr, run_threads, nr_threads; in save_image_lzo() local
698 nr_threads = num_online_cpus() - 1; in save_image_lzo()
699 nr_threads = clamp_val(nr_threads, 1, LZO_THREADS); in save_image_lzo()
708 data = vmalloc(array_size(nr_threads, sizeof(*data))); in save_image_lzo()
714 for (thr = 0; thr < nr_threads; thr++) in save_image_lzo()
728 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
751 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
770 pr_info("Using %u thread(s) for compression\n", nr_threads); in save_image_lzo()
779 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo()
873 for (thr = 0; thr < nr_threads; thr++) in save_image_lzo()
[all …]
/kernel/
Dexit.c123 nr_threads--; in __unhash_process()
196 sig->nr_threads--; in __exit_signal()
515 if (atomic_dec_and_test(&core_state->nr_threads)) in exit_mm()
Dfork.c130 int nr_threads; /* The idle threads do not count.. */ variable
1629 sig->nr_threads = 1; in copy_signal()
2060 if (data_race(nr_threads >= max_threads)) in copy_process()
2373 current->signal->nr_threads++; in copy_process()
2383 nr_threads++; in copy_process()
Dsys.c2761 info->procs = nr_threads; in do_sysinfo()
/kernel/debug/kdb/
Dkdb_main.c2560 val->procs = nr_threads-1; in kdb_sysinfo()