Lines Matching refs:ncpus
205 static int ncpus; variable
243 if (ncpus == 1) in toggle_pcpustats()
264 y_mem += ncpus - 1; in update_layout()
265 y_arc += ncpus - 1; in update_layout()
266 y_carc += ncpus - 1; in update_layout()
267 y_swap += ncpus - 1; in update_layout()
268 y_idlecursor += ncpus - 1; in update_layout()
269 y_message += ncpus - 1; in update_layout()
270 y_header += ncpus - 1; in update_layout()
271 y_procs += ncpus - 1; in update_layout()
272 Header_lines += ncpus - 1; in update_layout()
378 ncpus = CPU_COUNT(&cpumask); in machine_init()
379 assert(ncpus > 0); in machine_init()
380 pcpu_cp_old = calloc(ncpus * CPUSTATES, sizeof(long)); in machine_init()
381 pcpu_cp_diff = calloc(ncpus * CPUSTATES, sizeof(long)); in machine_init()
382 pcpu_cpu_states = calloc(ncpus * CPUSTATES, sizeof(int)); in machine_init()
383 statics->ncpus = ncpus; in machine_init()
569 si->ncpus = ncpus; in get_system_info()
572 si->ncpus = 1; in get_system_info()