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

Lines Matching defs:thr_act

399 	register thread_act_t	thr_act,
403 register thread_act_t thr_act,
421 thread_act_t thr_act,
426 thread_act_t thr_act,
436 thread_act_t thr_act,
470 aux_param.thr_act = THR_ACT_NULL;
475 aux_param.thr_act = (thread_act_t)addr;
477 aux_param.thr_act = db_default_act;
478 if (aux_param.thr_act != THR_ACT_NULL)
479 task = aux_param.thr_act->task;
520 #define db_act_fp_used(thr_act) FALSE
525 register thread_act_t thr_act,
530 if (!thr_act->active) {
537 } else if (!thr_act->thread) {
545 thread_t athread = thr_act->thread;
553 *p++ = db_act_fp_used(thr_act) ? 'F' : '.';
561 register thread_act_t thr_act,
567 switch (thr_act->swap_state & TH_SW_STATE) {
590 *p++ = (thr_act->swap_state & TH_SW_TASK_SWAPPING) ? 'T' : '.';
602 thread_act_t thr_act,
612 if (!thr_act) {
617 athread = thr_act->thread;
630 (thr_act == current_act())? '#': ':',
631 2*sizeof(vm_offset_t), thr_act,
632 db_act_stat(thr_act, status),
633 db_act_swap_stat(thr_act, swap_status),
636 thr_act->suspend_count,
653 (thr_act == current_act())? '#': ':',
654 2*sizeof(vm_offset_t), thr_act,
655 db_act_stat(thr_act, status));
660 2*sizeof(vm_offset_t), thr_act);
662 db_printf("(%0*X) ", 2*sizeof(vm_offset_t), thr_act);
669 db_act_fp_used(thr_act) ? 'F' : ' ');
699 thread_act_t thr_act;
751 queue_iterate(&task->thr_acts, thr_act, thread_act_t, thr_acts) {
752 db_print_act(thr_act, act_id, flag);
776 queue_iterate(&task->thr_acts, thr_act,
778 db_print_act(thr_act, act_id++, flag);
1017 thread_act_t thr_act;
1026 thr_act = current_act();
1027 if (thr_act == THR_ACT_NULL) {
1028 db_error("No thr_act\n");
1032 thr_act = (thread_act_t) addr;
1034 if ((act_id = db_lookup_act(thr_act)) < 0) {
1035 db_printf("bad thr_act address %#x\n", addr);
1042 db_lookup_task(thr_act->task),
1043 2*sizeof(vm_offset_t), thr_act->task);
1044 db_print_act(thr_act, act_id, flag);
1046 db_printf("task %d(%0*Xx): thr_act %d",
1047 db_lookup_task(thr_act->task),
1048 2*sizeof(vm_offset_t), thr_act->task, act_id);
1049 db_print_act(thr_act, act_id, flag);
1051 if (db_option(modif, 'i') && thr_act->thread &&
1052 (thr_act->thread->state & TH_WAIT) &&
1053 thr_act->thread->kernel_stack == 0) {
1056 thr_act->thread->ith_option);
1103 thread_act_t thr_act;
1108 thr_act = current_act();
1109 if (thr_act == THR_ACT_NULL) {
1110 db_error("No thr_act\n");
1113 shuttle = thr_act->thread;
1115 db_error("No shuttle associated with current thr_act\n");
1124 for (thr_act = shuttle->top_act; thr_act != THR_ACT_NULL;
1125 thr_act = thr_act->lower) {
1126 if (thr_act != shuttle->top_act)
1128 printf(" $task%d.%d(%x)", db_lookup_task(thr_act->task),
1129 db_lookup_act(thr_act), thr_act);
1197 thread_act_t thr_act,
1209 space = thr_act->task->itk_space;
1237 thread_act_t thr_act,
1243 if (thr_act == THR_ACT_NULL)
1245 space = thr_act->task->itk_space;
1275 thread_act_t thr_act;
1278 thr_act = current_act();
1279 if (thr_act == THR_ACT_NULL) {
1280 db_error("No thr_act\n");
1284 thr_act = (thread_act_t) addr;
1285 if (db_lookup_act(thr_act) < 0) {
1286 db_printf("Bad thr_act address 0x%x\n", addr);
1290 if (db_port_iterate(thr_act, db_option(modif,'s'), TRUE))
1368 thread_act_t thr_act;
1377 thr_act = thread->top_act;
1378 task = thr_act->task;
1380 thr_act_id = db_lookup_task_act(task, thr_act);