Lines Matching refs:task_id
85 task_t db_lookup_task_id(register int task_id);
100 register int task_id;
102 task_id = 0;
107 return(task_id);
108 if (task_id++ >= DB_MAX_TASKID)
178 * convert task_id(queue postion) to task address
181 db_lookup_task_id(int task_id)
185 if (task_id > DB_MAX_TASKID)
190 if (task_id-- <= 0)
197 * convert (task_id, act_id) pair to thr_act address
268 int task_id;
273 task_id = db_lookup_task(db_default_task);
274 if (task_id != -1) {
277 db_printf(" (task%d.%d)", task_id, act_id);
306 int task_id;
310 task_id = db_lookup_task(db_default_task);
311 if (task_id != -1)
312 db_printf(" (task%d)", task_id);