Lines Matching defs:target
47 * We assume the target task has a lifecycle lock
70 extmod_statistics_log(task_t current_task, task_t target);
73 extmod_statistics_incr_task_for_pid(task_t target)
77 if ((ctask == kernel_task) || (target == TASK_NULL))
80 if (target != ctask) {
82 target->extmod_statistics.task_for_pid_count++;
88 extmod_statistics_incr_thread_set_state(thread_t target)
93 if ((ctask == kernel_task) || (target == THREAD_NULL))
96 ttask = get_threadtask(target);
109 extmod_statistics_incr_thread_create(task_t target)
113 if ((ctask == kernel_task) || (target == TASK_NULL))
116 if (target != ctask) {
118 target->extmod_statistics.thread_creation_count++;
121 extmod_statistics_log(ctask, target);
126 extmod_statistics_log(task_t current_task, task_t target)
132 t_proc = get_bsdtask_info(target);