Lines Matching refs:sysnum
59 static void callstack_push_syscall(struct process *proc, int sysnum);
67 static char *sysname(struct process *proc, int sysnum);
68 static char *arch_sysname(struct process *proc, int sysnum);
149 sysname(event->proc, event->e_un.sysnum),
150 event->e_un.sysnum);
158 sysname(event->proc, event->e_un.sysnum),
159 event->e_un.sysnum);
167 arch_sysname(event->proc, event->e_un.sysnum),
168 event->e_un.sysnum);
176 arch_sysname(event->proc, event->e_un.sysnum),
177 event->e_un.sysnum);
361 sysname(struct process *proc, int sysnum)
376 debug(DEBUG_FUNCTION, "sysname(pid=%d, sysnum=%d)", proc->pid, sysnum);
379 if (sysnum < 0 || sysnum >= nsyscalls[proc->personality]) {
380 sprintf(result, "SYS_%d", sysnum);
383 return syscallents[proc->personality][sysnum];
388 arch_sysname(struct process *proc, int sysnum)
396 debug(DEBUG_FUNCTION, "arch_sysname(pid=%d, sysnum=%d)", proc->pid, sysnum);
398 if (sysnum < 0 || sysnum >= nsyscalls) {
399 sprintf(result, "ARCH_%d", sysnum);
402 sprintf(result, "ARCH_%s", arch_syscallent[sysnum]);
562 debug(DEBUG_FUNCTION, "handle_syscall(pid=%d, sysnum=%d)", event->proc->pid, event->e_un.sysnum);
564 callstack_push_syscall(event->proc, event->e_un.sysnum);
568 event->e_un.sysnum));
570 continue_after_syscall(event->proc, event->e_un.sysnum, 0);
604 debug(DEBUG_FUNCTION, "handle_arch_syscall(pid=%d, sysnum=%d)", event->proc->pid, event->e_un.sysnum);
606 callstack_push_syscall(event->proc, 0xf0000 + event->e_un.sysnum);
610 event->e_un.sysnum));
619 debug(DEBUG_FUNCTION, "handle_x_sysret(pid=%d, sysnum=%d)",
620 event->proc->pid, event->e_un.sysnum);
632 event->e_un.sysnum),
637 continue_after_syscall(event->proc, event->e_un.sysnum, 1);
770 callstack_push_syscall(struct process *proc, int sysnum)
774 debug(DEBUG_FUNCTION, "callstack_push_syscall(pid=%d, sysnum=%d)", proc->pid, sysnum);
785 elem->c_un.syscall = sysnum;