Searched refs:lwpname (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/ptools/pstack/ |
H A D | pstack.c | 389 char lwpname[THREAD_NAME_MAX] = ""; in thread_call_stack() local 402 lwpname, sizeof (lwpname)); in thread_call_stack() 404 tlhead(tip->threadid, pip->pr_lwpid, lwpname); in thread_call_stack() 425 char lwpname[THREAD_NAME_MAX] = ""; in lwp_call_stack() local 433 lwpname, sizeof (lwpname)); in lwp_call_stack() 435 tlhead(0, pip->pr_lwpid, lwpname); in lwp_call_stack()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Plwpregs.c | 588 char lwpname[THREAD_NAME_MAX]; in Plwp_getname() local 599 lwpname, sizeof (lwpname)) != 0) in Plwp_getname() 601 from = lwpname; in Plwp_getname()
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 1635 char lwpname[THREAD_NAME_MAX]; in pr_read_lwpname() local 1647 bzero(lwpname, sizeof (lwpname)); in pr_read_lwpname() 1652 (void) strlcpy(lwpname, t->t_name, sizeof (lwpname)); in pr_read_lwpname() 1656 return (pr_uioread(lwpname, sizeof (lwpname), uiop)); in pr_read_lwpname() 2881 char *lwpname; in pr_write_lwpname() local 2884 lwpname = kmem_zalloc(THREAD_NAME_MAX, KM_SLEEP); in pr_write_lwpname() 2886 if ((error = uiomove(lwpname, THREAD_NAME_MAX, UIO_WRITE, uiop)) != 0) { in pr_write_lwpname() 2887 kmem_free(lwpname, THREAD_NAME_MAX); in pr_write_lwpname() 2892 if (lwpname[THREAD_NAME_MAX - 1] != '\0' || uiop->uio_resid > 0) { in pr_write_lwpname() 2893 kmem_free(lwpname, THREAD_NAME_MAX); in pr_write_lwpname() [all …]
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ps.c | 1758 char lwpname[THREAD_NAME_MAX] = ""; in print_field() local 1765 (void) read(fd, lwpname, sizeof (lwpname)); in print_field() 1766 lwpname[THREAD_NAME_MAX - 1] = '\0'; in print_field() 1773 (void) printf("%-*s", width, lwpname); in print_field() 1775 (void) printf("%s", lwpname); in print_field()
|