Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c113 int pkey1, pkey2, pkey3; in child() local
136 pkey3 = sys_pkey_alloc(0, 0); in child()
137 FAIL_IF(pkey3 < 0); in child()
146 info->iamr &= ~(1ul << pkeyshift(pkey2) | 1ul << pkeyshift(pkey3)); in child()
151 user_write, info->amr, pkey1, pkey2, pkey3); in child()
159 sys_pkey_free(pkey3); in child()
Dptrace-pkey.c73 int pkey1, pkey2, pkey3; in child() local
93 pkey3 = sys_pkey_alloc(0, 0); in child()
94 CHILD_FAIL_IF(pkey3 < 0, &info->child_sync); in child()
116 info->expected_iamr &= ~(1ul << pkeyshift(pkey3)); in child()
126 user_write, info->amr1, pkey1, pkey2, pkey3); in child()