Home
last modified time | relevance | path

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

12345

/xnu-11215/osfmk/kern/
H A Dexc_resource.h55 #define EXC_RESOURCE_DECODE_RESOURCE_TYPE(code) \ argument
57 #define EXC_RESOURCE_DECODE_FLAVOR(code) \ argument
164 #define EXC_RESOURCE_HWM_DECODE_LIMIT(code) \ argument
194 #define EXC_RESOURCE_IO_DECODE_INTERVAL(code) \ argument
196 #define EXC_RESOURCE_IO_DECODE_LIMIT(code) \ argument
209 #define EXC_RESOURCE_THREADS_DECODE_THREADS(code) \ argument
240 #define EXC_RESOURCE_THREADS_DECODE_PORTS(code) \ argument
246 #define EXC_RESOURCE_ENCODE_TYPE(code, type) \ argument
248 #define EXC_RESOURCE_ENCODE_FLAVOR(code, flavor) \ argument
266 #define EXC_RESOURCE_HWM_ENCODE_LIMIT(code, num) \ 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.c134 mach_exception_data_t code, in catch_mach_exception_raise()
177 exception_data_t code, in catch_exception_raise()
201 __unused const exception_data_t code, in catch_exception_raise_state()
216 __unused const mach_exception_data_t code, in catch_mach_exception_raise_state()
233 __unused exception_data_t code, in catch_exception_raise_state_identity()
250 __unused mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
267 __unused mach_exception_data_t code, in catch_mach_exception_raise_identity_protected()
278 __unused mach_exception_data_t code, in catch_mach_exception_raise_backtrace()
290 __unused mach_exception_data_t code, in catch_mach_exception_raise_state_identity_protected()
H A Dexception.c196 mach_exception_data_t code, in exception_deliver()
618 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; in exception_deliver_backtrace() local
723 mach_exception_data_t code, in exception_triage_thread()
807 mach_exception_data_t code) in pac_exception_triage()
873 mach_exception_data_t code, in exception_triage()
914 mach_exception_data_t code, in bsd_exception()
946 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; in task_exception_notify() local
983 mach_exception_data_type_t code[EXCEPTION_CODE_MAX]; in sys_perf_notify() local
/xnu-11215/iokit/IOKit/
H A DIOTimeStamp.h198 #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
202 #define IODBG_TTY(code) (KDBG_CODE(DBG_IOKIT, DBG_IOTTY, code)) argument
210 #define IODBG_BLUETOOTH(code) (KDBG_CODE(DBG_IOKIT, DBG_IOBLUETOOTH, code)) argument
211 #define IODBG_FIREWIRE(code) (KDBG_CODE(DBG_IOKIT, DBG_IOFIREWIRE, code)) argument
212 #define IODBG_INFINIBAND(code) (KDBG_CODE(DBG_IOKIT, DBG_IOINFINIBAND, code)) argument
216 #define IODBG_DISK(code) IODBG_STORAGE(code) argument
217 #define IODBG_POINTING(code) IODBG_HID(code) argument
222 #define IODBG_WORKLOOP(code) (KDBG_CODE(DBG_IOKIT, DBG_IOWORKLOOP, code)) argument
229 #define IODBG_IOSERVICE(code) (KDBG_CODE(DBG_IOKIT, DBG_IOSERVICE, code)) argument
[all …]
/xnu-11215/osfmk/arm/
H A Dtrap.h91 ml_recoverable_trap(unsigned int code) in ml_recoverable_trap()
99 ml_fatal_trap(unsigned int code) in ml_fatal_trap()
108 ml_fatal_trap_with_value(unsigned int code, unsigned long value) in ml_fatal_trap_with_value()
123 #define ml_recoverable_trap(code) \ argument
125 #define ml_fatal_trap(code) ({ \ argument
133 #define ml_fatal_trap_with_value(code, value) ({ \ argument
147 #define TRAP_CASE(code) \ argument
151 #define TRAP_5CASES(code) \ argument
161 ml_bound_chk_soft_trap(unsigned char code) in ml_bound_chk_soft_trap()
/xnu-11215/osfmk/i386/
H A Dtrap.h119 ml_recoverable_trap(unsigned int code) in ml_recoverable_trap()
127 ml_fatal_trap(unsigned int code) in ml_fatal_trap()
136 ml_fatal_trap_with_value(unsigned int code, unsigned long value) in ml_fatal_trap_with_value()
147 #define ml_recoverable_trap(code) \ argument
149 #define ml_fatal_trap(code) ({ \ argument
153 #define ml_fatal_trap_with_value(code, value) ({ \ argument
166 ml_trap(unsigned int code) in ml_trap()
174 ml_bound_chk_soft_trap(unsigned char code) in ml_bound_chk_soft_trap()
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()
/xnu-11215/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-11215/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-11215/osfmk/kperf/
H A Dbuffer.h56 #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
150 #define PERF_LZ_CODE(code) PERF_CODE(PERF_LAZY, code) argument
[all …]
/xnu-11215/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-11215/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-11215/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()
H A Dvm_set_max_addr_test.c25 int code = 0; variable
H A Dreply_port_defense.c57 const mach_exception_data_t code, in catch_mach_exception_raise_state()
75 mach_exception_data_t code, in catch_mach_exception_raise_state_identity()
136 mach_exception_data_t code, in catch_mach_exception_raise()
/xnu-11215/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-11215/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-11215/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-11215/bsd/sys/
H A Dkdebug.h1155 #define MACHDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_MACH, SubClass, code) argument
1158 #define BSDDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_BSD, SubClass, code) argument
1167 #define QTDBG_CODE(SubClass, code) KDBG_EVENTID(DBG_QT, SubClass, code) argument
1171 #define CPUPM_CODE(code) IOKDBG_CODE(DBG_IOCPUPM, code) argument
1185 #define MEMSTAT_CODE(code) BSDDBG_CODE(DBG_BSD_MEMSTAT, code) argument
1187 #define VM_RECLAIM_CODE(code) MACHDBG_CODE(DBG_MACH_VM_RECLAIM, code) argument
1188 #define VMDBG_CODE(code) MACHDBG_CODE(DBG_MACH_VM, code) argument
1190 #define PMAP_CODE(code) MACHDBG_CODE(DBG_MACH_PMAP, code) argument
1194 #define ATM_CODE(SubClass, code) KDBG_EVENTID(DBG_ATM, (SubClass), (code)) argument
1198 #define COREDUETDBG_CODE(code) DAEMONDBG_CODE(DBG_DAEMON_COREDUET, code) argument
[all …]
/xnu-11215/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()
/xnu-11215/bsd/netinet6/
H A Dicmp6.c201 icmp6_errcount(struct icmp6errstat *stat, int type, int code) in icmp6_errcount()
261 icmp6_error_packet_gencount(int type, int code) in icmp6_error_packet_gencount()
277 icmp6_error(struct mbuf *m, int type, int code, int param) in icmp6_error()
283 icmp6_error_flag(struct mbuf *m, int type, int code, int param, int flags) in icmp6_error_flag()
475 int code, sum, noff, proxy = 0; in icmp6_input() local
965 icmp6_notify_error(struct mbuf *m, int off, int icmp6len, int code) in icmp6_notify_error()
2249 int type, code; in icmp6_reflect() local
3343 __unused const int code) in icmp6_ratelimit()
/xnu-11215/libsyscall/mach/
H A Dexc_catcher.c48 exception_data_t code, in internal_catch_exception_raise()

12345