Home
last modified time | relevance | path

Searched refs:PT_REGS_PARM1_CORE (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_vmlinux.c45 ts = (void *)PT_REGS_PARM1_CORE(regs); in BPF_PROG()
63 ts = (void *)PT_REGS_PARM1_CORE(regs); in BPF_PROG()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbpf_tracing.h65 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), di) macro
91 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), eax) macro
115 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), rdi) macro
146 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[2]) macro
170 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), uregs[0]) macro
198 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), regs[0]) macro
222 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), regs[4]) macro
244 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), gpr[3]) macro
264 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), u_regs[UREG_I0]) macro
/kernel/linux/linux-6.6/samples/bpf/
H A Doffwaketime.bpf.c65 struct task_struct *p = (void *)PT_REGS_PARM1_CORE(ctx); in waker()
116 struct task_struct *p = (void *)PT_REGS_PARM1_CORE(ctx);
H A Dtest_overhead_kprobe.bpf.c23 tsk = (void *)PT_REGS_PARM1_CORE(ctx); in prog()
/kernel/linux/linux-5.10/samples/bpf/
H A Dtest_probe_write_user_kern.c34 struct pt_regs *real_regs = (struct pt_regs *)PT_REGS_PARM1_CORE(ctx); in bpf_prog1()
H A Dmap_perf_test_kern.c165 struct pt_regs *real_regs = (struct pt_regs *)PT_REGS_PARM1_CORE(ctx); in stress_lru_hmap_alloc()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_uprobe_autoattach.c56 uprobe_byname_parm1 = PT_REGS_PARM1_CORE(ctx); in BPF_UPROBE()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbpf_tracing.h499 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ(__PT_REGS_CAST(x), __PT_PARM1_REG) macro
577 #define PT_REGS_PARM1_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) macro

Completed in 6 milliseconds