Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dbpf_helpers.h241 #define PT_REGS_PARM1(x) ((x)->di) macro
254 #define PT_REGS_PARM1(x) ((x)->gprs[2]) macro
267 #define PT_REGS_PARM1(x) ((x)->regs[0]) macro
280 #define PT_REGS_PARM1(x) ((x)->regs[4]) macro
293 #define PT_REGS_PARM1(x) ((x)->gpr[3]) macro
304 #define PT_REGS_PARM1(x) ((x)->u_regs[UREG_I0]) macro
/Linux-v4.19/samples/bpf/
Dtracex3_kern.c26 long rq = PT_REGS_PARM1(ctx); in bpf_prog1()
54 long rq = PT_REGS_PARM1(ctx); in bpf_prog2()
Doffwaketime_kern.c63 struct task_struct *p = (void *) PT_REGS_PARM1(ctx); in waker()
126 struct task_struct *p = (void *) PT_REGS_PARM1(ctx);
Dtracex1_kern.c32 skb = (struct sk_buff *) PT_REGS_PARM1(ctx); in bpf_prog1()
Dtest_overhead_kprobe_kern.c24 tsk = (void *)PT_REGS_PARM1(ctx); in prog()
Dtracex5_kern.c31 int sc_nr = (int)PT_REGS_PARM1(ctx); in bpf_prog1()