Home
last modified time | relevance | path

Searched refs:PT_REGS_PARM1 (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/samples/bpf/
Dtracex3_kern.c27 long rq = PT_REGS_PARM1(ctx); in bpf_prog1()
55 long rq = PT_REGS_PARM1(ctx); in bpf_prog2()
Doffwaketime_kern.c70 struct task_struct *p = (void *) PT_REGS_PARM1(ctx); in waker()
133 struct task_struct *p = (void *) PT_REGS_PARM1(ctx);
Dtracex1_kern.c38 bpf_probe_read_kernel(&skb, sizeof(skb), (void *)PT_REGS_PARM1(ctx)); in bpf_prog1()
Dtest_overhead_kprobe_kern.c31 tsk = (void *)PT_REGS_PARM1(ctx); in prog()
Dtracex5_kern.c32 int sc_nr = (int)PT_REGS_PARM1(ctx); in bpf_prog1()
/linux-6.1.9/tools/lib/bpf/
Dbpf_tracing.h272 #define PT_REGS_PARM1(x) (__PT_REGS_CAST(x)->__PT_PARM1_REG) macro
314 #define PT_REGS_PARM1_SYSCALL(x) PT_REGS_PARM1(x)
335 #define PT_REGS_PARM1(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) macro
381 #define PT_REGS_SYSCALL_REGS(ctx) ((struct pt_regs *)PT_REGS_PARM1(ctx))
551 #define ___bpf_kprobe_args1(x) ___bpf_kprobe_args0(), (void *)PT_REGS_PARM1(ctx)
655 ? (struct pt_regs *)PT_REGS_PARM1(ctx) \
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_attach_probe.c97 unsigned int size = PT_REGS_PARM1(ctx); in handle_uprobe_byname2()
Dlsm.c167 void *ptr = (void *)PT_REGS_PARM1(regs); in BPF_PROG()