Home
last modified time | relevance | path

Searched refs:pt_regs (Results 1 - 14 of 14) sorted by relevance

/third_party/libbpf/src/
H A Dusdt.bpf.h44 /* offset of referenced register within struct pt_regs */
80 int __bpf_usdt_spec_id(struct pt_regs *ctx) in __bpf_usdt_spec_id()
95 int bpf_usdt_arg_cnt(struct pt_regs *ctx) in bpf_usdt_arg_cnt()
116 int bpf_usdt_arg(struct pt_regs *ctx, __u64 arg_num, long *res) in bpf_usdt_arg()
150 * struct pt_regs. To keep things simple user-space parts in bpf_usdt_arg()
151 * record offsetof(struct pt_regs, <regname>) in arg_spec->reg_off. in bpf_usdt_arg()
162 * from pt_regs, then do another user-space probe read to in bpf_usdt_arg()
199 long bpf_usdt_cookie(struct pt_regs *ctx) in bpf_usdt_cookie()
234 * Original struct pt_regs * context is preserved as 'ctx' argument.
237 name(struct pt_regs *ct
[all...]
H A Dusdt.c1244 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg64) in calc_pt_regs_off()
1246 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg32) in calc_pt_regs_off()
1259 { {"r8", "r8d", "r8w", "r8b"}, offsetof(struct pt_regs, r8) }, in calc_pt_regs_off()
1260 { {"r9", "r9d", "r9w", "r9b"}, offsetof(struct pt_regs, r9) }, in calc_pt_regs_off()
1261 { {"r10", "r10d", "r10w", "r10b"}, offsetof(struct pt_regs, r10) }, in calc_pt_regs_off()
1262 { {"r11", "r11d", "r11w", "r11b"}, offsetof(struct pt_regs, r11) }, in calc_pt_regs_off()
1263 { {"r12", "r12d", "r12w", "r12b"}, offsetof(struct pt_regs, r12) }, in calc_pt_regs_off()
1264 { {"r13", "r13d", "r13w", "r13b"}, offsetof(struct pt_regs, r13) }, in calc_pt_regs_off()
1265 { {"r14", "r14d", "r14w", "r14b"}, offsetof(struct pt_regs, r14) }, in calc_pt_regs_off()
1266 { {"r15", "r15d", "r15w", "r15b"}, offsetof(struct pt_regs, r1 in calc_pt_regs_off()
[all...]
H A Dbpf_tracing.h168 /* s390 provides user_pt_regs instead of struct pt_regs to userspace */
227 /* arm64 provides struct user_pt_regs instead of struct pt_regs to userspace */
354 /* riscv provides struct user_regs_struct instead of struct pt_regs to userspace */
385 /* arc provides struct user_regs_struct instead of struct pt_regs to userspace */
418 /* loongarch provides struct user_pt_regs instead of struct pt_regs to userspace */
448 struct pt_regs;
450 /* allow some architectures to override `struct pt_regs` */
614 * struct pt_regs containing syscall arguments and suitable for passing to
619 #define PT_REGS_SYSCALL_REGS(ctx) ((struct pt_regs *)PT_REGS_PARM1(ctx))
786 struct pt_regs;
[all...]
H A Dbpf_helper_defs.h20 struct pt_regs;
1521 static long (*bpf_override_return)(struct pt_regs *regs, __u64 rc) = (void *) 58;
2827 * void bpf_sys_open(struct pt_regs *ctx)
4110 * Get the struct pt_regs associated with **task**.
4113 * A pointer to struct pt_regs.
/third_party/ltp/testcases/kernel/syscalls/ptrace/
H A Dsimple_tracer.c44 static void decode_regs(struct pt_regs *pt) in decode_regs()
120 struct pt_regs pt_regs; in main() local
127 ret = vptrace(PTRACE_GETREGS, pid, NULL, &pt_regs); in main()
130 decode_regs(&pt_regs); in main()
H A Dptrace.h30 typedef struct pt_regs ptrace_regs;
/third_party/elfutils/backends/
H A Dppc_initreg.c84 /* pt_regs for 32bit processes. Same as 64bit pt_regs but all registers in ppc_set_initial_registers_tid()
104 struct pt_regs regs; in ppc_set_initial_registers_tid()
112 /* Did we get the full pt_regs or less (the 32bit pt_regs)? */ in ppc_set_initial_registers_tid()
113 bool get32 = iovec.iov_len < sizeof (struct pt_regs); in ppc_set_initial_registers_tid()
H A Dcsky_initreg.c52 struct pt_regs user_regs; in csky_set_initial_registers_tid()
H A Dsparc_initreg.c53 /* The pt_regs structure filled in by PTRACE_GETREGS provides the in set_initial_registers_tid()
59 struct pt_regs regs; in set_initial_registers_tid()
/third_party/ltp/testcases/kdump/lib/kprobes/
H A Dkprobes.c15 struct pt_regs *regs, unsigned long stack_size, in jdo_fork()
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
H A Dst_tusb.h73 void (*irq) (struct usb_hcd *hcd, struct pt_regs *regs);
/third_party/musl/arch/powerpc/bits/
H A Dsignal.h31 struct pt_regs *regs;
/third_party/musl/arch/powerpc64/bits/
H A Dsignal.h35 struct pt_regs *regs;
/third_party/rust/crates/linux-raw-sys/src/s390x/
H A Dgeneral.rs3496 pub struct pt_regs { structure names

Completed in 24 milliseconds