Searched refs:THREAD_NAME_MAX (Results 1 – 15 of 15) sorted by relevance
/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | thread.h | 86 #define THREAD_NAME_MAX (32) macro
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.h | 117 char li_lwpname[THREAD_NAME_MAX];
|
H A D | prstat.c | 365 char name[PRFNSZ + THREAD_NAME_MAX + 2]; in list_print()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | thread.c | 780 kmem_free(t->t_name, THREAD_NAME_MAX); in thread_free() 2331 buf = kmem_zalloc(THREAD_NAME_MAX, KM_SLEEP); in thread_setname() 2332 (void) strlcpy(buf, name, THREAD_NAME_MAX); in thread_setname() 2340 (void) strlcpy(t->t_name, name, THREAD_NAME_MAX); in thread_setname() 2341 kmem_free(buf, THREAD_NAME_MAX); in thread_setname() 2343 bzero(t->t_name, THREAD_NAME_MAX); in thread_setname() 2353 char name[THREAD_NAME_MAX]; in thread_vsetname()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.h | 145 char lwp_name[THREAD_NAME_MAX];
|
H A D | Plwpregs.c | 588 char lwpname[THREAD_NAME_MAX]; in Plwp_getname()
|
/illumos-gate/usr/src/cmd/ptools/pstack/ |
H A D | pstack.c | 389 char lwpname[THREAD_NAME_MAX] = ""; in thread_call_stack() 425 char lwpname[THREAD_NAME_MAX] = ""; in lwp_call_stack()
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 1635 char lwpname[THREAD_NAME_MAX]; in pr_read_lwpname() 1641 if (uiop->uio_offset >= THREAD_NAME_MAX) in pr_read_lwpname() 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() 2897 VERIFY3U(lwpname[THREAD_NAME_MAX - 1], ==, '\0'); in pr_write_lwpname() 2901 kmem_free(lwpname, THREAD_NAME_MAX); in pr_write_lwpname() 2908 kmem_free(lwpname, THREAD_NAME_MAX); in pr_write_lwpname() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | thread.h | 613 #define THREAD_NAME_MAX 32 /* includes terminating NUL */ macro
|
H A D | procfs.h | 637 char pr_lwpname[THREAD_NAME_MAX];
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | thread.c | 577 char name[THREAD_NAME_MAX] = ""; in thread_getdesc()
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ps.c | 1758 char lwpname[THREAD_NAME_MAX] = ""; in print_field() 1766 lwpname[THREAD_NAME_MAX - 1] = '\0'; in print_field()
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | thr_uberdata.h | 1242 char name[THREAD_NAME_MAX];
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | thr.c | 2425 if (len > THREAD_NAME_MAX) in thr_setname() 2452 char name[THREAD_NAME_MAX]; in thr_getname()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 1311 char name[THREAD_NAME_MAX]; in pt_thread_name()
|