Searched refs:tasks (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dprocessor.c91 queue_head_t tasks; variable
124 queue_init(&tasks);
763 * Common internals for processor_set_{threads,tasks}
821 for (task = (task_t)queue_first(&tasks);
822 !queue_end(&tasks, (queue_entry_t)task);
823 task = (task_t)queue_next(&task->tasks)) {
935 * List all tasks in the processor set.
H A Dprocessor.h123 extern queue_head_t tasks, terminated_tasks, threads; /* Terminated tasks are ONLY for stackshot */
H A Dtask.c160 /* A container to accumulate statistics for expired tasks */
169 int task_max = CONFIG_TASK_MAX; /* Max number of tasks */
281 "tasks");
571 queue_enter(&tasks, new_task, task_t, tasks);
602 queue_remove(&terminated_tasks, task, task_t, tasks);
625 /* Accumulate statistics for dead tasks */
801 queue_remove(&tasks, task, task_t, tasks);
802 queue_enter(&terminated_tasks, task, task_t, tasks);
[all...]
H A Dtask.h62 * This file contains the structure definitions for tasks.
243 queue_chain_t tasks; /* global list of tasks */ member in struct:task
/darwin-on-arm/xnu/osfmk/chud/
H A Dchud_thread.c239 for (task = (task_t)queue_first(&tasks);
240 !queue_end(&tasks, (queue_entry_t)task);
241 task = (task_t)queue_next(&task->tasks)) {
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp.c1142 queue_head_t *task_list = &tasks;
1158 queue_iterate(task_list, task, task_t, tasks) {
1167 * Not interested in terminated tasks without threads, and

Completed in 36 milliseconds