Symbol: user_pt_regs
arch/arm64/include/asm/debug-monitors.h
71
void user_regs_reset_single_step(struct user_pt_regs *regs,
arch/arm64/include/asm/elf.h
147
#define ELF_NGREG (sizeof(struct user_pt_regs) / sizeof(elf_greg_t))
arch/arm64/include/asm/elf.h
149
*(struct user_pt_regs *)&(dest) = (regs)->user_regs;
arch/arm64/include/asm/kvm_host.h
721
struct user_pt_regs regs; /* sp = sp_el0 */
arch/arm64/include/asm/processor.h
309
regs->user_regs = (struct user_pt_regs) {
arch/arm64/include/asm/ptrace.h
158
struct user_pt_regs user_regs;
arch/arm64/include/asm/ptrace.h
337
int valid_user_regs(struct user_pt_regs *regs, struct task_struct *task);
arch/arm64/include/asm/traps.h
112
static inline void arm64_mops_reset_regs(struct user_pt_regs *regs, unsigned long esr)
arch/arm64/include/uapi/asm/bpf_perf_event.h
7
typedef struct user_pt_regs bpf_user_pt_regs_t;
arch/arm64/include/uapi/asm/kvm.h
47
struct user_pt_regs regs; /* sp = sp_el0 */
arch/arm64/kernel/debug-monitors.c
148
static void set_user_regs_spsr_ss(struct user_pt_regs *regs)
arch/arm64/kernel/debug-monitors.c
154
static void clear_user_regs_spsr_ss(struct user_pt_regs *regs)
arch/arm64/kernel/debug-monitors.c
337
void user_regs_reset_single_step(struct user_pt_regs *regs,
arch/arm64/kernel/ptrace.c
1617
.n = sizeof(struct user_pt_regs) / sizeof(u64),
arch/arm64/kernel/ptrace.c
2466
static int valid_compat_regs(struct user_pt_regs *regs)
arch/arm64/kernel/ptrace.c
2498
static int valid_native_regs(struct user_pt_regs *regs)
arch/arm64/kernel/ptrace.c
2520
int valid_user_regs(struct user_pt_regs *regs, struct task_struct *task)
arch/arm64/kernel/ptrace.c
559
struct user_pt_regs *uregs = &task_pt_regs(target)->user_regs;
arch/arm64/kernel/ptrace.c
568
struct user_pt_regs newregs = task_pt_regs(target)->user_regs;
arch/loongarch/include/asm/perf_event.h
12
#define perf_arch_bpf_user_pt_regs(regs) (struct user_pt_regs *)regs
arch/loongarch/include/uapi/asm/bpf_perf_event.h
7
typedef struct user_pt_regs bpf_user_pt_regs_t;
arch/mips/include/asm/ptrace.h
128
struct user_pt_regs __user *data);
arch/mips/include/asm/ptrace.h
130
struct user_pt_regs __user *data);
arch/mips/kernel/ptrace.c
101
int ptrace_setregs(struct task_struct *child, struct user_pt_regs __user *data)
arch/mips/kernel/ptrace.c
74
int ptrace_getregs(struct task_struct *child, struct user_pt_regs __user *data)
arch/mips/kernel/ptrace32.c
274
(struct user_pt_regs __user *) (__u64) data);
arch/mips/kernel/ptrace32.c
279
(struct user_pt_regs __user *) (__u64) data);
arch/powerpc/include/asm/bpf_perf_event.h
7
typedef struct user_pt_regs bpf_user_pt_regs_t;
arch/powerpc/include/asm/ptrace.h
31
struct user_pt_regs user_regs;
arch/powerpc/include/asm/user.h
34
struct user_pt_regs regs; /* entire machine state */
arch/powerpc/include/uapi/asm/ptrace.h
33
struct user_pt_regs
arch/powerpc/include/uapi/asm/sigcontext.h
26
struct user_pt_regs __user *regs;
arch/powerpc/kernel/ptrace/ptrace-tm.c
104
membuf_write(&to, &target->thread.ckpt_regs, sizeof(struct user_pt_regs));
arch/powerpc/kernel/ptrace/ptrace-tm.c
111
sizeof(struct user_pt_regs));
arch/powerpc/kernel/ptrace/ptrace-view.c
185
regs_max = sizeof(struct user_pt_regs) / sizeof(unsigned long);
arch/powerpc/kernel/ptrace/ptrace-view.c
228
membuf_write(&to, target->thread.regs, sizeof(struct user_pt_regs));
arch/powerpc/kernel/ptrace/ptrace-view.c
235
sizeof(struct user_pt_regs));
arch/powerpc/kernel/ptrace/ptrace.c
125
0, sizeof(struct user_pt_regs),
arch/powerpc/kernel/ptrace/ptrace.c
134
0, sizeof(struct user_pt_regs),
arch/powerpc/kernel/ptrace/ptrace.c
345
offsetof(struct user_pt_regs, gpr));
arch/powerpc/kernel/ptrace/ptrace.c
347
offsetof(struct user_pt_regs, nip));
arch/powerpc/kernel/ptrace/ptrace.c
349
offsetof(struct user_pt_regs, msr));
arch/powerpc/kernel/ptrace/ptrace.c
351
offsetof(struct user_pt_regs, orig_gpr3));
arch/powerpc/kernel/ptrace/ptrace.c
353
offsetof(struct user_pt_regs, ctr));
arch/powerpc/kernel/ptrace/ptrace.c
355
offsetof(struct user_pt_regs, link));
arch/powerpc/kernel/ptrace/ptrace.c
357
offsetof(struct user_pt_regs, xer));
arch/powerpc/kernel/ptrace/ptrace.c
359
offsetof(struct user_pt_regs, ccr));
arch/powerpc/kernel/ptrace/ptrace.c
362
offsetof(struct user_pt_regs, softe));
arch/powerpc/kernel/ptrace/ptrace.c
365
offsetof(struct user_pt_regs, mq));
arch/powerpc/kernel/ptrace/ptrace.c
368
offsetof(struct user_pt_regs, trap));
arch/powerpc/kernel/ptrace/ptrace.c
370
offsetof(struct user_pt_regs, dar));
arch/powerpc/kernel/ptrace/ptrace.c
372
offsetof(struct user_pt_regs, dar));
arch/powerpc/kernel/ptrace/ptrace.c
374
offsetof(struct user_pt_regs, dsisr));
arch/powerpc/kernel/ptrace/ptrace.c
376
offsetof(struct user_pt_regs, dsisr));
arch/powerpc/kernel/ptrace/ptrace.c
378
offsetof(struct user_pt_regs, result));
arch/powerpc/kernel/ptrace/ptrace.c
380
BUILD_BUG_ON(sizeof(struct user_pt_regs) > sizeof(struct pt_regs));
arch/powerpc/kernel/ptrace/ptrace.c
384
BUILD_BUG_ON(_pt != (offsetof(struct user_pt_regs, _reg) / \
arch/powerpc/kernel/ptrace/ptrace.c
437
BUILD_BUG_ON(PT_REGS_COUNT != sizeof(struct user_pt_regs) / sizeof(unsigned long));
arch/powerpc/kernel/ptrace/ptrace.c
443
BUILD_BUG_ON(PT_DSCR < sizeof(struct user_pt_regs) / sizeof(unsigned long));
arch/s390/include/asm/ptrace.h
116
user_pt_regs user_regs;
arch/s390/include/uapi/asm/bpf_perf_event.h
7
typedef user_pt_regs bpf_user_pt_regs_t;
arch/xtensa/include/asm/elf.h
78
typedef struct user_pt_regs xtensa_gregset_t;
arch/xtensa/kernel/ptrace.c
197
.n = sizeof(struct user_pt_regs) / sizeof(u32),
arch/xtensa/kernel/ptrace.c
44
struct user_pt_regs newregs = {
arch/xtensa/kernel/ptrace.c
73
struct user_pt_regs newregs = {0};
kernel/bpf/btf.c
6199
struct user_pt_regs;
kernel/bpf/btf.c
6251
if (__builtin_types_compatible_p(bpf_user_pt_regs_t, struct user_pt_regs) &&
tools/arch/arm64/include/uapi/asm/kvm.h
47
struct user_pt_regs regs; /* sp = sp_el0 */
tools/lib/bpf/bpf_tracing.h
169
#define __PT_REGS_CAST(x) ((const user_pt_regs *)(x))
tools/lib/bpf/bpf_tracing.h
228
#define __PT_REGS_CAST(x) ((const struct user_pt_regs *)(x))
tools/lib/bpf/bpf_tracing.h
426
#define __PT_REGS_CAST(x) ((const struct user_pt_regs *)(x))
tools/lib/bpf/libbpf.c
7145
struct user_pt_regs;
tools/lib/bpf/libbpf.c
7196
if (__builtin_types_compatible_p(bpf_user_pt_regs_t, struct user_pt_regs) &&
tools/lib/bpf/usdt.c
1432
arg->reg_off = offsetof(user_pt_regs, gprs[reg]);
tools/lib/bpf/usdt.c
1441
arg->reg_off = offsetof(user_pt_regs, gprs[reg]);
tools/lib/bpf/usdt.c
1463
return offsetof(struct user_pt_regs, regs[reg_num]);
tools/lib/bpf/usdt.c
1465
return offsetof(struct user_pt_regs, sp);
tools/testing/selftests/arm64/fp/fp-ptrace.c
365
struct user_pt_regs pt_regs;
tools/testing/selftests/bpf/progs/verifier_global_subprogs.c
249
struct user_pt_regs *ctx __arg_ctx
tools/testing/selftests/seccomp/seccomp_bpf.c
1767
# define ARCH_REGS struct user_pt_regs
tools/testing/selftests/seccomp/seccomp_bpf.c
1783
# define ARCH_REGS struct user_pt_regs
tools/testing/selftests/seccomp/seccomp_bpf.c
1860
# define ARCH_REGS struct user_pt_regs