Home
last modified time | relevance | path

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

/Linux-v5.10/tools/lib/bpf/
Dbpf_tracing.h54 #define PT_REGS_PARM1(x) ((x)->di) macro
80 #define PT_REGS_PARM1(x) ((x)->eax) macro
104 #define PT_REGS_PARM1(x) ((x)->rdi) macro
134 #define PT_REGS_PARM1(x) (((PT_REGS_S390 *)(x))->gprs[2]) macro
159 #define PT_REGS_PARM1(x) ((x)->uregs[0]) macro
186 #define PT_REGS_PARM1(x) (((PT_REGS_ARM64 *)(x))->regs[0]) macro
211 #define PT_REGS_PARM1(x) ((x)->regs[4]) macro
235 #define PT_REGS_PARM1(x) ((x)->gpr[3]) macro
255 #define PT_REGS_PARM1(x) ((x)->u_regs[UREG_I0]) macro
355 ___bpf_kprobe_args0(), (void *)PT_REGS_PARM1(ctx)
/Linux-v5.10/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.c69 struct task_struct *p = (void *) PT_REGS_PARM1(ctx); in waker()
132 struct task_struct *p = (void *) PT_REGS_PARM1(ctx);
Dtracex1_kern.c38 skb = (struct sk_buff *) PT_REGS_PARM1(ctx); in bpf_prog1()
Dtest_overhead_kprobe_kern.c30 tsk = (void *)PT_REGS_PARM1(ctx); in prog()
Dtracex5_kern.c32 int sc_nr = (int)PT_REGS_PARM1(ctx); in bpf_prog1()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dlsm.c97 void *ptr = (void *)PT_REGS_PARM1(regs); in BPF_PROG()