Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/powerpc/ptrace/
H A Dcore-pkey.c84 int pkey1, pkey2, pkey3; in child() local
107 pkey3 = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in child()
108 FAIL_IF(pkey3 < 0); in child()
117 info->iamr &= ~(1ul << pkeyshift(pkey2) | 1ul << pkeyshift(pkey3)); in child()
122 user_write, info->amr, pkey1, pkey2, pkey3); in child()
130 sys_pkey_free(pkey3); in child()
H A Dptrace-pkey.c49 int pkey1, pkey2, pkey3; in child() local
69 pkey3 = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in child()
70 CHILD_FAIL_IF(pkey3 < 0, &info->child_sync); in child()
92 info->expected_iamr &= ~(1ul << pkeyshift(pkey3)); in child()
102 user_write, info->amr1, pkey1, pkey2, pkey3); in child()