Searched refs:pth_name (Results 1 - 10 of 10) sorted by relevance
/xnu-2782.1.97/bsd/sys/ |
H A D | bsdtask_info.h | 67 char pth_name[MAXTHREADNAMESIZE]; /* thread name, if any */ member in struct:proc_threadinfo_internal
|
H A D | user.h | 279 char * pth_name; member in struct:uthread
|
H A D | proc_info.h | 204 char pth_name[MAXTHREADNAMESIZE]; /* thread name, if any */ member in struct:proc_threadinfo
|
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_fork.c | 1540 void *pth_name; local 1584 * Set pth_name to NULL before calling free(). 1587 * where the stackshot could try and copy pth_name 1591 if (uth->pth_name != NULL) { 1592 pth_name = uth->pth_name; 1593 uth->pth_name = NULL; 1594 kfree(pth_name, MAXTHREADNAMESIZE);
|
H A D | kern_sysctl.c | 352 if(ut->pth_name) 354 currlen = strlen(ut->pth_name); 359 if(ut->pth_name) { 360 error = copyout(ut->pth_name,oldp,currlen); 374 if(!ut->pth_name) 376 ut->pth_name = (char*)kalloc( MAXTHREADNAMESIZE ); 377 if(!ut->pth_name) 380 bzero(ut->pth_name, MAXTHREADNAMESIZE); 381 error = copyin(newp, ut->pth_name, newlen);
|
H A D | proc_info.c | 755 if(ut->pth_name) 756 bcopy(ut->pth_name,buffer,MAXTHREADNAMESIZE); 2154 if(!ut->pth_name) 2156 ut->pth_name = (char*)kalloc(MAXTHREADNAMESIZE ); 2157 if(!ut->pth_name) 2160 bzero(ut->pth_name, MAXTHREADNAMESIZE); 2161 error = copyin(buffer, ut->pth_name, buffersize);
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | debug.h | 87 char pth_name[STACKSHOT_MAX_THREAD_NAME_SIZE]; member in struct:thread_snapshot
|
H A D | kern_stackshot.c | 509 bzero(&tsnap->pth_name, STACKSHOT_MAX_THREAD_NAME_SIZE); 510 proc_threadname_kdp(thread->uthread, &tsnap->pth_name[0], STACKSHOT_MAX_THREAD_NAME_SIZE);
|
H A D | bsd_kern.c | 754 bsd_getthreadname(thact->uthread,ptinfo->pth_name);
|
/xnu-2782.1.97/tools/lldbmacros/ |
H A D | process.py | 273 if int(uthread.pth_name) != 0 : 274 th_name_strval = Cast(uthread.pth_name, 'char *')
|
Completed in 73 milliseconds