Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/
Dbpf_helpers.h373 #define PT_REGS_PARM1(x) ((x)->di) macro
386 #define PT_REGS_PARM1(x) ((x)->eax) macro
397 #define PT_REGS_PARM1(x) ((x)->rdi) macro
415 #define PT_REGS_PARM1(x) (((PT_REGS_S390 *)(x))->gprs[2]) macro
429 #define PT_REGS_PARM1(x) ((x)->uregs[0]) macro
445 #define PT_REGS_PARM1(x) (((PT_REGS_ARM64 *)(x))->regs[0]) macro
459 #define PT_REGS_PARM1(x) ((x)->regs[4]) macro
472 #define PT_REGS_PARM1(x) ((x)->gpr[3]) macro
483 #define PT_REGS_PARM1(x) ((x)->u_regs[UREG_I0]) macro
/Linux-v5.4/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()