Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/powerpc/ptrace/
Dptrace-pkey.c44 unsigned long amr2; member
97 info->amr2 |= 3ul << pkeyshift(pkey2); in child()
102 info->invalid_amr = info->amr2 | (~0x0UL & ~info->expected_uamor); in child()
142 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child()
158 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child()
175 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child()
198 info->amr1 = info->amr2 = regs[0]; in parent()
222 ret = ptrace_write_regs(pid, NT_PPC_PKEY, &info->amr2, 1); in parent()
225 printf("%-30s AMR: %016lx\n", ptrace_write_running, info->amr2); in parent()
273 PARENT_FAIL_IF(regs[0] != info->amr2, &info->child_sync); in parent()