Searched refs:nr_threads (Results 1 – 5 of 5) sorted by relevance
/kernel/power/ |
D | swap.c | 697 unsigned thr, run_threads, nr_threads; in save_image_lzo() local 708 nr_threads = num_online_cpus() - 1; in save_image_lzo() 709 nr_threads = clamp_val(nr_threads, 1, LZO_THREADS); in save_image_lzo() 718 data = vzalloc(array_size(nr_threads, sizeof(*data))); in save_image_lzo() 735 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo() 758 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo() 777 pr_info("Using %u thread(s) for compression\n", nr_threads); in save_image_lzo() 786 for (thr = 0; thr < nr_threads; thr++) { in save_image_lzo() 880 for (thr = 0; thr < nr_threads; thr++) in save_image_lzo() 1185 unsigned i, thr, run_threads, nr_threads; in load_image_lzo() local [all …]
|
/kernel/ |
D | fork.c | 132 int nr_threads; /* The idle threads do not count.. */ variable 1808 sig->nr_threads = 1; in copy_signal() 2248 if (data_race(nr_threads >= max_threads)) in copy_process() 2580 current->signal->nr_threads++; in copy_process() 2591 nr_threads++; in copy_process() 2593 trace_android_vh_copy_process(current, nr_threads, current->signal->nr_threads); in copy_process()
|
D | exit.c | 126 nr_threads--; in __unhash_process() 199 sig->nr_threads--; in __exit_signal() 427 if (atomic_dec_and_test(&core_state->nr_threads)) in coredump_task_exit()
|
D | sys.c | 2683 info->procs = nr_threads; in do_sysinfo()
|
/kernel/debug/kdb/ |
D | kdb_main.c | 2490 val->procs = nr_threads-1; in kdb_sysinfo()
|