Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-pkey.c78 int pkey1, pkey2, pkey3; in child() local
98 pkey3 = sys_pkey_alloc(0, 0); in child()
99 CHILD_FAIL_IF(pkey3 < 0, &info->child_sync); in child()
103 info->amr3 |= info->amr2 | 3ul << pkeyshift(pkey3); in child()
110 info->expected_iamr &= ~(1ul << pkeyshift(pkey2) | 1ul << pkeyshift(pkey3)); in child()
124 sys_pkey_free(pkey3); in child()
127 user_write, info->amr1, pkey1, pkey2, pkey3); in child()
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()