Searched refs:pth_name (Results 1 - 8 of 8) sorted by relevance

/xnu-2422.115.4/bsd/sys/
H A Dbsdtask_info.h67 char pth_name[MAXTHREADNAMESIZE]; /* thread name, if any */ member in struct:proc_threadinfo_internal
H A Duser.h270 char * pth_name; member in struct:uthread
H A Dproc_info.h189 char pth_name[MAXTHREADNAMESIZE]; /* thread name, if any */ member in struct:proc_threadinfo
/xnu-2422.115.4/bsd/kern/
H A Dkern_fork.c1562 if(uth->pth_name != NULL)
1564 kfree(uth->pth_name, MAXTHREADNAMESIZE);
1565 uth->pth_name = 0;
H A Dproc_info.c717 if(ut->pth_name)
718 bcopy(ut->pth_name,buffer,MAXTHREADNAMESIZE);
1840 if(!ut->pth_name)
1842 ut->pth_name = (char*)kalloc(MAXTHREADNAMESIZE );
1843 if(!ut->pth_name)
1846 bzero(ut->pth_name, MAXTHREADNAMESIZE);
1847 error = copyin(buffer, ut->pth_name, buffersize);
H A Dkern_sysctl.c695 if(ut->pth_name)
697 currlen = strlen(ut->pth_name);
702 if(ut->pth_name) {
703 error = copyout(ut->pth_name,oldp,currlen);
717 if(!ut->pth_name)
719 ut->pth_name = (char*)kalloc( MAXTHREADNAMESIZE );
720 if(!ut->pth_name)
723 bzero(ut->pth_name, MAXTHREADNAMESIZE);
724 error = copyin(newp, ut->pth_name, newlen);
/xnu-2422.115.4/osfmk/kern/
H A Dbsd_kern.c713 bsd_getthreadname(thact->uthread,ptinfo->pth_name);
/xnu-2422.115.4/tools/lldbmacros/
H A Dprocess.py153 if int(uthread.pth_name) != 0 :
154 th_name_strval = Cast(uthread.pth_name, 'char *')

Completed in 64 milliseconds