Lines Matching refs:pkey1
73 int pkey1, pkey2, pkey3; in child() local
82 pkey1 = sys_pkey_alloc(0, PKEY_DISABLE_EXECUTE); in child()
83 if (pkey1 < 0) { in child()
84 pkey1 = sys_pkey_alloc(0, 0); in child()
85 CHILD_FAIL_IF(pkey1 < 0, &info->child_sync); in child()
96 info->amr1 |= 3ul << pkeyshift(pkey1); in child()
108 info->expected_iamr |= 1ul << pkeyshift(pkey1); in child()
110 info->expected_iamr &= ~(1ul << pkeyshift(pkey1)); in child()
122 info->invalid_iamr = info->expected_iamr | (1ul << pkeyshift(pkey1) | 1ul << pkeyshift(pkey2)); in child()
123 info->invalid_uamor = info->expected_uamor & ~(0x3ul << pkeyshift(pkey1)); in child()
126 user_write, info->amr1, pkey1, pkey2, pkey3); in child()