Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/prstat/
H A Dprsort.c63 FRC2PCT((((lwp_info_t *)lwp)->li_info.pr_lwp.pr_pctcpu)*1000)); in get_cpu_from_psinfo()
69 lwp_info_t *p = (lwp_info_t *)lwp; in get_cpu_from_usage()
80 return ((ulong_t)TIME2SEC(((lwp_info_t *)lwp)->li_info.pr_lwp.pr_time)); in get_time()
86 return ((ulong_t)((lwp_info_t *)lwp)->li_info.pr_size); in get_size()
92 return ((ulong_t)((lwp_info_t *)lwp)->li_info.pr_rssize); in get_rssize()
98 return ((ulong_t)((lwp_info_t *)lwp)->li_info.pr_lwp.pr_pri); in get_pri()
218 lwp_info_t *lwp = list->l_head; in list_sort()
H A Dprtable.h71 lwp_info_t *l_lwp;
85 extern void lwpid_add(lwp_info_t *, pid_t, id_t);
86 extern lwp_info_t *lwpid_get(pid_t, id_t);
H A Dprstat.c356 lwp_info_t *lwp; in list_print()
624 static lwp_info_t *
627 lwp_info_t *lwp; in list_add_lwp()
630 list->l_head = list->l_tail = lwp = Zalloc(sizeof (lwp_info_t)); in list_add_lwp()
632 lwp = Zalloc(sizeof (lwp_info_t)); in list_add_lwp()
634 ((lwp_info_t *)list->l_tail)->li_next = lwp; in list_add_lwp()
645 list_remove_lwp(list_t *list, lwp_info_t *lwp) in list_remove_lwp()
666 lwp_info_t *lwp = list->l_tail; in list_clear()
667 lwp_info_t *lwp_tmp; in list_clear()
690 list_update(list_t *list, lwp_info_t *lwp) in list_update()
[all …]
H A Dprtable.c244 lwpid_add(lwp_info_t *lwp, pid_t pid, id_t lwpid) in lwpid_add()
293 lwp_info_t *
H A Dprstat.h118 } lwp_info_t; typedef
/titanic_50/usr/src/lib/libproc/common/
H A DPlwpregs.c51 static lwp_info_t *
55 lwp_info_t *lwp = list_next(&core->core_lwp_head); in getlwpcore()
99 lwp_info_t *lwp; in getlwpstatus()
230 lwp_info_t *lwp; in Plwp_getxregs()
266 lwp_info_t *lwp; in Plwp_getgwindows()
297 lwp_info_t *lwp; in Plwp_getasrs()
335 lwp_info_t *lwp; in Plwp_getpsinfo()
404 lwp_info_t *lwp; in Plwp_stack()
443 lwp_info_t *lwp; in Plwp_main_stack()
523 lwp_info_t *lwp; in Plwp_alt_stack()
H A DPcontrol.h143 } lwp_info_t; typedef
155 lwp_info_t *core_lwp; /* current lwp information */
H A DPcore.c195 lwp_info_t *nlwp, *lwp = list_next(&core->core_lwp_head); in Pfini_core()
321 static lwp_info_t *
325 lwp_info_t *lwp = list_next(&core->core_lwp_head); in lwpid2info()
326 lwp_info_t *next; in lwpid2info()
340 if ((lwp = calloc(1, sizeof (lwp_info_t))) == NULL) in lwpid2info()
396 lwp_info_t *lwp; in note_lwpstatus()
511 lx_prstatus64_to_lwp(lx_prstatus64_t *prs64, lwp_info_t *lwp) in lx_prstatus64_to_lwp()
547 lx_prstatus32_to_lwp(lx_prstatus32_t *prs32, lwp_info_t *lwp) in lx_prstatus32_to_lwp()
598 lwp_info_t *lwp; in note_linux_prstatus()
673 lwp_info_t *lwp; in note_lwpsinfo()
[all …]
H A DPservice.c180 lwp_info_t *lwp = list_next(&core->core_lwp_head); in ps_lgetxregsize()
H A DPcontrol.c2924 lwp_info_t *lwp = list_prev(&core->core_lwp_head); in Plwp_iter()
2996 lwp_info_t *lwp = list_prev(&core->core_lwp_head); in Plwp_iter_all()
/titanic_50/usr/src/lib/libproc/sparc/
H A DPisadep.c191 lwp_info_t *lwp = list_next(&core->core_lwp_head); in read_gwin()
/titanic_50/usr/src/lib/libproc/sparcv9/
H A DPisadep.c239 lwp_info_t *lwp = list_next(&core->core_lwp_head); in read_gwin()