| /xnu-11215/osfmk/corpses/ |
| H A D | corpse.c | 442 task_t new_task; in task_generate_corpse() local 470 task_lock(new_task); in task_generate_corpse() 481 task_unlock(new_task); in task_generate_corpse() 667 task_t new_task = TASK_NULL; in task_generate_corpse_internal() local 741 new_task); in task_generate_corpse_internal() 743 new_task = TASK_NULL; in task_generate_corpse_internal() 748 ipc_task_enable(new_task); in task_generate_corpse_internal() 789 *corpse_task = new_task; in task_generate_corpse_internal() 813 task_lock(new_task); in task_generate_corpse_internal() 821 task_unlock(new_task); in task_generate_corpse_internal() [all …]
|
| H A D | task_corpse.h | 109 task_t new_task,
|
| /xnu-11215/osfmk/kern/ |
| H A D | task.c | 1496 new_task = child_task; in task_create_internal() 1653 new_task->vtimers = 0; in task_create_internal() 1660 new_task->t_kpc = 0; in task_create_internal() 1815 bzero(new_task->coalition, sizeof(new_task->coalition)); in task_create_internal() 1827 bzero(&new_task->extmod_statistics, sizeof(new_task->extmod_statistics)); in task_create_internal() 1903 (void)coalitions_set_roles(new_task->coalition, new_task, coal_roles); in task_create_internal() 1963 new_task->loadTag = 0; in task_create_internal() 2790 task_t new_task, in task_duplicate_map_and_threads() argument 2842 new_task->map = vm_map_fork(new_task->ledger, in task_duplicate_map_and_threads() 2848 if (new_task->map) { in task_duplicate_map_and_threads() [all …]
|
| H A D | policy_internal.h | 142 extern void proc_inherit_task_role(task_t new_task, task_t old_task); 208 extern void task_importance_init_from_parent(task_t new_task, task_t parent_task);
|
| H A D | task_policy.c | 2152 proc_inherit_task_role(task_t new_task, in proc_inherit_task_role() argument 2159 proc_set_task_policy(new_task, TASK_POLICY_ATTRIBUTE, TASK_POLICY_ROLE, role); in proc_inherit_task_role() 3391 task_importance_init_from_parent(__imp_only task_t new_task, __imp_only task_t parent_task) in task_importance_init_from_parent() argument 3396 new_task->task_imp_base = NULL; in task_importance_init_from_parent() 3402 new_task_imp = ipc_importance_for_task(new_task, FALSE); in task_importance_init_from_parent() 3408 new_task_imp = ipc_importance_for_task(new_task, FALSE); in task_importance_init_from_parent() 3414 if (task_is_exec_copy(new_task) && in task_importance_init_from_parent() 3417 new_task_imp = ipc_importance_for_task(new_task, FALSE); in task_importance_init_from_parent() 3424 new_task_imp = ipc_importance_for_task(new_task, FALSE); in task_importance_init_from_parent() 3430 assert(new_task->task_imp_base == new_task_imp); in task_importance_init_from_parent()
|
| H A D | exclaves_resource.h | 332 task_t new_task);
|
| H A D | exclaves_resource.c | 905 task_t new_task) in exclaves_conclave_inherit() argument 915 assert3p(new_task->conclave, ==, NULL); in exclaves_conclave_inherit() 929 task_reference(new_task); in exclaves_conclave_inherit() 930 new_task->conclave = resource; in exclaves_conclave_inherit() 932 conclave->c_task = new_task; in exclaves_conclave_inherit()
|
| H A D | task.h | 814 task_t new_task, 1263 extern void task_rollup_accounting_info(task_t new_task, task_t parent_task); 1362 kern_return_t task_inherit_conclave(task_t old_task, task_t new_task, void *vnode, int64_t off);
|
| /xnu-11215/osfmk/i386/ |
| H A D | machine_task.c | 286 machine_task_init(task_t new_task, in machine_task_init() argument 290 new_task->uexc_range_start = 0; in machine_task_init() 291 new_task->uexc_range_size = 0; in machine_task_init() 292 new_task->uexc_handler = 0; in machine_task_init() 294 new_task->i386_ldt = 0; in machine_task_init() 298 new_task->i386_ldt = user_ldt_copy(parent_task->i386_ldt); in machine_task_init() 300 new_task->xstate = parent_task->xstate; in machine_task_init() 303 new_task->xstate = fpu_default; in machine_task_init()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_exec.c | 3625 task_t new_task = NULL; in posix_spawn() local 4503 ipc_task_enable(new_task); in posix_spawn() 4705 task_set_tecs(new_task); in posix_spawn() 4878 if (new_task != NULL && task_is_exec_copy(new_task)) { in posix_spawn() 4949 if (new_task) { in posix_spawn() 4951 new_task = NULL; in posix_spawn() 5240 task_t new_task = NULL; in __mac_execve() local 5414 task_bank_init(new_task); in __mac_execve() 5492 if (new_task != NULL && task_is_exec_copy(new_task)) { in __mac_execve() 5532 if (new_task) { in __mac_execve() [all …]
|
| H A D | kern_sig.c | 2599 psignal_vfork_with_reason(proc_t p, task_t new_task, thread_t thread, int signum, struct os_reason … in psignal_vfork_with_reason() argument 2601 psignal_internal(p, new_task, thread, PSIG_VFORK, signum, signal_reason); in psignal_vfork_with_reason() 2605 psignal_vfork(proc_t p, task_t new_task, thread_t thread, int signum) in psignal_vfork() argument 2607 psignal_internal(p, new_task, thread, PSIG_VFORK, signum, NULL); in psignal_vfork()
|
| /xnu-11215/osfmk/machine/ |
| H A D | task.h | 39 extern void machine_task_init(task_t new_task, task_t parent_task, boolean_t memory_inherit);
|
| /xnu-11215/bsd/sys/ |
| H A D | signalvar.h | 220 void psignal_vfork(struct proc *p, task_t new_task, thread_t thread, 222 void psignal_vfork_with_reason(proc_t p, task_t new_task, thread_t thread,
|
| /xnu-11215/osfmk/arm64/ |
| H A D | machine_task.c | 245 machine_task_init(__unused task_t new_task, in machine_task_init() argument
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_importance.h | 196 extern ipc_importance_inherit_t ipc_importance_exec_switch_task(task_t old_task, task_t new_task);
|
| H A D | ipc_importance.c | 2159 task_t new_task) in ipc_importance_exec_switch_task() argument 2168 inherit = ipc_importance_inherit_from_task(old_task, new_task); in ipc_importance_exec_switch_task() 2174 new_task_imp = new_task->task_imp_base; in ipc_importance_exec_switch_task() 2176 old_task_imp->iit_task = new_task; in ipc_importance_exec_switch_task() 2180 new_task->task_imp_base = old_task_imp; in ipc_importance_exec_switch_task() 2186 task_importance_update_owner_info(new_task); in ipc_importance_exec_switch_task()
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_map.c | 23651 task_t new_task) in vm_map_copy_footprint_ledgers() argument 23656 vm_map_copy_ledger(old_task, new_task, task_ledgers.internal); in vm_map_copy_footprint_ledgers() 23661 vm_map_copy_ledger(old_task, new_task, task_ledgers.page_table); in vm_map_copy_footprint_ledgers() 23672 vm_map_copy_ledger(old_task, new_task, task_ledgers.wired_mem); in vm_map_copy_footprint_ledgers() 23683 task_t new_task, in vm_map_copy_ledger() argument 23688 assert(new_task->map->has_corpse_footprint); in vm_map_copy_ledger() 23689 if (!new_task->map->has_corpse_footprint) { in vm_map_copy_ledger() 23694 ledger_disable_panic_on_negative(new_task->ledger, in vm_map_copy_ledger() 23701 ledger_get_balance(new_task->ledger, in vm_map_copy_ledger() 23709 ledger_debit(new_task->ledger, in vm_map_copy_ledger() [all …]
|
| H A D | vm_map_internal.h | 641 task_t new_task,
|
| H A D | vm_map_xnu.h | 689 task_t new_task);
|
| /xnu-11215/osfmk/tests/ |
| H A D | vm_parameter_validation.h | 3595 #define RECLAMATION_BUFFER_INIT_TRIAL(new_task, new_address, new_size, new_name) \ in TRIALS_IMPL() argument 3596 (reclamation_buffer_init_trial_t){ .task = (task_t)(new_task), \ in TRIALS_IMPL()
|