Home
last modified time | relevance | path

Searched refs:real_regs (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_syscall_macro.c35 struct pt_regs *real_regs; in BPF_KPROBE() local
42 real_regs = PT_REGS_SYSCALL_REGS(ctx); in BPF_KPROBE()
47 bpf_probe_read_kernel(&tmp, sizeof(tmp), &PT_REGS_PARM1_SYSCALL(real_regs)); in BPF_KPROBE()
50 bpf_probe_read_kernel(&arg2, sizeof(arg2), &PT_REGS_PARM2_SYSCALL(real_regs)); in BPF_KPROBE()
51 bpf_probe_read_kernel(&arg3, sizeof(arg3), &PT_REGS_PARM3_SYSCALL(real_regs)); in BPF_KPROBE()
52 bpf_probe_read_kernel(&arg4_cx, sizeof(arg4_cx), &PT_REGS_PARM4(real_regs)); in BPF_KPROBE()
53 bpf_probe_read_kernel(&arg4, sizeof(arg4), &PT_REGS_PARM4_SYSCALL(real_regs)); in BPF_KPROBE()
54 bpf_probe_read_kernel(&arg5, sizeof(arg5), &PT_REGS_PARM5_SYSCALL(real_regs)); in BPF_KPROBE()
57 arg1_core = PT_REGS_PARM1_CORE_SYSCALL(real_regs); in BPF_KPROBE()
58 arg2_core = PT_REGS_PARM2_CORE_SYSCALL(real_regs); in BPF_KPROBE()
[all …]
/linux-6.1.9/samples/bpf/
Dtest_probe_write_user_kern.c34 struct pt_regs *real_regs = (struct pt_regs *)PT_REGS_PARM1_CORE(ctx); in SYSCALL() local
35 void *sockaddr_arg = (void *)PT_REGS_PARM2_CORE(real_regs); in SYSCALL()
36 int sockaddr_len = (int)PT_REGS_PARM3_CORE(real_regs); in SYSCALL()
Dmap_perf_test_kern.c177 struct pt_regs *real_regs = (struct pt_regs *)PT_REGS_PARM1_CORE(ctx); in SYSCALL() local
196 in6 = (struct sockaddr_in6 *)PT_REGS_PARM2_CORE(real_regs); in SYSCALL()
197 addrlen = (int)PT_REGS_PARM3_CORE(real_regs); in SYSCALL()