Home
last modified time | relevance | path

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

12

/xnu-11417.140.69/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.c811 void *proc = get_bsdtask_info(task); in pac_exception_triage()
862 void *proc = get_bsdtask_info(task); in maybe_unrecoverable_exception_triage()
942 if (proc_pid(get_bsdtask_info(task)) <= exception_log_max_pid) { in exception_triage()
945 proc_pid(get_bsdtask_info(task)), proc_name_address(get_bsdtask_info(task)), in exception_triage()
H A Dbsd_kern.c93 get_bsdtask_info(task_t t) in get_bsdtask_info() function
103 void * bsd_info = get_bsdtask_info(t); in task_bsdtask_kill()
1352 void *bsd_info = get_bsdtask_info(task); in get_task_dispatchqueue_serialno_offset()
1365 void *bsd_info = get_bsdtask_info(task); in get_task_dispatchqueue_label_offset()
1377 void *bsd_info = get_bsdtask_info(task); in get_task_uniqueid()
1389 void *bsd_info = get_bsdtask_info(task); in get_task_version()
1441 bsd_info = get_bsdtask_info(task); in get_task_cdhash()
H A Dtask.c2102 assert(get_bsdtask_info(task) == NULL); in task_deallocate_internal()
2387 assert(is_corpse_fork || get_bsdtask_info(task) != NULL); in task_collect_crash_info()
2388 if (task->corpse_info == NULL && (is_corpse_fork || get_bsdtask_info(task) != NULL)) { in task_collect_crash_info()
2517 if (get_bsdtask_info(task)) { in task_terminate()
2568 crash_label = mac_exc_create_label_for_proc((struct proc*)get_bsdtask_info(task)); in task_mark_corpse()
3121 void *bsd_info = get_bsdtask_info(task); in task_terminate_internal()
3196 void *proc = get_bsdtask_info(task); in task_terminate_internal()
3383 dispatchqueue_offset = get_dispatchqueue_offset_from_proc(get_bsdtask_info(task)); in task_start_halt_locked()
3669 void *bsd_info = get_bsdtask_info(task); in task_hold_locked()
3806 void *bsd_info = get_bsdtask_info(task); in task_release_locked()
[all …]
H A Dthread.c461 void *bsd_info = get_bsdtask_info(task); in thread_terminate_self()
527 kdbg_trace_data(get_bsdtask_info(task), &dbg_arg1, &dbg_arg2); in thread_terminate_self()
1579 kdbg_trace_data(get_bsdtask_info(parent_task), &args[1], &args[3]); in thread_create_internal()
1600 kdebug_proc_name_args(get_bsdtask_info(parent_task), args); in thread_create_internal()
2561 void *bsd_info = get_bsdtask_info(task); in mach_exception_ast()
2637 void *bsd_info = get_bsdtask_info(task); in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
3263 void *bsd_info = get_bsdtask_info(task); in thread_dispatchqaddr()
3292 uint64_t wq_quantum_expiry_offset = get_wq_quantum_offset_from_proc(get_bsdtask_info(task)); in thread_wqquantum_addr()
3319 bsd_info = get_bsdtask_info(task); in thread_rettokern_addr()
3653 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.c1308 memorystatus_update_priority_for_appnap(((proc_t) get_bsdtask_info(task)), TRUE); in task_policy_update_internal_locked()
1310 memorystatus_update_priority_for_appnap(((proc_t) get_bsdtask_info(task)), FALSE); in task_policy_update_internal_locked()
2192 if (get_bsdtask_info(task) == initproc) { in task_compute_main_thread_qos()
2672 bsdinfo = get_bsdtask_info(task); in proc_clear_task_ruse_cpu()
2718 bsdinfo = get_bsdtask_info(task); in task_apply_resource_actions()
2933 void *cur_bsd_info = get_bsdtask_info(current_task()); in task_set_cpuusage()
3953 if (!(proc = get_bsdtask_info(violator))) { in send_resource_violation()
4023 if (!(proc = get_bsdtask_info(violator))) { in send_resource_violation_with_fatal_port()
H A Dkern_stackshot.c3202 void *bsd_info = get_bsdtask_info(task); in kcdata_get_task_ss_flags()
3722 proc_archinfo_kdp(get_bsdtask_info(task), &cputype, &cpusubtype); in kcdata_record_task_cpu_architecture()
3739 bsdtask_info = get_bsdtask_info(task); in kcdata_record_task_codesigning_info()
3854 if (task_pid != -1 && get_bsdtask_info(task) != NULL) { in kcdata_record_transitioning_task_snapshot()
3855 proc_name_kdp(get_bsdtask_info(task), cur_tsnap->tts_p_comm, sizeof(cur_tsnap->tts_p_comm)); in kcdata_record_transitioning_task_snapshot()
3893 void *bsd_info = get_bsdtask_info(task); in kcdata_record_task_snapshot()
4703 void *bsd_info = get_bsdtask_info(task); in kdp_stackshot_record_task()
4779 proc_starttime_kdp(get_bsdtask_info(task), NULL, NULL, &task_start_abstime); in kdp_stackshot_record_task()
5306 proc_starttime_kdp(get_bsdtask_info(task), NULL, NULL, &abstime); in kdp_stackshot_kcdata_format()
5533 void *bsd_info = get_bsdtask_info(task); in proc_was_throttled_from_task()
[all …]
H A Dtask.h649 extern void *get_bsdtask_info(task_t t);
1427 extern void *get_bsdtask_info(task_t);
/xnu-11417.140.69/osfmk/ipc/
H A Dipc_policy.c122 struct proc *proc = get_bsdtask_info(task); in ipc_current_user_policy()
441 proc_name = proc_name_address(get_bsdtask_info(task)); in ipc_stash_policy_violations_telemetry()
862 exit_with_mach_exception(get_bsdtask_info(task), info, flags); in mach_port_guard_ast()
914 exit_with_mach_exception(get_bsdtask_info(task), info, flags); in mach_port_guard_ast()
H A Dmach_port.c1483 if (task && !proc_isinitproc(get_bsdtask_info((task_t)task))) { in mach_service_pd_request_notification_check()
1491 if (task && !proc_isinitproc(get_bsdtask_info((task_t)task))) { in mach_service_pd_request_notification_check()
2517 if (proc_isinitproc(get_bsdtask_info(current_task()))) { in mach_port_construct()
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()
H A Dipc_object.c606 if (task && proc_isinitproc(get_bsdtask_info(task))) { in ipc_object_copyin()
/xnu-11417.140.69/osfmk/kperf/
H A Dtask_samplers.c58 memorystatus_proc_flags_unsafe(get_bsdtask_info(task), &dirty, &dirty_tracked, &allow_idle_exit); in kperf_task_snapshot_sample()
/xnu-11417.140.69/bsd/kern/
H A Dkern_fork.c326 child_proc = (proc_t)(get_bsdtask_info(get_threadtask(child_thread))); in fork1()
1344 proc_t p = get_bsdtask_info(task); in uthread_init()
1506 if (get_bsdtask_info(task) == p) { in uthread_cleanup()
/xnu-11417.140.69/iokit/bsddev/
H A DIOKitBSDInit.cpp1570 proc_t proc = (proc_t)get_bsdtask_info(task); in IOTaskHasStringEntitlement()
1601 proc_t proc = (proc_t)get_bsdtask_info(task); in IOTaskHasEntitlement()
1634 proc_t proc = (proc_t)get_bsdtask_info(task); in IOTaskGetEntitlement()
/xnu-11417.140.69/security/
H A Dmac_mach.c468 struct proc *p = get_bsdtask_info(victim_task); in mac_exc_action_check_exception_send()
/xnu-11417.140.69/osfmk/vm/
H A Dvm_map.c621 (get_bsdtask_info(current_task()) in vm_map_entry_copy_csm_assoc()
622 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_entry_copy_csm_assoc()
660 (get_bsdtask_info(current_task()) in vm_map_entry_copy_code_signing()
661 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_entry_copy_code_signing()
2968 (get_bsdtask_info(current_task()) in vm_map_enter()
2969 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_enter()
3016 (get_bsdtask_info(current_task()) in vm_map_enter()
3017 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_enter()
3654 (get_bsdtask_info(current_task()) in vm_map_enter()
3655 ? proc_name_address(get_bsdtask_info(current_task())) in vm_map_enter()
[all …]
/xnu-11417.140.69/bsd/dev/dtrace/
H A Dfbt_blacklist.c149 CLOSURE(get_bsdtask_info)
/xnu-11417.140.69/iokit/Kernel/
H A DRootDomainUserClient.cpp114 p = (proc_t)get_bsdtask_info(fOwningTask); in secureSleepSystemOptions()
/xnu-11417.140.69/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-11417.140.69/osfmk/kdp/
H A Dprocessor_core.c322 mh_cputype = process_cpu_type(get_bsdtask_info(task)); in kern_register_userspace_coredump()
323 mh_cpusubtype = process_cpu_subtype(get_bsdtask_info(task)); in kern_register_userspace_coredump()
/xnu-11417.140.69/osfmk/corpses/
H A Dcorpse.c581 const char *procname = proc_best_name(get_bsdtask_info(task)); in task_enqueue_exception_with_corpse()
/xnu-11417.140.69/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