Searched refs:bpf_user_pt_regs_t (Results 1 - 17 of 17) sorted by relevance

/linux-master/include/uapi/asm-generic/
H A Dbpf_perf_event.h7 typedef struct pt_regs bpf_user_pt_regs_t; typedef in typeref:struct:pt_regs
/linux-master/tools/include/uapi/asm-generic/
H A Dbpf_perf_event.h7 typedef struct pt_regs bpf_user_pt_regs_t; typedef in typeref:struct:pt_regs
/linux-master/arch/s390/include/uapi/asm/
H A Dbpf_perf_event.h7 typedef user_pt_regs bpf_user_pt_regs_t; typedef
/linux-master/arch/arm64/include/uapi/asm/
H A Dbpf_perf_event.h7 typedef struct user_pt_regs bpf_user_pt_regs_t; typedef in typeref:struct:user_pt_regs
/linux-master/arch/riscv/include/uapi/asm/
H A Dbpf_perf_event.h7 typedef struct user_regs_struct bpf_user_pt_regs_t; typedef in typeref:struct:user_regs_struct
/linux-master/arch/arc/include/uapi/asm/
H A Dbpf_perf_event.h7 typedef struct user_regs_struct bpf_user_pt_regs_t; typedef in typeref:struct:user_regs_struct
/linux-master/arch/powerpc/include/asm/
H A Dbpf_perf_event.h7 typedef struct user_pt_regs bpf_user_pt_regs_t; typedef in typeref:struct:user_pt_regs
/linux-master/arch/loongarch/include/uapi/asm/
H A Dbpf_perf_event.h7 typedef struct user_pt_regs bpf_user_pt_regs_t; typedef in typeref:struct:user_pt_regs
/linux-master/include/uapi/linux/
H A Dbpf_perf_event.h14 bpf_user_pt_regs_t regs;
/linux-master/tools/include/uapi/linux/
H A Dbpf_perf_event.h14 bpf_user_pt_regs_t regs;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dfreplace_unreliable_prog.c15 int replace_btf_unreliable_kprobe(bpf_user_pt_regs_t *ctx)
H A Dtest_global_func_ctx_args.c17 __weak int kprobe_typedef_ctx_subprog(bpf_user_pt_regs_t *ctx)
31 * typedef user_pt_regs bpf_user_pt_regs_t;
37 * - bpf_user_pt_regs_t *ctx (typedef);
38 * - struct bpf_user_pt_regs_t *ctx (backwards compatible struct hack);
63 struct bpf_user_pt_regs_t {}; struct
65 __weak int kprobe_workaround_ctx_subprog(struct bpf_user_pt_regs_t *ctx)
H A Dverifier_global_subprogs.c221 __weak int kprobe_subprog_typedef(bpf_user_pt_regs_t *ctx __arg_ctx)
251 __weak int perf_subprog_typedef(bpf_user_pt_regs_t *ctx __arg_ctx)
/linux-master/include/linux/
H A Dbpf_types.h40 bpf_user_pt_regs_t, struct pt_regs)
H A Dperf_event.h1027 bpf_user_pt_regs_t *regs;
/linux-master/kernel/bpf/
H A Dbtf.c5720 /* KPROBE programs allow bpf_user_pt_regs_t typedef, which we need to
5729 if (tname && strcmp(tname, "bpf_user_pt_regs_t") == 0)
5778 /* bpf_user_pt_regs_t is a typedef, so resolve it to
5791 * bpf_user_pt_regs_t; this avoids the need for arch-specific #ifdef
5813 /* KPROBE and PERF_EVENT programs allow bpf_user_pt_regs_t typedef */
5820 if (tname && strcmp(tname, "bpf_user_pt_regs_t") == 0)
5846 if (__builtin_types_compatible_p(bpf_user_pt_regs_t, struct pt_regs) &&
5849 if (__builtin_types_compatible_p(bpf_user_pt_regs_t, struct user_pt_regs) &&
5852 if (__builtin_types_compatible_p(bpf_user_pt_regs_t, struct user_regs_struct) &&
/linux-master/tools/lib/bpf/
H A Dlibbpf.c6610 { BPF_PROG_TYPE_KPROBE, "bpf_user_pt_regs_t" },
6631 /* forward declarations for arch-specific underlying types of bpf_user_pt_regs_t typedef,
6651 /* typedef bpf_user_pt_regs_t is a special PITA case, valid for kprobe
6660 if (strcmp(tname, "bpf_user_pt_regs_t") == 0)
6684 if (__builtin_types_compatible_p(bpf_user_pt_regs_t, struct pt_regs) &&
6687 if (__builtin_types_compatible_p(bpf_user_pt_regs_t, struct user_pt_regs) &&
6690 if (__builtin_types_compatible_p(bpf_user_pt_regs_t, struct user_regs_struct) &&

Completed in 746 milliseconds