Home
last modified time | relevance | path

Searched refs:syscall_nr (Results 1 – 2 of 2) sorted by relevance

/kernel/trace/
Dtrace_syscalls.c299 int syscall_nr; in ftrace_syscall_enter() local
302 syscall_nr = trace_get_syscall_nr(current, regs); in ftrace_syscall_enter()
303 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in ftrace_syscall_enter()
307 trace_file = rcu_dereference_sched(tr->enter_syscall_files[syscall_nr]); in ftrace_syscall_enter()
314 sys_data = syscall_nr_to_meta(syscall_nr); in ftrace_syscall_enter()
325 entry->nr = syscall_nr; in ftrace_syscall_enter()
339 int syscall_nr; in ftrace_syscall_exit() local
341 syscall_nr = trace_get_syscall_nr(current, regs); in ftrace_syscall_exit()
342 if (syscall_nr < 0 || syscall_nr >= NR_syscalls) in ftrace_syscall_exit()
346 trace_file = rcu_dereference_sched(tr->exit_syscall_files[syscall_nr]); in ftrace_syscall_exit()
[all …]
/kernel/
Dseccomp.c348 int syscall_nr) in seccomp_cache_check_allow_bitmap() argument
350 if (unlikely(syscall_nr < 0 || syscall_nr >= bitmap_size)) in seccomp_cache_check_allow_bitmap()
352 syscall_nr = array_index_nospec(syscall_nr, bitmap_size); in seccomp_cache_check_allow_bitmap()
354 return test_bit(syscall_nr, bitmap); in seccomp_cache_check_allow_bitmap()
367 int syscall_nr = sd->nr; in seccomp_cache_check_allow() local
374 syscall_nr); in seccomp_cache_check_allow()
379 syscall_nr); in seccomp_cache_check_allow()
383 syscall_nr); in seccomp_cache_check_allow()