OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pkeyshift
(Results
1 - 2
of
2
) sorted by null
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
ptrace-pkey.c
29
#define
pkeyshift
(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY))
macro
101
info->amr1 |= 3ul <<
pkeyshift
(pkey1);
102
info->amr2 |= 3ul <<
pkeyshift
(pkey2);
103
info->amr3 |= info->amr2 | 3ul <<
pkeyshift
(pkey3);
106
info->expected_iamr |= 1ul <<
pkeyshift
(pkey1);
108
info->expected_iamr &= ~(1ul <<
pkeyshift
(pkey1));
110
info->expected_iamr &= ~(1ul <<
pkeyshift
(pkey2) | 1ul <<
pkeyshift
(pkey3));
112
info->expected_uamor |= 3ul <<
pkeyshift
(pkey1) |
113
3ul <<
pkeyshift
(pkey2)
[
all
...]
core-pkey.c
38
#define
pkeyshift
(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY))
macro
139
info->amr |= 3ul <<
pkeyshift
(pkey1) | 2ul <<
pkeyshift
(pkey2);
142
info->iamr |= 1ul <<
pkeyshift
(pkey1);
144
info->iamr &= ~(1ul <<
pkeyshift
(pkey1));
146
info->iamr &= ~(1ul <<
pkeyshift
(pkey2) | 1ul <<
pkeyshift
(pkey3));
148
info->uamor |= 3ul <<
pkeyshift
(pkey1) | 3ul <<
pkeyshift
(pkey2);
Completed in 129 milliseconds