• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/

Lines Matching defs:thr_act

98 	register thread_t	thr_act,
102 register thread_t thr_act,
121 thread_t thr_act,
126 thread_t thr_act,
130 thread_t thr_act,
161 aux_param.thr_act = THREAD_NULL;
166 aux_param.thr_act = (thread_t)(unsigned long)addr;
168 aux_param.thr_act = db_default_act;
169 if (aux_param.thr_act != THREAD_NULL)
170 task = aux_param.thr_act->task;
211 #define db_act_fp_used(thr_act) FALSE
216 register thread_t thr_act,
221 if (!thr_act->active) {
229 thread_t athread = thr_act;
237 *p++ = db_act_fp_used(thr_act) ? 'F' : '.';
244 db_act_swap_stat(__unused thread_t thr_act, char *status)
256 thread_t thr_act,
266 if (!thr_act) {
271 athread = thr_act;
284 (thr_act == current_thread())? '#': ':',
285 2*sizeof(vm_offset_t), thr_act,
286 db_act_stat(thr_act, status),
287 db_act_swap_stat(thr_act, swap_status),
290 thr_act->suspend_count,
307 (thr_act == current_thread())? '#': ':',
308 2*sizeof(vm_offset_t), thr_act,
309 db_act_stat(thr_act, status));
314 2*sizeof(vm_offset_t), thr_act);
316 db_printf("(%0*X) ", 2*sizeof(vm_offset_t), thr_act);
323 db_act_fp_used(thr_act) ? 'F' : ' ');
351 thread_t thr_act;
403 queue_iterate(&task->threads, thr_act, thread_t, task_threads) {
404 db_print_act(thr_act, act_id, flag);
428 queue_iterate(&task->threads, thr_act,
430 db_print_act(thr_act, act_id++, flag);
633 thread_t thr_act;
642 thr_act = current_thread();
643 if (thr_act == THREAD_NULL) {
644 db_error("No thr_act\n");
648 thr_act = (thread_t)(unsigned long)addr;
650 if ((act_id = db_lookup_act(thr_act)) < 0) {
651 db_printf("bad thr_act address %#llX\n", (unsigned long long)addr);
658 db_lookup_task(thr_act->task),
659 2*sizeof(vm_offset_t), thr_act->task);
660 db_print_act(thr_act, act_id, flag);
662 db_printf("task %d(%0*Xx): thr_act %d",
663 db_lookup_task(thr_act->task),
664 2*sizeof(vm_offset_t), thr_act->task, act_id);
665 db_print_act(thr_act, act_id, flag);
668 (thr_act->state & TH_WAIT) &&
669 thr_act->kernel_stack == 0) {
672 thr_act->ith_option);
786 thread_t thr_act,
798 space = thr_act->task->itk_space;
826 thread_t thr_act,
832 if (thr_act == THREAD_NULL)
834 space = thr_act->task->itk_space;
847 thread_t thr_act;
850 thr_act = current_thread();
851 if (thr_act == THREAD_NULL) {
852 db_error("No thr_act\n");
856 thr_act = (thread_t)(unsigned long)addr;
857 if (db_lookup_act(thr_act) < 0) {
858 db_printf("Bad thr_act address 0x%llX\n", addr);
862 if (db_port_iterate(thr_act, db_option(modif,'s'), TRUE))