Lines Matching refs:code
79 unsigned int code;
113 code = regs->eax & I386_SYSCALL_NUMBER_MASK;
119 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
122 code = fuword(params);
124 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
146 if (code != 180) {
149 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_START,
164 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_START,
183 AUDIT_SYSCALL_ENTER(code, p, uthread);
185 AUDIT_SYSCALL_EXIT(code, p, uthread, error);
235 if (code != 180)
236 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_END,
248 unsigned int code;
282 code = regs->rax & SYSCALL_NUMBER_MASK;
283 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
291 code = regs->rdi;
292 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
298 if (code != 180) {
301 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_START,
327 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_START,
344 AUDIT_SYSCALL_ENTER(code, p, uthread);
346 AUDIT_SYSCALL_EXIT(code, p, uthread, error);
410 if (code != 180)
411 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_END,
425 unsigned int code;
439 /* reconstruct code for tracing before blasting rax */
440 code = regs->rax & SYSCALL_NUMBER_MASK;
441 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
448 code = regs->rdi;
452 dtrace_systrace_syscall_return( code, error, uthread->uu_rval );
500 /* reconstruct code for tracing before blasting eax */
501 code = regs->eax & I386_SYSCALL_NUMBER_MASK;
502 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
506 dtrace_systrace_syscall_return( code, error, uthread->uu_rval );
511 code = fuword(params);
545 if (code != 180)
546 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_EXCP_SC, code) | DBG_FUNC_END,