Home
last modified time | relevance | path

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

/system/core/toolbox/
Dtop.c85 static struct proc_info **old_procs, **new_procs; variable
180 new_procs = old_procs = NULL; in top_main()
184 old_procs = new_procs; in top_main()
238 new_procs = calloc(INIT_PROCS * (threads ? THREAD_MULT : 1), sizeof(struct proc_info *)); in read_procs()
320 new_procs[i] = NULL; in read_procs()
375 new_procs = realloc(new_procs, 2 * num_new_procs * sizeof(struct proc_info *)); in add_proc()
376 if (!new_procs) die("Could not expand procs array.\n"); in add_proc()
378 new_procs[i] = NULL; in add_proc()
381 new_procs[proc_num] = proc; in add_proc()
434 if (new_procs[i]) { in print_procs()
[all …]