/linux-6.12.1/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.12.1/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 119 int vsyscall_nr, syscall_nr, tmp; in emulate_vsyscall() local 184 syscall_nr = __NR_gettimeofday; in emulate_vsyscall() 193 syscall_nr = __NR_time; in emulate_vsyscall() 203 syscall_nr = __NR_getcpu; in emulate_vsyscall() 214 regs->orig_ax = syscall_nr; in emulate_vsyscall() 217 if ((!tmp && regs->orig_ax != syscall_nr) || regs->ip != address) { in emulate_vsyscall()
|
/linux-6.12.1/samples/bpf/ |
D | syscall_tp_kern.c | 10 long syscall_nr; member 19 long syscall_nr; member 25 long syscall_nr; member
|
/linux-6.12.1/arch/hexagon/kernel/ |
D | traps.c | 142 if (regs->syscall_nr != -1) { in do_show_stack() 144 regs->syscall_nr); in do_show_stack() 362 regs->syscall_nr = regs->r06; in do_trap0() 372 if ((unsigned long) regs->syscall_nr >= __NR_syscalls) { in do_trap0() 376 (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 SYSCALL_DEFINE0()
|
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.12.1/tools/perf/util/bpf_skel/ |
D | augmented_raw_syscalls.bpf.c | 64 long syscall_nr; member 70 long syscall_nr; member 446 nr = (__u32)args->syscall_nr; in augment_sys_enter() 555 bpf_tail_call(args, &syscalls_sys_enter, augmented_args->args.syscall_nr); in sys_enter() 575 bpf_tail_call(args, &syscalls_sys_exit, exit_args.syscall_nr); in sys_exit()
|
/linux-6.12.1/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.12.1/include/trace/ |
D | syscall.h | 27 int syscall_nr; member
|
/linux-6.12.1/kernel/ |
D | seccomp.c | 353 int syscall_nr) in seccomp_cache_check_allow_bitmap() argument 355 if (unlikely(syscall_nr < 0 || syscall_nr >= bitmap_size)) in seccomp_cache_check_allow_bitmap() 357 syscall_nr = array_index_nospec(syscall_nr, bitmap_size); in seccomp_cache_check_allow_bitmap() 359 return test_bit(syscall_nr, bitmap); in seccomp_cache_check_allow_bitmap() 372 int syscall_nr = sd->nr; in seccomp_cache_check_allow() local 379 syscall_nr); in seccomp_cache_check_allow() 384 syscall_nr); in seccomp_cache_check_allow() 388 syscall_nr); in seccomp_cache_check_allow()
|
/linux-6.12.1/arch/hexagon/include/uapi/asm/ |
D | registers.h | 28 long syscall_nr; /* Only used in system calls */ member
|
/linux-6.12.1/tools/testing/selftests/arm64/abi/ |
D | syscall-abi.c | 55 int syscall_nr; member 70 gpr_in[8] = cfg->syscall_nr; in setup_gpr()
|
/linux-6.12.1/arch/sh/kernel/ |
D | entry-common.S | 384 mov.l @(OFF_R3,r15), r3 ! syscall_nr
|
/linux-6.12.1/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 2039 long syscall_nr; in FIXTURE() local 2049 long *syscall_nr = NULL, *syscall_ret = NULL; in tracer_ptrace() local 2077 self->syscall_nr = get_syscall(_metadata, tracee); in tracer_ptrace() 2084 syscall_nr = &syscall_nr_val; in tracer_ptrace() 2089 switch (self->syscall_nr) { in tracer_ptrace() 2108 __change_syscall(_metadata, tracee, syscall_nr, syscall_ret); in tracer_ptrace()
|
/linux-6.12.1/include/linux/ |
D | syscalls.h | 188 .syscall_nr = -1, /* Filled in at boot */ \
|