Home
last modified time | relevance | path

Searched refs:os_reason_t (Results 1 – 18 of 18) sorted by relevance

/xnu-8792.61.2/bsd/sys/
H A Dreason.h53 } *os_reason_t; typedef
55 #define OS_REASON_NULL ((os_reason_t) NULL)
62 os_reason_t build_userspace_exit_reason(uint32_t reason_namespace, uint64_t reason_code, user_addr_…
64 char *exit_reason_get_string_desc(os_reason_t exit_reason);
67 int os_reason_alloc_buffer(os_reason_t cur_reason, uint32_t osr_bufsize);
71 typedef void * os_reason_t;
75 os_reason_t os_reason_create(uint32_t osr_namespace, uint64_t osr_code);
76 int os_reason_alloc_buffer_noblock(os_reason_t cur_reason, uint32_t osr_bufsize);
77 struct kcdata_descriptor * os_reason_get_kcdata_descriptor(os_reason_t cur_reason);
78 void os_reason_ref(os_reason_t cur_reason);
[all …]
H A Dkern_memorystatus.h655 boolean_t memorystatus_kill_with_jetsam_reason_sync(pid_t pid, os_reason_t jetsam_reason);
/xnu-8792.61.2/bsd/kern/
H A Dsys_reason.c49 static int os_reason_alloc_buffer_internal(os_reason_t cur_reason, uint32_t osr_bufsize,
62 os_reason_t
65 os_reason_t new_reason; in os_reason_create()
77 os_reason_dealloc_buffer(os_reason_t cur_reason) in os_reason_dealloc_buffer()
106 os_reason_alloc_buffer(os_reason_t cur_reason, uint32_t osr_bufsize) in os_reason_alloc_buffer()
126 os_reason_alloc_buffer_noblock(os_reason_t cur_reason, uint32_t osr_bufsize) in os_reason_alloc_buffer_noblock()
132 os_reason_alloc_buffer_internal(os_reason_t cur_reason, uint32_t osr_bufsize, in os_reason_alloc_buffer_internal()
182 os_reason_get_kcdata_descriptor(os_reason_t cur_reason) in os_reason_get_kcdata_descriptor()
206 os_reason_ref(os_reason_t cur_reason) in os_reason_ref()
223 os_reason_free(os_reason_t cur_reason) in os_reason_free()
[all …]
H A Dkern_memorystatus.c311 boolean_t memorystatus_kill_elevated_process(uint32_t cause, os_reason_t jetsam_reason, unsigned in…
659 static boolean_t memorystatus_kill_specific_process(pid_t victim_pid, uint32_t cause, os_reason_t j…
660 static boolean_t memorystatus_kill_process_sync(pid_t victim_pid, uint32_t cause, os_reason_t jetsa…
737 static bool memorystatus_kill_top_process(bool any, bool sort_flag, uint32_t cause, os_reason_t jet…
1541 jetsam_do_kill(proc_t p, int jetsam_flags, os_reason_t jetsam_reason) in jetsam_do_kill()
1552 memorystatus_do_kill(proc_t p, uint32_t cause, os_reason_t jetsam_reason, uint64_t *footprint_of_ki… in memorystatus_do_kill()
1563 …DTRACE_MEMORYSTATUS4(memorystatus_do_kill, proc_t, p, os_reason_t, jetsam_reason, uint32_t, cause,… in memorystatus_do_kill()
3452 os_reason_t jetsam_reason = OS_REASON_NULL; in kill_idle_exit_proc()
3707 memorystatus_act_aggressive(uint32_t cause, os_reason_t jetsam_reason, int *jld_idle_kills, bool *c… in memorystatus_act_aggressive()
3835 static os_reason_t
[all …]
H A Dkern_sig.c192 static os_reason_t build_signal_reason(int signum, const char *procname);
193 …nternal(proc_t p, task_t task, thread_t thread, int flavor, int signum, os_reason_t signal_reason);
1411 os_reason_t
1415 os_reason_t exit_reason = OS_REASON_NULL; in build_userspace_exit_reason()
1557 os_reason_t signal_reason = OS_REASON_NULL; in terminate_with_payload_internal()
1809 os_reason_t signal_reason = build_signal_reason(signum, "exc handler"); in threadsignal()
1826 set_thread_extra_flags(task_t task, struct uthread *uth, os_reason_t reason) in set_thread_extra_flags()
1884 os_reason_t exit_reason = (os_reason_t)reason; in set_thread_exit_reason()
1959 static os_reason_t
1962 os_reason_t signal_reason = OS_REASON_NULL; in build_signal_reason()
[all …]
H A Dkern_exit.c175 int num_udata, os_reason_t reason, exception_type_t etype);
186 extern void IOUserServerRecordExitReason(task_t task, os_reason_t reason);
234 static int exit_with_mach_exception(proc_t p, os_reason_t reason, exception_type_t exception,
483 uint64_t *udata_buffer, int num_udata, os_reason_t reason, exception_type_t etype) in populate_corpse_crashinfo()
864 os_reason_t reason = (os_reason_t)reasonp; in current_thread_collect_backtrace_info()
1240 exit_reason_get_string_desc(os_reason_t exit_reason) in exit_reason_get_string_desc()
1306 os_reason_t exit_reason = OS_REASON_NULL; in abort_with_payload_internal()
1611 _proc_is_fatal_reason(os_reason_t reason) in _proc_is_fatal_reason()
1674 os_reason_t reason = p->p_exit_reason; in proc_should_trigger_panic()
3449 os_reason_t reason = os_reason_create(OS_REASON_GUARD, (uint64_t)code); in exit_with_guard_exception()
[all …]
H A Dkern_guarded.c1154 static os_reason_t
1157 os_reason_t r = os_reason_create(OS_REASON_GUARD, GUARD_REASON_VNODE); in vng_reason_from_pathname()
1281 os_reason_t r = NULL; in vng_guard_violation()
H A Dkern_memorystatus_freeze.c154 static bool kill_all_frozen_processes(uint64_t max_band, bool suspended_only, os_reason_t jetsam_re…
1153 os_reason_t jetsam_reason = os_reason_create(OS_REASON_JETSAM, JETSAM_REASON_GENERIC); in memorystatus_freezer_reset_state()
1217 kill_all_frozen_processes(uint64_t max_band, bool suspended_only, os_reason_t jetsam_reason, uint64… in kill_all_frozen_processes()
1338os_reason_t jetsam_reason = os_reason_create(OS_REASON_JETSAM, JETSAM_REASON_MEMORY_DISK_SPACE_SHO… in memorystatus_disable_freeze()
H A Dkern_exec.c1168 os_reason_t exec_failure_reason = OS_REASON_NULL; in exec_mach_imgact()
7286 proc_process_signature(proc_t p, os_reason_t *signature_failure_reason) in proc_process_signature()
7302 os_reason_t reason = os_reason_create(OS_REASON_EXEC, EXEC_EXIT_REASON_SECURITY_POLICY); in proc_process_signature()
7340 os_reason_t signature_failure_reason = OS_REASON_NULL; in process_signature()
7384 os_reason_t launch_constraint_reason; in process_signature()
H A Dmach_loader.c1352 os_reason_t load_failure_reason = OS_REASON_NULL; in parse_machfile()
3363 os_reason_t reason = os_reason_create(OS_REASON_CODESIGNING, in set_signature_error()
H A Dkern_proc.c4325 os_reason_t kill_reason; in proc_dopcontrol()
4521 os_reason_t kill_reason; in no_paging_space_action()
/xnu-8792.61.2/iokit/IOKit/
H A DIOUserServer.h179 os_reason_t fTaskCrashReason;
351 IOUserServerRecordExitReason(task_t task, os_reason_t reason);
/xnu-8792.61.2/security/
H A Dmac_process.c902 mac_proc_check_launch_constraints(proc_t curp, struct image_params *imgp, os_reason_t *reasonp) in mac_proc_check_launch_constraints()
977 os_reason_t reason = os_reason_create(OS_REASON_CODESIGNING, in mac_proc_check_launch_constraints()
H A Dmac_framework.h345 int mac_proc_check_launch_constraints(proc_t curp, struct image_params *imgp, os_reason_t *reas…
H A Dmac_vfs.c1381 os_reason_t reason = os_reason_create(OS_REASON_CODESIGNING, in mac_vnode_check_signature()
/xnu-8792.61.2/bsd/skywalk/core/
H A Dskywalk.c938 os_reason_t exit_reason = OS_REASON_NULL; in skywalk_kill_process()
/xnu-8792.61.2/iokit/Kernel/
H A DIOUserServer.cpp4076 os_reason_t reason;
4100 IOUserServerRecordExitReason(task_t task, os_reason_t reason) in IOUserServerRecordExitReason()
/xnu-8792.61.2/osfmk/vm/
H A Dvm_fault.c2791 os_reason_t codesigning_exit_reason = OS_REASON_NULL; in vm_fault_cs_handle_violation()