Home
last modified time | relevance | path

Searched refs:THREAD_NAME_MAX (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libfakekernel/common/sys/
H A Dthread.h86 #define THREAD_NAME_MAX (32) macro
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.h117 char li_lwpname[THREAD_NAME_MAX];
H A Dprstat.c365 char name[PRFNSZ + THREAD_NAME_MAX + 2]; in list_print()
/illumos-gate/usr/src/uts/common/disp/
H A Dthread.c780 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 DPcontrol.h145 char lwp_name[THREAD_NAME_MAX];
H A DPlwpregs.c588 char lwpname[THREAD_NAME_MAX]; in Plwp_getname()
/illumos-gate/usr/src/cmd/ptools/pstack/
H A Dpstack.c389 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 Dprvnops.c1635 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 Dthread.h613 #define THREAD_NAME_MAX 32 /* includes terminating NUL */ macro
H A Dprocfs.h637 char pr_lwpname[THREAD_NAME_MAX];
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dthread.c577 char name[THREAD_NAME_MAX] = ""; in thread_getdesc()
/illumos-gate/usr/src/cmd/ps/
H A Dps.c1758 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 Dthr_uberdata.h1242 char name[THREAD_NAME_MAX];
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dthr.c2425 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 Dmdb_proc.c1311 char name[THREAD_NAME_MAX]; in pt_thread_name()