| /xnu-11215/tests/ |
| H A D | kernel_inspection.c | 160 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 D | process.py | 571 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 D | recount.py | 385 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 D | kmtriage.py | 30 for t in kern.tasks:
|
| H A D | kevent.py | 70 for t in kern.tasks: 366 for t in kern.tasks:
|
| H A D | exclaves.py | 42 for t in kern.tasks:
|
| H A D | ipc.py | 526 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 D | ipcimportancedetail.py | 123 for task in kern.tasks:
|
| H A D | workqueue.py | 200 for t in kern.tasks:
|
| H A D | misc.py | 309 for task in kern.tasks:
|
| H A D | memory.py | 1243 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 D | userspace.py | 354 for t in kern.tasks:
|
| /xnu-11215/doc/observability/ |
| H A D | recount.md | 7 …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 D | mt_stackshot.md | 25 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 D | processor_set.defs | 110 * List all tasks in processor set. 160 * List all tasks(/inspect/read) in processor set based on flavor.
|
| H A D | vm32_map.defs | 61 * Exported kernel VM calls for 32-bit client tasks.
|
| H A D | task.defs | 133 * tasks inherit this stash at task_create time.
|
| /xnu-11215/osfmk/kperf/ |
| H A D | pet.c | 500 queue_iterate(&tasks, task, task_t, tasks) { in kppet_tasks_prepare()
|
| /xnu-11215/osfmk/kern/ |
| H A D | coalition.c | 234 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 D | processor.c | 120 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 D | recount.h | 292 #pragma mark tasks
|
| H A D | processor.h | 326 extern queue_head_t tasks, threads, corpse_tasks;
|
| H A D | task.c | 1966 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 D | OSAction.iig | 121 * @discussion When all tasks other than the creator release their references to the action,
|
| /xnu-11215/tools/lldbmacros/core/ |
| H A D | kernelcore.py | 560 def tasks(self, target=None): member in KernelTarget
|