Home
last modified time | relevance | path

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

/Linux-v6.1/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 …]
/Linux-v6.1/tools/perf/examples/bpf/
Daugmented_syscalls.c27 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
Daugmented_raw_syscalls.c53 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()
Detcsnoop.c57 long syscall_nr; member
68 long syscall_nr; member
Dsys_enter_openat.c21 long syscall_nr; member
/Linux-v6.1/arch/x86/entry/vsyscall/
Dvsyscall_64.c125 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-v6.1/arch/hexagon/kernel/
Dtraps.c142 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()
Dsignal.c146 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()
Dvm_events.c27 regs->restart_r0, regs->syscall_nr); in show_regs()
Dasm-offsets.c32 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr); in main()
Dkgdb.c70 { "syscall_nr", GDB_SIZEOF_REG, offsetof(struct pt_regs, syscall_nr)},
/Linux-v6.1/samples/bpf/
Dsyscall_tp_kern.c9 long syscall_nr; member
17 long syscall_nr; member
/Linux-v6.1/samples/seccomp/
Dbpf-direct.c32 #define syscall_nr (offsetof(struct seccomp_data, nr)) macro
115 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_nr), in install_filter()
/Linux-v6.1/include/trace/
Dsyscall.h27 int syscall_nr; member
/Linux-v6.1/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()
/Linux-v6.1/arch/hexagon/include/uapi/asm/
Dregisters.h28 long syscall_nr; /* Only used in system calls */ member
/Linux-v6.1/tools/testing/selftests/arm64/abi/
Dsyscall-abi.c44 int syscall_nr; member
59 gpr_in[8] = cfg->syscall_nr; in setup_gpr()
/Linux-v6.1/arch/sh/kernel/
Dentry-common.S384 mov.l @(OFF_R3,r15), r3 ! syscall_nr
/Linux-v6.1/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2023 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-v6.1/include/linux/
Dsyscalls.h182 .syscall_nr = -1, /* Filled in at boot */ \