Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dtracex5.bpf.c32 int sc_nr = (int)PT_REGS_PARM1(ctx); in bpf_prog1() local
35 bpf_tail_call(ctx, &progs, sc_nr); in bpf_prog1()
38 if (sc_nr >= __NR_getuid && sc_nr <= __NR_getsid) { in bpf_prog1()
40 bpf_trace_printk(fmt, sizeof(fmt), sc_nr); in bpf_prog1()
/openbmc/linux/arch/arm64/kernel/
H A Dsyscall.c41 unsigned int sc_nr, in invoke_syscall() argument
48 if (scno < sc_nr) { in invoke_syscall()
50 syscall_fn = syscall_table[array_index_nospec(scno, sc_nr)]; in invoke_syscall()
75 static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr, in el0_svc_common() argument
134 invoke_syscall(regs, scno, sc_nr, syscall_table); in el0_svc_common()