Home
last modified time | relevance | path

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

1234

/xnu-8019.80.24/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
162 #define EXC_RESOURCE_HWM_DECODE_LIMIT(code) \ argument
192 #define EXC_RESOURCE_IO_DECODE_INTERVAL(code) \ argument
194 #define EXC_RESOURCE_IO_DECODE_LIMIT(code) \ argument
207 #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
167 #define EXC_GUARD_ENCODE_TYPE(code, type) \ argument
169 #define EXC_GUARD_ENCODE_FLAVOR(code, flavor) \ argument
171 #define EXC_GUARD_ENCODE_TARGET(code, target) \ argument
H A Dux_handler.c131 mach_exception_data_t code, in catch_mach_exception_raise()
182 exception_data_t code, in catch_exception_raise()
206 __unused const exception_data_t code, in catch_exception_raise_state()
221 __unused const mach_exception_data_t code, in catch_mach_exception_raise_state()
238 __unused exception_data_t code, in catch_exception_raise_state_identity()
255 __unused mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
272 __unused mach_exception_data_t code, in catch_mach_exception_raise_identity_protected()
H A Dexception.c181 mach_exception_data_t code, in exception_deliver()
493 mach_exception_data_t code, in exception_triage_thread()
576 mach_exception_data_t code) in pac_exception_triage()
633 mach_exception_data_t code, in exception_triage()
670 mach_exception_data_t code, in bsd_exception()
701 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; in task_exception_notify() local
728 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; in sys_perf_notify() local
/xnu-8019.80.24/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-8019.80.24/osfmk/i386/
H A Dx86_hypercall.h83 #define HVG_HCALL_CODE(code) ('A' << 24 | (code & 0xFFFFFF)) argument
106 hvg_hypercall6(uint64_t code, uint64_t rdi, uint64_t rsi, uint64_t rdx, uint64_t rcx, uint64_t r8, … in hvg_hypercall6()
133 hvg_hypercall0(const uint64_t code, in hvg_hypercall0()
140 hvg_hypercall1(const uint64_t code, in hvg_hypercall1()
148 hvg_hypercall2(const uint64_t code, in hvg_hypercall2()
156 hvg_hypercall3(const uint64_t code, in hvg_hypercall3()
164 hvg_hypercall4(const uint64_t code, in hvg_hypercall4()
172 hvg_hypercall5(const uint64_t code, in hvg_hypercall5()
H A Dtrap.c160 int code; in thread_syscall_return() local
523 int code; in kernel_trap() local
889 mach_exception_code_t code; in user_trap() local
1444 mach_exception_code_t code, in i386_exception()
/xnu-8019.80.24/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
281 unsigned int code, syscode; in unix_syscall64() local
491 unsigned int code; in unix_syscall_return() local
/xnu-8019.80.24/bsd/dev/arm/
H A Dsystemcalls.c74 #define code_is_kdebug_trace(code) (((code) == SYS_kdebug_trace) || \ argument
100 unsigned short code, syscode; in unix_syscall() local
246 unsigned short code; in unix_syscall_return() local
342 arm_trace_u32_unix_syscall(int code, arm_saved_state32_t *regs) in arm_trace_u32_unix_syscall()
453 arm_trace_unix_syscall(int code, struct arm_saved_state *state) in arm_trace_unix_syscall()
659 arm_trace_u64_unix_syscall(int code, arm_saved_state64_t *regs) in arm_trace_u64_unix_syscall()
672 arm_trace_unix_syscall(int code, struct arm_saved_state *state) in arm_trace_unix_syscall()
/xnu-8019.80.24/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
97 #define PERF_TM_CODE(code) PERF_CODE(PERF_TIMER, code) argument
104 #define PERF_PET_CODE(code) PERF_CODE(PERF_PET, code) argument
116 #define PERF_AST_CODE(code) PERF_CODE(PERF_AST, code) argument
120 #define PERF_KPC_CODE(code) PERF_CODE(PERF_KPC, code) argument
134 #define PERF_KDBG_CODE(code) PERF_CODE(PERF_KDBG, code) argument
137 #define PERF_TK_CODE(code) PERF_CODE(PERF_TASK, code) argument
[all …]
/xnu-8019.80.24/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-8019.80.24/bsd/uxkern/
H A Dux_exception.c57 mach_exception_code_t code, in ux_exception()
110 mach_exception_code_t code, in handle_ux_exception()
/xnu-8019.80.24/tests/
H A Dexc_resource_threads.c31 mach_exception_data_t code, in catch_mach_exception_raise()
46 const mach_exception_data_t code, in catch_mach_exception_raise_state()
64 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
H A Dhw_breakpoint_step_arm64.c33 mach_exception_data_t code, in catch_mach_exception_raise()
52 const mach_exception_data_t code, in catch_mach_exception_raise_state()
70 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
H A Dimmovable_send.c31 const mach_exception_data_t code, in catch_mach_exception_raise_state()
49 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
67 mach_exception_data_t code, in catch_mach_exception_raise()
H A Dimm_pinned_control_port.c88 const mach_exception_data_t code, in catch_mach_exception_raise_state()
106 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
124 mach_exception_data_t code, in catch_mach_exception_raise()
H A Dvm_set_max_addr_test.c25 int code = 0; variable
/xnu-8019.80.24/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-8019.80.24/bsd/sys/
H A Dkdebug.h987 #define MACHDBG_CODE(SubClass, code) KDBG_CODE(DBG_MACH, SubClass, code) argument
988 #define NETDBG_CODE(SubClass, code) KDBG_CODE(DBG_NETWORK, SubClass, code) argument
989 #define FSDBG_CODE(SubClass, code) KDBG_CODE(DBG_FSYSTEM, SubClass, code) argument
990 #define BSDDBG_CODE(SubClass, code) KDBG_CODE(DBG_BSD, SubClass, code) argument
991 #define IOKDBG_CODE(SubClass, code) KDBG_CODE(DBG_IOKIT, SubClass, code) argument
992 #define DRVDBG_CODE(SubClass, code) KDBG_CODE(DBG_DRIVERS, SubClass, code) argument
993 #define TRACEDBG_CODE(SubClass, code) KDBG_CODE(DBG_TRACE, SubClass, code) argument
994 #define SILICONDBG_CODE(SubClass, code) KDBG_CODE(DBG_SILICON, SubClass, code) argument
995 #define MISCDBG_CODE(SubClass, code) KDBG_CODE(DBG_MISC, SubClass, code) argument
996 #define DLILDBG_CODE(SubClass, code) KDBG_CODE(DBG_DLIL, SubClass, code) argument
[all …]
/xnu-8019.80.24/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-8019.80.24/bsd/kern/
H A Dkern_exit.c396 mach_exception_data_type_t code, mach_exception_data_type_t subcode, in gather_populate_corpse_crashinfo()
408 proc_update_corpse_exception_codes(proc_t p, mach_exception_data_type_t *code, mach_exception_data_… in proc_update_corpse_exception_codes()
454 mach_exception_data_type_t code, mach_exception_data_type_t subcode, in populate_corpse_crashinfo()
980 mach_exception_code_t code = 0; in abort_with_payload_internal() local
1220 mach_exception_data_type_t code = 0, subcode = 0; in proc_prepareexit() local
2814 mach_exception_data_type_t code, in exit_with_guard_exception()
2825 exit_with_pac_exception(proc_t p, exception_type_t exception, mach_exception_code_t code, in exit_with_pac_exception()
2836 exit_with_port_space_exception(proc_t p, mach_exception_data_type_t code, in exit_with_port_space_exception()
2846 …ach_exception(proc_t p, os_reason_t reason, exception_type_t exception, mach_exception_code_t code, in exit_with_mach_exception()
/xnu-8019.80.24/libsyscall/mach/
H A Dexc_catcher.c48 exception_data_t code, in internal_catch_exception_raise()
H A Dexc_catcher_state.c46 exception_data_t code, in internal_catch_exception_raise_state()
/xnu-8019.80.24/bsd/net/
H A Dbpf.h1262 #define BPF_CLASS(code) ((code) & 0x07) argument
1273 #define BPF_SIZE(code) ((code) & 0x18) argument
1277 #define BPF_MODE(code) ((code) & 0xe0) argument
1286 #define BPF_OP(code) ((code) & 0xf0) argument
1301 #define BPF_SRC(code) ((code) & 0x08) argument
1306 #define BPF_RVAL(code) ((code) & 0x18) argument
1310 #define BPF_MISCOP(code) ((code) & 0xf8) argument
1323 u_short code; member
1332 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k } argument
1333 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k } argument
/xnu-8019.80.24/bsd/netinet6/
H A Dicmp6.c199 icmp6_errcount(struct icmp6errstat *stat, int type, int code) in icmp6_errcount()
258 icmp6_error(struct mbuf *m, int type, int code, int param) in icmp6_error()
264 icmp6_error_flag(struct mbuf *m, int type, int code, int param, int flags) in icmp6_error_flag()
443 int code, sum, noff, proxy = 0; in icmp6_input() local
933 icmp6_notify_error(struct mbuf *m, int off, int icmp6len, int code) in icmp6_notify_error()
2222 int type, code; in icmp6_reflect() local
3314 __unused const int code) in icmp6_ratelimit()

1234