Home
last modified time | relevance | path

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

/linux-4.4.14/samples/bpf/
Dtracex5_kern.c27 bpf_probe_read(&sd, sizeof(sd), (void *)PT_REGS_PARM1(ctx)); in bpf_prog1()
45 bpf_probe_read(&sd, sizeof(sd), (void *)PT_REGS_PARM1(ctx)); in PROG()
58 bpf_probe_read(&sd, sizeof(sd), (void *)PT_REGS_PARM1(ctx)); in PROG()
Dbpf_helpers.h73 #define PT_REGS_PARM1(x) ((x)->di) macro
85 #define PT_REGS_PARM1(x) ((x)->gprs[2]) macro
97 #define PT_REGS_PARM1(x) ((x)->regs[0]) macro
Dtracex3_kern.c26 long rq = PT_REGS_PARM1(ctx); in bpf_prog1()
54 long rq = PT_REGS_PARM1(ctx); in bpf_prog2()
Dtracex1_kern.c32 skb = (struct sk_buff *) PT_REGS_PARM1(ctx); in bpf_prog1()