Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 25 of 33) sorted by relevance

12

/xnu-11215/tests/
H A Dkernel_inspection.c160 task_array_t tasks; variable
175 T_ASSERT_MACH_SUCCESS(processor_set_tasks(pset, &tasks, &tcnt), NULL);
178 attempt_kernel_inspection(tasks[j]);
179 mach_port_deallocate(self, tasks[j]);
184 (mach_vm_address_t)(uintptr_t)tasks,
185 tcnt * sizeof(*tasks));
188 …T_ASSERT_MACH_SUCCESS(processor_set_tasks_with_flavor(pset, TASK_FLAVOR_READ, &tasks, &tcnt), NULL…
191 attempt_kernel_inspection(tasks[j]);
192 mach_port_deallocate(self, tasks[j]);
196 (mach_vm_address_t)(uintptr_t)tasks,
[all …]
/xnu-11215/tools/lldbmacros/
H A Dprocess.py571 tasks = []
579 return tasks
619 tasks = GetCoalitionTasks(addressof(coal.r.tasks), 0, thread_details)
720 for t in kern.tasks:
914 for t in kern.tasks:
1151 for t in kern.tasks:
1373 for t in kern.tasks:
1394 for t in kern.tasks:
1668 for t in kern.tasks:
2081 tasks = []
[all …]
H A Drecount.py385 tasks = FindTasksByName(cmd_options['-F'])
387 tasks = [kern.GetValueFromAddress(t, 'task_t') for t in task_ptrs]
394 for task in tasks:
532 tasks = FindTasksByName(cmd_options['-F'])
534 tasks = [kern.GetValueFromAddress(t, 'task_t') for t in task_ptrs]
541 for task in tasks:
H A Dkmtriage.py30 for t in kern.tasks:
H A Dkevent.py70 for t in kern.tasks:
366 for t in kern.tasks:
H A Dexclaves.py42 for t in kern.tasks:
H A Dipc.py526 for t in kern.tasks:
545 l = [ GetTaskIPCSummary(t) for t in kern.tasks ]
930 for t in kern.tasks:
1003 for t in kern.tasks:
1244 tasklist = list(kern.tasks)
1675 task_queue_head = kern.globals.tasks
1682 for tsk in kern.tasks:
1849 for t in kern.tasks:
H A Dipcimportancedetail.py123 for task in kern.tasks:
H A Dworkqueue.py200 for t in kern.tasks:
H A Dmisc.py309 for task in kern.tasks:
H A Dmemory.py1243 for t in kern.tasks:
1296 for task in kern.tasks:
1303 for task in kern.tasks:
1433 for task in kern.tasks:
2638 for t in kern.tasks:
2659 for t in kern.tasks:
5073 for task in kern.tasks:
H A Duserspace.py354 for t in kern.tasks:
/xnu-11215/doc/observability/
H A Drecount.md7 …ubsystem in the kernel that tracks the CPU resources consumed by threads, tasks, coalitions, and p…
17 …rs per-CPU kind (e.g. performance or efficiency) for threads, per-CPU for tasks, and per-CPU kind …
58 - `recount task <task-ptr> [...]` prints a table of per-CPU counts for tasks.
62 …prints a table of per-CPU kind counts for each coalition, not including the currently-active tasks.
75 Accounting for groups of entities like threads and tasks starts with a `recount_plan_t`, declared u…
100 A `struct recount_track` is the primary data structure found in threads, tasks, and processors.
114 Reading the counters requires holding the lock and iterating the constituent tasks, grouping their …
H A Dmt_stackshot.md25 populating queues of tasks to be put into the stackshot and collecting bits of
45 there are two, and tasks are sorted between the queues based on their
52 such as the amount of time spent waiting for the queue and the number of tasks /
60 as the number of tasks and threads on the system, the flags passed, sizes of
/xnu-11215/osfmk/mach/
H A Dprocessor_set.defs110 * List all tasks in processor set.
160 * List all tasks(/inspect/read) in processor set based on flavor.
H A Dvm32_map.defs61 * Exported kernel VM calls for 32-bit client tasks.
H A Dtask.defs133 * tasks inherit this stash at task_create time.
/xnu-11215/osfmk/kperf/
H A Dpet.c500 queue_iterate(&tasks, task, task_t, tasks) { in kppet_tasks_prepare()
/xnu-11215/osfmk/kern/
H A Dcoalition.c234 queue_head_t tasks; /* List of active tasks in the coalition */ member
606 queue_init(&coal->r.tasks); in i_coal_resource_init()
644 enqueue_tail(&cr->tasks, &task->task_coalition[COALITION_TYPE_RESOURCE]); in i_coal_resource_adopt_task()
729 qe_foreach_element(t, &coal->r.tasks, task_coalition[COALITION_TYPE_RESOURCE]) { in i_coal_resource_get_taskrole()
744 qe_foreach_element(t, &coal->r.tasks, task_coalition[COALITION_TYPE_RESOURCE]) { in i_coal_resource_iterate_tasks()
821 qe_foreach_element(task, &coal->r.tasks, task_coalition[COALITION_TYPE_RESOURCE]) { in coalition_resource_usage_internal()
2483 qe_foreach(qe, &coal->r.tasks) in coalition_get_task_count()
2539 bytes += i_get_list_footprint(&coal->r.tasks, COALITION_TYPE_RESOURCE, &num_tasks); in coalition_get_page_count()
2752 ntasks += coalition_get_sort_list(coal, sort_order, &coal->r.tasks, in coalition_get_pid_list()
H A Dprocessor.c120 queue_head_t tasks; variable
282 queue_init(&tasks); in processor_bootstrap()
1552 queue_iterate(&tasks, task, task_t, tasks) { in processor_set_things()
H A Drecount.h292 #pragma mark tasks
H A Dprocessor.h326 extern queue_head_t tasks, threads, corpse_tasks;
H A Dtask.c1966 queue_enter(&tasks, new_task, task_t, tasks); in task_create_internal()
2098 queue_remove(&terminated_tasks, task, task_t, tasks); in task_deallocate_internal()
3209 queue_remove(&tasks, task, task_t, tasks); in task_terminate_internal()
3210 queue_enter(&terminated_tasks, task, task_t, tasks); in task_terminate_internal()
3268 queue_iterate(&tasks, task, task_t, tasks) { in tasks_system_suspend()
5549 queue_iterate(&tasks, task, task_t, tasks) { in task_info()
/xnu-11215/iokit/DriverKit/
H A DOSAction.iig121 * @discussion When all tasks other than the creator release their references to the action,
/xnu-11215/tools/lldbmacros/core/
H A Dkernelcore.py560 def tasks(self, target=None): member in KernelTarget

12