/linux-6.1.9/kernel/trace/ |
D | trace_syscalls.c | 299 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 …]
|
/linux-6.1.9/tools/perf/examples/bpf/ |
D | augmented_syscalls.c | 27 long syscall_nr; member 65 long syscall_nr; member 76 long syscall_nr; member 86 long syscall_nr; member 98 long syscall_nr; member 138 long syscall_nr; member 148 long syscall_nr; member 158 long syscall_nr; member
|
D | augmented_raw_syscalls.c | 53 long syscall_nr; member 59 long syscall_nr; member 267 bpf_tail_call(args, &syscalls_sys_enter, augmented_args->args.syscall_nr); in sys_enter() 287 bpf_tail_call(args, &syscalls_sys_exit, exit_args.syscall_nr); in sys_exit()
|
D | etcsnoop.c | 57 long syscall_nr; member 68 long syscall_nr; member
|
D | sys_enter_openat.c | 21 long syscall_nr; member
|
/linux-6.1.9/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 125 int vsyscall_nr, syscall_nr, tmp; in emulate_vsyscall() local 193 syscall_nr = __NR_gettimeofday; in emulate_vsyscall() 202 syscall_nr = __NR_time; in emulate_vsyscall() 212 syscall_nr = __NR_getcpu; in emulate_vsyscall() 223 regs->orig_ax = syscall_nr; in emulate_vsyscall() 226 if ((!tmp && regs->orig_ax != syscall_nr) || regs->ip != address) { in emulate_vsyscall()
|
/linux-6.1.9/arch/hexagon/kernel/ |
D | traps.c | 142 if (regs->syscall_nr != -1) { in do_show_stack() 144 regs->syscall_nr); in do_show_stack() 367 regs->syscall_nr = regs->r06; in do_trap0() 377 if ((unsigned long) regs->syscall_nr >= __NR_syscalls) { in do_trap0() 381 (sys_call_table[regs->syscall_nr]); in do_trap0()
|
D | signal.c | 146 if (regs->syscall_nr >= 0) { in handle_signal() 159 regs->r06 = regs->syscall_nr; in handle_signal() 197 if (regs->syscall_nr >= 0) { in do_signal() 202 regs->r06 = regs->syscall_nr; in do_signal() 246 regs->syscall_nr = -1; in sys_rt_sigreturn()
|
D | vm_events.c | 27 regs->restart_r0, regs->syscall_nr); in show_regs()
|
D | asm-offsets.c | 32 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr); in main()
|
D | kgdb.c | 70 { "syscall_nr", GDB_SIZEOF_REG, offsetof(struct pt_regs, syscall_nr)},
|
/linux-6.1.9/samples/bpf/ |
D | syscall_tp_kern.c | 9 long syscall_nr; member 17 long syscall_nr; member
|
/linux-6.1.9/samples/seccomp/ |
D | bpf-direct.c | 32 #define syscall_nr (offsetof(struct seccomp_data, nr)) macro 115 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_nr), in install_filter()
|
/linux-6.1.9/include/trace/ |
D | syscall.h | 27 int syscall_nr; member
|
/linux-6.1.9/kernel/ |
D | seccomp.c | 348 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()
|
/linux-6.1.9/arch/hexagon/include/uapi/asm/ |
D | registers.h | 28 long syscall_nr; /* Only used in system calls */ member
|
/linux-6.1.9/tools/testing/selftests/arm64/abi/ |
D | syscall-abi.c | 44 int syscall_nr; member 59 gpr_in[8] = cfg->syscall_nr; in setup_gpr()
|
/linux-6.1.9/arch/sh/kernel/ |
D | entry-common.S | 384 mov.l @(OFF_R3,r15), r3 ! syscall_nr
|
/linux-6.1.9/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 2023 long syscall_nr; in FIXTURE() local 2033 long *syscall_nr = NULL, *syscall_ret = NULL; in tracer_ptrace() local 2061 self->syscall_nr = get_syscall(_metadata, tracee); in tracer_ptrace() 2068 syscall_nr = &syscall_nr_val; in tracer_ptrace() 2073 switch (self->syscall_nr) { in tracer_ptrace() 2092 __change_syscall(_metadata, tracee, syscall_nr, syscall_ret); in tracer_ptrace()
|
/linux-6.1.9/include/linux/ |
D | syscalls.h | 182 .syscall_nr = -1, /* Filled in at boot */ \
|