Lines Matching defs:code
118 unsigned short code;
136 code = regs->rax & SYSCALL_NUMBER_MASK;
141 if (code == 0) {
142 code = regs->rdi;
145 code = saved_state32(tagged_regs)->eax & I386_SYSCALL_NUMBER_MASK;
147 if (code == 0) {
149 code = fuword(params);
157 // Bounds "check" the value of code a la unix_syscall
158 sy = (code >= NUM_SYSENT) ? &systrace_sysent[63] : &systrace_sysent[code];
266 dtrace_systrace_syscall_return(unsigned short code, int rval, int *rv)
271 // Bounds "check" the value of code a la unix_syscall_return
272 sy = (code >= NUM_SYSENT) ? &systrace_sysent[63] : &systrace_sysent[code];
800 unsigned short code;
818 code = saved_state64(tagged_regs)->rax & SYSCALL_NUMBER_MASK;
820 code = -saved_state32(tagged_regs)->eax;
827 sy = &machtrace_sysent[code];