Lines Matching defs:thr_act
79 thread_t db_default_act = THREAD_NULL; /* default target thr_act */
122 register thread_t thr_act;
128 queue_iterate(&task->threads, thr_act, thread_t, task_threads) {
129 if (target_act == thr_act)
138 * search thr_act queue of every valid task, and return the queue position
167 db_check_act_address_valid(thread_t thr_act)
169 if (!force_act_lookup && db_lookup_act(thr_act) < 0) {
170 db_printf("Bad thr_act address 0x%x\n", thr_act);
197 * convert (task_id, act_id) pair to thr_act address
204 register thread_t thr_act;
211 queue_iterate(&task->threads, thr_act, thread_t, task_threads) {
213 return(thr_act);
228 thread_t thr_act;
232 thr_act = (thread_t)(unsigned long)value;
233 if (!db_check_act_address_valid(thr_act)) {
238 thr_act = db_default_act;
241 *actp = thr_act;
267 thread_t thr_act;
287 thr_act = (thread_t)(unsigned long)*valuep;
288 if (thr_act != THREAD_NULL && !db_check_act_address_valid(thr_act))
291 db_default_act = thr_act;
292 if (thr_act)
293 db_default_task = thr_act->task;
305 thread_t thr_act;
329 if ((thr_act = db_lookup_act_id(task, ap->suffix[1])) == THREAD_NULL){
330 db_printf("no such thr_act($task%d.%d)\n",
335 *valuep = (db_expr_t)(unsigned long)thr_act;