Home
last modified time | relevance | path

Searched refs:tm_spr_regs (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spr.c13 struct tm_spr_regs regs;
24 int validate_tm_spr(struct tm_spr_regs *regs) in validate_tm_spr()
85 ret = validate_tm_spr((struct tm_spr_regs *)&cptr->regs); in tm_spr()
100 FAIL_IF(show_tm_spr(child, (struct tm_spr_regs *)&pptr->regs)); in trace_tm_spr()
Dptrace.h41 struct tm_spr_regs { struct
716 int show_tm_spr(pid_t child, struct tm_spr_regs *out) in show_tm_spr()
718 struct tm_spr_regs *regs; in show_tm_spr()
722 regs = (struct tm_spr_regs *) malloc(sizeof(struct tm_spr_regs)); in show_tm_spr()
729 iov.iov_len = sizeof(struct tm_spr_regs); in show_tm_spr()
738 memcpy(out, regs, sizeof(struct tm_spr_regs)); in show_tm_spr()