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

/darwin-on-arm/xnu/bsd/sys/
H A Dbsdtask_info.h67 char pth_name[MAXTHREADNAMESIZE]; /* thread name, if any */ member in struct:proc_threadinfo_internal
H A Duser.h247 char * pth_name; member in struct:uthread
H A Dproc_info.h165 char pth_name[MAXTHREADNAMESIZE]; /* thread name, if any */ member in struct:proc_threadinfo
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_fork.c1553 if(uth->pth_name != NULL)
1555 kfree(uth->pth_name, MAXTHREADNAMESIZE);
1556 uth->pth_name = 0;
H A Dproc_info.c695 if(ut->pth_name)
696 bcopy(ut->pth_name,buffer,MAXTHREADNAMESIZE);
1761 if(!ut->pth_name)
1763 ut->pth_name = (char*)kalloc(MAXTHREADNAMESIZE );
1764 if(!ut->pth_name)
1767 bzero(ut->pth_name, MAXTHREADNAMESIZE);
1768 error = copyin(buffer, ut->pth_name, buffersize);
H A Dkern_sysctl.c688 if(ut->pth_name)
690 currlen = strlen(ut->pth_name);
695 if(ut->pth_name) {
696 error = copyout(ut->pth_name,oldp,currlen);
710 if(!ut->pth_name)
712 ut->pth_name = (char*)kalloc( MAXTHREADNAMESIZE );
713 if(!ut->pth_name)
716 bzero(ut->pth_name, MAXTHREADNAMESIZE);
717 error = copyin(newp, ut->pth_name, newlen);
/darwin-on-arm/xnu/osfmk/kern/
H A Dbsd_kern.c674 bsd_getthreadname(thact->uthread,ptinfo->pth_name);

Completed in 89 milliseconds