Lines Matching refs:NR_syscalls
109 if (!syscalls_metadata || nr >= NR_syscalls || nr < 0) in syscall_nr_to_meta()
303 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in ftrace_syscall_enter()
342 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in ftrace_syscall_exit()
376 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_enter()
396 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_enter()
414 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_exit()
434 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_exit()
450 if (num < 0 || num >= NR_syscalls) { in init_syscall_trace()
517 syscalls_metadata = kcalloc(NR_syscalls, in init_ftrace_syscalls()
526 for (i = 0; i < NR_syscalls; i++) { in init_ftrace_syscalls()
548 static DECLARE_BITMAP(enabled_perf_enter_syscalls, NR_syscalls);
549 static DECLARE_BITMAP(enabled_perf_exit_syscalls, NR_syscalls);
588 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in perf_syscall_enter()
690 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in perf_syscall_exit()