Lines Matching defs:lwps
129 "Total: %d processes, %d lwps, load averages: %3.2f, %3.2f, %3.2f"
156 static uint_t total_lwps; /* total number of lwps */
160 static list_t lwps; /* list of lwps/processes */
673 list_remove_lwp(&lwps, lwp_tmp);
873 lwp = list_add_lwp(&lwps, pid, lwpid);
887 lwp = list_add_lwp(&lwps, pid, lwpid);
1074 * This procedure removes all dead lwps from the linked list of all lwps.
1109 list_remove_lwp(&lwps, lwp);
1360 list_clear(&lwps);
1564 list_alloc(&lwps, opts.o_ntop);
1570 list_setkeyfunc(sortk, &opts, &lwps, LT_LWPS);
1613 list_free(&lwps);
1618 list_alloc(&lwps, opts.o_ntop);
1628 list_refresh(&lwps);
1634 list_sort(&lwps);
1635 list_print(&lwps);