Searched refs:pkeyshift (Results 1 – 2 of 2) sorted by relevance
29 #define pkeyshift(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY)) macro101 info->amr1 |= 3ul << pkeyshift(pkey1); in child()102 info->amr2 |= 3ul << pkeyshift(pkey2); in child()103 info->amr3 |= info->amr2 | 3ul << pkeyshift(pkey3); in child()106 info->expected_iamr |= 1ul << pkeyshift(pkey1); in child()108 info->expected_iamr &= ~(1ul << pkeyshift(pkey1)); in child()110 info->expected_iamr &= ~(1ul << pkeyshift(pkey2) | 1ul << pkeyshift(pkey3)); in child()112 info->expected_uamor |= 3ul << pkeyshift(pkey1) | in child()113 3ul << pkeyshift(pkey2); in child()114 info->new_iamr |= 1ul << pkeyshift(pkey1) | 1ul << pkeyshift(pkey2); in child()[all …]
38 #define pkeyshift(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY)) macro139 info->amr |= 3ul << pkeyshift(pkey1) | 2ul << pkeyshift(pkey2); in child()142 info->iamr |= 1ul << pkeyshift(pkey1); in child()144 info->iamr &= ~(1ul << pkeyshift(pkey1)); in child()146 info->iamr &= ~(1ul << pkeyshift(pkey2) | 1ul << pkeyshift(pkey3)); in child()148 info->uamor |= 3ul << pkeyshift(pkey1) | 3ul << pkeyshift(pkey2); in child()