Lines Matching refs:pbuf
671 struct pd_thread *pbuf; in sync_threadlists() local
681 pbuf = (struct pd_thread *) xmalloc (psize * sizeof *pbuf); in sync_threadlists()
696 pbuf = (struct pd_thread *) xrealloc (pbuf, in sync_threadlists()
697 psize * sizeof *pbuf); in sync_threadlists()
699 pbuf[pcount].pdtid = pdtid; in sync_threadlists()
700 pbuf[pcount].pthid = pthid; in sync_threadlists()
706 status = pthdb_pthread_tid (pd_session, pbuf[pi].pdtid, &tid); in sync_threadlists()
709 pbuf[pi].tid = tid; in sync_threadlists()
712 qsort (pbuf, pcount, sizeof *pbuf, pcmp); in sync_threadlists()
734 thread = add_thread (BUILD_THREAD (pbuf[pi].pthid, infpid)); in sync_threadlists()
736 thread->private->pdtid = pbuf[pi].pdtid; in sync_threadlists()
737 thread->private->tid = pbuf[pi].tid; in sync_threadlists()
745 pptid = BUILD_THREAD (pbuf[pi].pthid, infpid); in sync_threadlists()
747 pdtid = pbuf[pi].pdtid; in sync_threadlists()
748 tid = pbuf[pi].tid; in sync_threadlists()
775 xfree (pbuf); in sync_threadlists()