Lines Matching refs:pt

160   struct task_entry *pt;
168 pt = task_list;
169 if (pt)
171 while (pt->next_task)
172 pt = pt->next_task;
173 pt->next_task = new_task_entry;
174 pt->stack_per = 0;
184 struct task_entry *pt;
186 pt = task_list;
187 while (pt != NULL)
189 if (pt->task_id == p_task_id)
190 return pt->task_num;
191 pt = pt->next_task;
199 struct task_entry *pt;
201 pt = task_list;
202 while (pt != NULL)
204 if (pt->thread == thread)
205 return pt;
206 pt = pt->next_task;
214 struct task_entry *pt;
216 pt = task_list;
217 while (pt)
219 if (pt->task_num == p_task_num)
220 return pt;
221 pt = pt->next_task;
229 struct task_entry *pt, *old_pt;
231 pt = task_list;
232 while (pt)
234 old_pt = pt;
235 pt = pt->next_task;
291 struct task_entry *pt, *pt2;
306 pt = get_entry_vptr (atoi (arg));
307 if (pt == NULL)
313 temp_task = pt->task_id;
335 if ((long) pt->thread < 65536)
336 printf_filtered ("Thread: %ld\n", (long int) pt->thread);
338 printf_filtered ("Thread: %p\n", pt->thread);
340 if ((long) pt->lwp != 0)
342 if ((long) pt->lwp < 65536)
343 printf_filtered ("LWP: %ld\n", (long int) pt->lwp);
345 printf_filtered ("LWP: %p\n", pt->lwp);
467 struct task_entry *pt;
563 pt = task_list;
564 while (pt)
566 temp_task = pt->task_id;
572 pt->thread = EXTRACT_ADDRESS (atcb.thread);
575 pt->lwp = (void *) THREAD_TO_PID (atcb.thread, 0);
577 pt->lwp = EXTRACT_ADDRESS (atcb.lwp);
583 printf_filtered (pt->lwp == thread_id ? "*" : " ");
585 printf_filtered (pt->thread == thread_id ? "*" : " ");
589 printf_filtered ("%3d", pt->task_num);
596 printf_filtered (" %#9lx", (unsigned long) pt->thread & 0x3ffffffffff);
598 printf_filtered (" %#9lx", (long) pt->thread);
610 if (pt->task_num == 1 || atcb.state == Terminated)
621 pt->stack_per = (100 * ((long) thr.__stack_base -
625 if (pt->stack_per < 0 || pt->stack_per > 100)
626 pt->stack_per = 0;
645 printf_filtered (" %4d%c %2d", size, car, pt->stack_per);
667 if (state == Runnable && (thread_id && pt->lwp == thread_id))
669 if (state == Runnable && (thread_id && pt->thread == thread_id))
690 pt = pt->next_task;