Home
last modified time | relevance | path

Searched refs:get_bsdtask_info (Results 1 – 25 of 44) sorted by relevance

12

/xnu-12377.81.4/osfmk/kern/
H A Dextmod_statistics.c135 c_proc = get_bsdtask_info(current_task); in extmod_statistics_log()
136 t_proc = get_bsdtask_info(target); in extmod_statistics_log()
H A Dbootprofile.c184 if ((current_task() != NULL) && (get_bsdtask_info(current_task()) != NULL) && in bootprofile_timer_call()
185 … (0 == strncmp(bootprofile_proc_name, proc_name_address(get_bsdtask_info(current_task())), 17))) { in bootprofile_timer_call()
H A Dexception.c810 void *proc = get_bsdtask_info(task); in pac_exception_triage()
861 void *proc = get_bsdtask_info(task); in maybe_unrecoverable_exception_triage()
941 if (proc_pid(get_bsdtask_info(task)) <= exception_log_max_pid) { in exception_triage()
944 proc_pid(get_bsdtask_info(task)), proc_name_address(get_bsdtask_info(task)), in exception_triage()
H A Dbsd_kern.c92 get_bsdtask_info(task_t t) in get_bsdtask_info() function
102 void * bsd_info = get_bsdtask_info(t); in task_bsdtask_kill()
1374 void *bsd_info = get_bsdtask_info(task); in get_task_dispatchqueue_serialno_offset()
1387 void *bsd_info = get_bsdtask_info(task); in get_task_dispatchqueue_label_offset()
1399 void *bsd_info = get_bsdtask_info(task); in get_task_uniqueid()
1411 void *bsd_info = get_bsdtask_info(task); in get_task_version()
1463 bsd_info = get_bsdtask_info(task); in get_task_cdhash()
H A Dtask.c1047 return get_bsdtask_info(task) == initproc; in task_is_initproc()
2183 assert(get_bsdtask_info(task) == NULL); in task_deallocate_internal()
2464 assert(is_corpse_fork || get_bsdtask_info(task) != NULL); in task_collect_crash_info()
2465 if (task->corpse_info == NULL && (is_corpse_fork || get_bsdtask_info(task) != NULL)) { in task_collect_crash_info()
2594 if (get_bsdtask_info(task)) { in task_terminate()
2645 crash_label = mac_exc_create_label_for_proc((struct proc*)get_bsdtask_info(task)); in task_mark_corpse()
3236 void *bsd_info = get_bsdtask_info(task); in task_terminate_internal()
3311 void *proc = get_bsdtask_info(task); in task_terminate_internal()
3505 dispatchqueue_offset = get_dispatchqueue_offset_from_proc(get_bsdtask_info(task)); in task_start_halt_locked()
3791 void *bsd_info = get_bsdtask_info(task); in task_hold_locked()
[all …]
H A Dthread.c465 void *bsd_info = get_bsdtask_info(task); in thread_terminate_self()
531 kdbg_trace_data(get_bsdtask_info(task), &dbg_arg1, &dbg_arg2); in thread_terminate_self()
1569 kdbg_trace_data(get_bsdtask_info(parent_task), &args[1], &args[3]); in thread_create_internal()
1590 kdebug_proc_name_args(get_bsdtask_info(parent_task), args); in thread_create_internal()
2580 void *bsd_info = get_bsdtask_info(task); in mach_exception_ast()
2655 void *bsd_info = get_bsdtask_info(task); in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
3306 void *bsd_info = get_bsdtask_info(task); in thread_dispatchqaddr()
3335 uint64_t wq_quantum_expiry_offset = get_wq_quantum_offset_from_proc(get_bsdtask_info(task)); in thread_wqquantum_addr()
3362 bsd_info = get_bsdtask_info(task); in thread_rettokern_addr()
3696 void *bsd_info = get_bsdtask_info(task); in task_supports_cooperative_workqueue()
H A Dtask_ident.c142 bsd_info = get_bsdtask_info(task); in task_create_identity_token()
H A Dtask_policy.c1506 memorystatus_update_priority_for_appnap((proc_t) get_bsdtask_info(task)); in task_policy_update_complete_unlocked()
2702 bsdinfo = get_bsdtask_info(task); in proc_clear_task_ruse_cpu()
2748 bsdinfo = get_bsdtask_info(task); in task_apply_resource_actions()
2963 void *cur_bsd_info = get_bsdtask_info(current_task()); in task_set_cpuusage()
3983 if (!(proc = get_bsdtask_info(violator))) { in send_resource_violation()
4053 if (!(proc = get_bsdtask_info(violator))) { in send_resource_violation_with_fatal_port()
H A Dkern_stackshot.c3265 void *bsd_info = get_bsdtask_info(task); in kcdata_get_task_ss_flags()
3827 proc_archinfo_kdp(get_bsdtask_info(task), &cputype, &cpusubtype); in kcdata_record_task_cpu_architecture()
3844 bsdtask_info = get_bsdtask_info(task); in kcdata_record_task_codesigning_info()
3959 if (task_pid != -1 && get_bsdtask_info(task) != NULL) { in kcdata_record_transitioning_task_snapshot()
3960 proc_name_kdp(get_bsdtask_info(task), cur_tsnap->tts_p_comm, sizeof(cur_tsnap->tts_p_comm)); in kcdata_record_transitioning_task_snapshot()
4002 void *bsd_info = get_bsdtask_info(task); in kcdata_record_task_snapshot()
4843 void *bsd_info = get_bsdtask_info(task); in kdp_stackshot_record_task()
4923 proc_starttime_kdp(get_bsdtask_info(task), NULL, NULL, &task_start_abstime); in kdp_stackshot_record_task()
5453 proc_starttime_kdp(get_bsdtask_info(task), NULL, NULL, &abstime); in kdp_stackshot_kcdata_format()
5680 void *bsd_info = get_bsdtask_info(task); in proc_was_throttled_from_task()
[all …]
H A Dtask.h655 extern void *get_bsdtask_info(task_t t);
1477 extern void *get_bsdtask_info(task_t);
/xnu-12377.81.4/security/
H A Dmac_mach.c151 p_cred = kauth_cred_proc_ref(get_bsdtask_info(new_task)); in mac_task_check_get_movable_control_port_during_spawn()
489 struct proc *p = get_bsdtask_info(victim_task); in mac_exc_action_check_exception_send()
/xnu-12377.81.4/osfmk/kperf/
H A Dtask_samplers.c60 …memorystatus_proc_flags_unsafe(get_bsdtask_info(task), &dirty, &dirty_tracked, &allow_idle_exit, &… in kperf_task_snapshot_sample()
/xnu-12377.81.4/iokit/bsddev/
H A DIOKitBSDInit.cpp1570 proc_t proc = (proc_t)get_bsdtask_info(task); in IOTaskHasStringEntitlement()
1605 proc_t proc = (proc_t)get_bsdtask_info(task); in IOTaskHasEntitlement()
1635 proc_t proc = (proc_t)get_bsdtask_info(task); in IOTaskGetIntegerEntitlement()
1685 proc_t proc = (proc_t)get_bsdtask_info(task); in IOTaskGetEntitlement()
1724 proc_t proc = (proc_t)get_bsdtask_info(task); in IOTaskHasEntitlementAsBooleanOrObject()
/xnu-12377.81.4/osfmk/ipc/
H A Dipc_policy.c114 struct proc *proc = get_bsdtask_info(task); in ipc_policy_for_task()
570 proc_name = proc_name_address(get_bsdtask_info(task)); in ipc_stash_policy_violations_telemetry()
1250 exit_with_mach_exception(get_bsdtask_info(task), info, flags); in mach_port_guard_ast()
1303 exit_with_mach_exception(get_bsdtask_info(task), info, flags); in mach_port_guard_ast()
H A Dipc_importance.c1393 proc_name_address(get_bsdtask_info(target_task)), task_pid(target_task), in ipc_importance_task_hold_legacy_external_assertion()
1485 proc_name_address(get_bsdtask_info(target_task)), task_pid(target_task), in ipc_importance_task_drop_legacy_external_assertion()
2009 if (get_bsdtask_info(task)) { in task_importance_update_owner_info()
2010 strncpy(&task_elem->iit_procname[0], proc_name_address(get_bsdtask_info(task)), 16); in task_importance_update_owner_info()
/xnu-12377.81.4/bsd/kern/
H A Dkern_fork.c326 child_proc = (proc_t)(get_bsdtask_info(get_threadtask(child_thread))); in fork1()
1342 proc_t p = get_bsdtask_info(task); in uthread_init()
1504 if (get_bsdtask_info(task) == p) { in uthread_cleanup()
H A Dkern_sig.c1800 p = (proc_t)(get_bsdtask_info(sig_task)); in threadsignal()
1907 targ_proc = (proc_t)(get_bsdtask_info(targ_task)); in set_thread_exit_reason()
2107 sig_proc = (proc_t)get_bsdtask_info(sig_task); in psignal_internal()
/xnu-12377.81.4/bsd/dev/dtrace/
H A Dfbt_blacklist.c149 CLOSURE(get_bsdtask_info)
/xnu-12377.81.4/osfmk/vm/
H A Dvm_map.c676 (get_bsdtask_info(current_task()) in vm_map_entry_copy_csm_assoc()
677 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_entry_copy_csm_assoc()
715 (get_bsdtask_info(current_task()) in vm_map_entry_copy_code_signing()
716 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_entry_copy_code_signing()
3196 (get_bsdtask_info(current_task()) in vm_map_enter()
3197 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_enter()
3245 (get_bsdtask_info(current_task()) in vm_map_enter()
3246 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_enter()
3969 (get_bsdtask_info(current_task()) in vm_map_enter()
3970 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_enter()
[all …]
H A Dvm_memory_entry.c1598 …d %d procname %s", __func__, proc_selfpid(), get_bsdtask_info(cur_task)? proc_name_address(get_bsd… in mach_memory_entry_ownership()
/xnu-12377.81.4/iokit/Kernel/
H A DRootDomainUserClient.cpp114 p = (proc_t)get_bsdtask_info(fOwningTask); in secureSleepSystemOptions()
/xnu-12377.81.4/bsd/dev/arm/
H A Dsystemcalls.c190 … pid, get_bsdtask_info(current_task()) ? proc->p_comm : "unknown", thread_tid(current_thread())); in unix_syscall()
/xnu-12377.81.4/osfmk/kdp/
H A Dprocessor_core.c315 mh_cputype = process_cpu_type(get_bsdtask_info(task)); in kern_register_userspace_coredump()
316 mh_cpusubtype = process_cpu_subtype(get_bsdtask_info(task)); in kern_register_userspace_coredump()
/xnu-12377.81.4/osfmk/corpses/
H A Dcorpse.c582 const char *procname = proc_best_name(get_bsdtask_info(task)); in task_enqueue_exception_with_corpse()
/xnu-12377.81.4/osfmk/i386/
H A Dtrap.c1589 if (get_bsdtask_info(task) != NULL) { in copy_instruction_stream()
1590 procname = proc_name_address(get_bsdtask_info(task)); in copy_instruction_stream()

12