Home
last modified time | relevance | path

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

/illumos-gate/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.c357 lwp_info_t *lwp; in list_print()
625 static lwp_info_t *
628 lwp_info_t *lwp; in list_add_lwp()
631 list->l_head = list->l_tail = lwp = Zalloc(sizeof (lwp_info_t)); in list_add_lwp()
633 lwp = Zalloc(sizeof (lwp_info_t)); in list_add_lwp()
635 ((lwp_info_t *)list->l_tail)->li_next = lwp; in list_add_lwp()
646 list_remove_lwp(list_t *list, lwp_info_t *lwp) in list_remove_lwp()
667 lwp_info_t *lwp = list->l_tail; in list_clear()
668 lwp_info_t *lwp_tmp; in list_clear()
691 list_update(list_t *list, lwp_info_t *lwp) in list_update()
[all …]
H A Dprutil.h58 extern void format_name(lwp_info_t *, char *, size_t);
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.h120 } lwp_info_t; typedef
H A Dprutil.c388 format_name(lwp_info_t *lwp, char *buf, size_t buflen) in format_name()
/illumos-gate/usr/src/lib/libproc/common/
H A DPlwpregs.c58 static lwp_info_t *
62 lwp_info_t *lwp; in getlwpcore()
166 lwp_info_t *lwp; in getlwpstatus()
417 lwp_info_t *lwp; in Plwp_getxregs()
452 lwp_info_t *lwp; in Lgetxregs()
495 lwp_info_t *lwp; in Plwp_getgwindows()
526 lwp_info_t *lwp; in Plwp_getasrs()
564 lwp_info_t *lwp; in Plwp_getpsinfo()
590 lwp_info_t *lwp; in Plwp_getname()
665 lwp_info_t *lwp; in Plwp_stack()
[all …]
H A DPcontrol.h152 } lwp_info_t; typedef
164 lwp_info_t *core_lwp; /* current lwp information */
H A DPcore.c210 lwp_info_t *lwp; in Pfini_core()
362 static lwp_info_t *
366 lwp_info_t *lwp, *prev; in lwpid2info()
380 if ((lwp = calloc(1, sizeof (lwp_info_t))) == NULL) in lwpid2info()
435 lwp_info_t *lwp; in note_lwpstatus()
550 lx_prstatus64_to_lwp(lx_prstatus64_t *prs64, lwp_info_t *lwp) in lx_prstatus64_to_lwp()
586 lx_prstatus32_to_lwp(lx_prstatus32_t *prs32, lwp_info_t *lwp) in lx_prstatus32_to_lwp()
637 lwp_info_t *lwp; in note_linux_prstatus()
712 lwp_info_t *lwp; in note_lwpsinfo()
749 lwp_info_t *lwp; in note_lwpname()
[all …]
H A DPservice.c180 lwp_info_t *lwp; in ps_lgetxregsize()
H A DPcontrol.c3036 lwp_info_t *lwp; in Plwp_iter()
3108 lwp_info_t *lwp; in Plwp_iter_all()
/illumos-gate/usr/src/lib/libproc/sparc/
H A DPisadep.c191 lwp_info_t *lwp; in read_gwin()
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c239 lwp_info_t *lwp; in read_gwin()