Home
last modified time | relevance | path

Searched defs:code (Results 1 – 25 of 113) sorted by relevance

12345

/xnu-12377.41.6/osfmk/kern/
H A Dexc_resource.h55 #define EXC_RESOURCE_DECODE_RESOURCE_TYPE(code) \ argument
57 #define EXC_RESOURCE_DECODE_FLAVOR(code) \ argument
95 #define EXC_RESOURCE_CPUMONITOR_DECODE_INTERVAL(code) \ argument
97 #define EXC_RESOURCE_CPUMONITOR_DECODE_PERCENTAGE(code) \ argument
130 #define EXC_RESOURCE_CPUMONITOR_DECODE_WAKEUPS_PERMITTED(code) \ argument
132 #define EXC_RESOURCE_CPUMONITOR_DECODE_OBSERVATION_INTERVAL(code) \ argument
167 #define EXC_RESOURCE_HWM_DECODE_LIMIT(code) \ argument
197 #define EXC_RESOURCE_IO_DECODE_INTERVAL(code) \ argument
199 #define EXC_RESOURCE_IO_DECODE_LIMIT(code) \ argument
212 #define EXC_RESOURCE_THREADS_DECODE_THREADS(code) \ argument
[all …]
H A Dexc_guard.h58 #define EXC_GUARD_DECODE_GUARD_TYPE(code) \ argument
60 #define EXC_GUARD_DECODE_GUARD_FLAVOR(code) \ argument
62 #define EXC_GUARD_DECODE_GUARD_TARGET(code) \ argument
171 #define EXC_GUARD_ENCODE_TYPE(code, type) \ argument
173 #define EXC_GUARD_ENCODE_FLAVOR(code, flavor) \ argument
175 #define EXC_GUARD_ENCODE_TARGET(code, target) \ argument
H A Dux_handler.c135 mach_exception_data_t code, in catch_mach_exception_raise()
178 exception_data_t code, in catch_exception_raise()
202 __unused const exception_data_t code, in catch_exception_raise_state()
217 __unused const mach_exception_data_t code, in catch_mach_exception_raise_state()
234 __unused exception_data_t code, in catch_exception_raise_state_identity()
251 __unused mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
268 __unused mach_exception_data_t code, in catch_mach_exception_raise_identity_protected()
279 __unused mach_exception_data_t code, in catch_mach_exception_raise_backtrace()
291 __unused mach_exception_data_t code, in catch_mach_exception_raise_state_identity_protected()
H A Dexception.c195 mach_exception_data_t code, in exception_deliver()
617 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; in exception_deliver_backtrace() local
722 mach_exception_data_t code, in exception_triage_thread()
806 mach_exception_data_t code) in pac_exception_triage()
858 mach_exception_data_t code) in maybe_unrecoverable_exception_triage()
922 mach_exception_data_t code, in exception_triage()
970 mach_exception_data_t code, in bsd_exception()
1002 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; in task_exception_notify() local
1039 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; in sys_perf_notify() local
/xnu-12377.41.6/iokit/IOKit/
H A DIOTimeStamp.h196 #define IODBG_STORAGE(code) (KDBG_CODE(DBG_IOKIT, DBG_IOSTORAGE, code)) argument
197 #define IODBG_NETWORK(code) (KDBG_CODE(DBG_IOKIT, DBG_IONETWORK, code)) argument
198 #define IODBG_KEYBOARD(code) (KDBG_CODE(DBG_IOKIT, DBG_IOKEYBOARD, code)) argument
199 #define IODBG_HID(code) (KDBG_CODE(DBG_IOKIT, DBG_IOHID, code)) argument
200 #define IODBG_AUDIO(code) (KDBG_CODE(DBG_IOKIT, DBG_IOAUDIO, code)) argument
201 #define IODBG_SERIAL(code) (KDBG_CODE(DBG_IOKIT, DBG_IOSERIAL, code)) argument
202 #define IODBG_TTY(code) (KDBG_CODE(DBG_IOKIT, DBG_IOTTY, code)) argument
203 #define IODBG_SAM(code) (KDBG_CODE(DBG_IOKIT, DBG_IOSAM, code)) argument
204 #define IODBG_PARALLELATA(code) (KDBG_CODE(DBG_IOKIT, DBG_IOPARALLELATA, code)) argument
205 #define IODBG_PARALLELSCSI(code) (KDBG_CODE(DBG_IOKIT, DBG_IOPARALLELSCSI, code)) argument
[all …]
/xnu-12377.41.6/osfmk/arm/
H A Dtrap.h99 #define ml_recoverable_trap(code) \ argument
103 #define ml_fatal_trap(code) ({ \ argument
108 #define ml_fatal_trap(code) ({ \ argument
121 #define TRAP_CASE(code) \ argument
125 #define TRAP_5CASES(code) \ argument
135 ml_bound_chk_soft_trap(unsigned char code) in ml_bound_chk_soft_trap()
/xnu-12377.41.6/osfmk/i386/
H A Dx86_hypercall.h84 #define HVG_HCALL_CODE(code) ('A' << 24 | (code & 0xFFFFFF)) argument
108 hvg_hypercall6(uint64_t code, uint64_t rdi, uint64_t rsi, uint64_t rdx, uint64_t rcx, uint64_t r8, … in hvg_hypercall6()
135 hvg_hypercall0(const uint64_t code, in hvg_hypercall0()
142 hvg_hypercall1(const uint64_t code, in hvg_hypercall1()
150 hvg_hypercall2(const uint64_t code, in hvg_hypercall2()
158 hvg_hypercall3(const uint64_t code, in hvg_hypercall3()
166 hvg_hypercall4(const uint64_t code, in hvg_hypercall4()
174 hvg_hypercall5(const uint64_t code, in hvg_hypercall5()
182 kvmcompat_hypercall2(unsigned long code, unsigned long a0, unsigned long a1) in kvmcompat_hypercall2()
H A Dtrap.h121 #define ml_recoverable_trap(code) \ argument
124 #define ml_fatal_trap(code) ({ \ argument
132 ml_trap(unsigned int code) in ml_trap()
140 ml_bound_chk_soft_trap(unsigned char code) in ml_bound_chk_soft_trap()
/xnu-12377.41.6/osfmk/machine/
H A Dtrap.h60 #define ml_fatal_trap_with_value(code, a) ({ \ argument
65 #define ml_fatal_trap_with_value2(code, a, b) ({ \ argument
70 #define ml_fatal_trap_with_value3(code, a, b, c) ({ \ argument
84 #define ml_fatal_trap_with_value(code, a) ({ \ argument
88 #define ml_fatal_trap_with_value2(code, a) ({ \ argument
92 #define ml_fatal_trap_with_value3(code, a, b, c) ({ \ argument
/xnu-12377.41.6/bsd/dev/i386/
H A Dsystemcalls.c76 #define code_is_kdebug_trace(code) (((code) == SYS_kdebug_trace) || \ argument
93 unsigned int code, syscode; in unix_syscall() local
277 unsigned int code, syscode; in unix_syscall64() local
483 unsigned int code; in unix_syscall_return() local
/xnu-12377.41.6/bsd/dev/arm/
H A Dsystemcalls.c74 #define code_is_kdebug_trace(code) (((code) == SYS_kdebug_trace) || \ argument
97 unsigned short code, syscode; in unix_syscall() local
237 unsigned short code; in unix_syscall_return() local
333 arm_trace_u32_unix_syscall(int code, arm_saved_state32_t *regs) in arm_trace_u32_unix_syscall()
544 arm_trace_u64_unix_syscall(int code, arm_saved_state64_t *regs) in arm_trace_u64_unix_syscall()
557 arm_trace_unix_syscall(int code, struct arm_saved_state *state) in arm_trace_unix_syscall()
/xnu-12377.41.6/EXTERNAL_HEADERS/architecture/i386/
H A Dtable.h48 code_desc_t code; member
65 code_desc_t code; member
92 code_desc_t code; member
/xnu-12377.41.6/osfmk/kperf/
H A Dbuffer.h34 #define PERF_CODE(SubClass, code) KDBG_CODE(DBG_PERF, SubClass, code) argument
56 #define PERF_GEN_CODE(code) PERF_CODE(PERF_GENERIC, code) argument
59 #define PERF_TI_CODE(code) PERF_CODE(PERF_THREADINFO, code) argument
85 #define PERF_CS_CODE(code) PERF_CODE(PERF_CALLSTACK, code) argument
102 #define PERF_TM_CODE(code) PERF_CODE(PERF_TIMER, code) argument
109 #define PERF_PET_CODE(code) PERF_CODE(PERF_PET, code) argument
121 #define PERF_AST_CODE(code) PERF_CODE(PERF_AST, code) argument
126 #define PERF_KPC_CODE(code) PERF_CODE(PERF_KPC, code) argument
140 #define PERF_KDBG_CODE(code) PERF_CODE(PERF_KDBG, code) argument
143 #define PERF_TK_CODE(code) PERF_CODE(PERF_TASK, code) argument
[all …]
/xnu-12377.41.6/bsd/uxkern/
H A Dux_exception.c57 mach_exception_code_t code, in ux_exception()
116 mach_exception_code_t code, in handle_ux_exception()
/xnu-12377.41.6/tests/
H A Dexc_resource_threads.c33 mach_exception_data_t code, in catch_mach_exception_raise()
48 const mach_exception_data_t code, in catch_mach_exception_raise_state()
66 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
H A Dhw_breakpoint_step_arm64.c34 mach_exception_data_t code, in catch_mach_exception_raise()
53 const mach_exception_data_t code, in catch_mach_exception_raise_state()
71 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
H A Dimmovable_send.c32 const mach_exception_data_t code, in catch_mach_exception_raise_state()
50 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
68 mach_exception_data_t code, in catch_mach_exception_raise()
/xnu-12377.41.6/libsyscall/wrappers/
H A Dkdebug_trace.c200 kdebug_signpost(uint32_t code, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4) in kdebug_signpost()
206 kdebug_signpost_start(uint32_t code, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4) in kdebug_signpost_start()
212 kdebug_signpost_end(uint32_t code, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4) in kdebug_signpost_end()
/xnu-12377.41.6/tests/ipc/
H A Dsys_perf_notify_test.c33 const mach_exception_data_t code, in catch_mach_exception_raise_state()
51 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
106 mach_exception_data_t code, in catch_mach_exception_raise()
/xnu-12377.41.6/tests/vm/
H A Dmemorystatus_rearm.c71 mach_exception_data_t code, in catch_mach_exception_raise()
102 const mach_exception_data_t code, in catch_mach_exception_raise_state()
121 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
/xnu-12377.41.6/bsd/security/audit/
H A Daudit_mac.c139 audit_mac_syscall_enter(unsigned short code, proc_t p, struct uthread *uthread, in audit_mac_syscall_enter()
162 audit_mac_syscall_exit(unsigned short code, struct uthread *uthread, int error, in audit_mac_syscall_exit()
/xnu-12377.41.6/doc/debugging/
H A Dextensible_paniclog.md302 ### IOKit Example
348 ### DriverKit Example
/xnu-12377.41.6/bsd/sys/
H A Dkdebug.h1244 #define MACHDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_MACH, SubClass, code) argument
1245 #define NETDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_NETWORK, SubClass, code) argument
1246 #define FSDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_FSYSTEM, SubClass, code) argument
1247 #define BSDDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_BSD, SubClass, code) argument
1248 #define IOKDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_IOKIT, SubClass, code) argument
1249 #define DRVDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_DRIVERS, SubClass, code) argument
1250 #define TRACEDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_TRACE, SubClass, code) argument
1251 #define SILICONDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_SILICON, SubClass, code) argument
1252 #define MISCDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_MISC, SubClass, code) argument
1253 #define DLILDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_DLIL, SubClass, code) argument
[all …]
/xnu-12377.41.6/bsd/net/
H A Dbpf.h1157 #define BPF_CLASS(code) ((code) & 0x07) argument
1168 #define BPF_SIZE(code) ((code) & 0x18) argument
1172 #define BPF_MODE(code) ((code) & 0xe0) argument
1181 #define BPF_OP(code) ((code) & 0xf0) argument
1196 #define BPF_SRC(code) ((code) & 0x08) argument
1201 #define BPF_RVAL(code) ((code) & 0x18) argument
1205 #define BPF_MISCOP(code) ((code) & 0xf8) argument
1218 u_short code; member
1227 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k } argument
1228 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k } argument
/xnu-12377.41.6/tests/skywalk/
H A Dskywalk_test_driver.c67 mach_exception_data_t code, in catch_mach_exception_raise()
101 const mach_exception_data_t code, in catch_mach_exception_raise_state()
119 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()

12345