Lines Matching defs:call_number
635 mach_call_arg_munger32(uint32_t sp, int nargs, int call_number, struct mach_call_args *args);
639 mach_call_arg_munger32(uint32_t sp, int nargs, int call_number, struct mach_call_args *args)
657 if (call_number == 90) {
661 if (call_number == 93) {
676 int call_number;
685 call_number = -(regs->eax);
687 kprintf("mach_call_munger(0x%08x) code=%d\n", regs, call_number);
690 if (call_number < 0 || call_number >= mach_trap_count) {
691 i386_exception(EXC_SYSCALL, call_number, 1);
694 mach_call = (mach_call_t)mach_trap_table[call_number].mach_trap_function;
697 i386_exception(EXC_SYSCALL, call_number, 1);
701 argc = mach_trap_table[call_number].mach_trap_arg_count;
703 retval = mach_call_arg_munger32(regs->uesp, argc, call_number, &args);
711 KERNEL_DEBUG_CONSTANT(MACHDBG_CODE(DBG_MACH_EXCP_SC, (call_number)) | DBG_FUNC_START,
716 KERNEL_DEBUG_CONSTANT(MACHDBG_CODE(DBG_MACH_EXCP_SC,(call_number)) | DBG_FUNC_END,
732 int call_number;
740 call_number = regs->rax & SYSCALL_NUMBER_MASK;
743 (call_number)) | DBG_FUNC_START,
747 if (call_number < 0 || call_number >= mach_trap_count) {
751 mach_call = (mach_call_t)mach_trap_table[call_number].mach_trap_function;
757 argc = mach_trap_table[call_number].mach_trap_arg_count;
774 (call_number)) | DBG_FUNC_END,