Lines Matching refs:NR_syscalls
110 if (!syscalls_metadata || nr >= NR_syscalls || nr < 0) in syscall_nr_to_meta()
883 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in ftrace_syscall_enter()
944 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in ftrace_syscall_exit()
978 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_enter()
1007 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_enter()
1026 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_exit()
1046 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_exit()
1271 if (num < 0 || num >= NR_syscalls) { in init_syscall_trace()
1341 NR_syscalls); in init_ftrace_syscalls()
1348 for (i = 0; i < NR_syscalls; i++) { in init_ftrace_syscalls()
1370 static DECLARE_BITMAP(enabled_perf_enter_syscalls, NR_syscalls);
1371 static DECLARE_BITMAP(enabled_perf_exit_syscalls, NR_syscalls);
1422 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in perf_syscall_enter()
1554 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in perf_syscall_exit()