Home
last modified time | relevance | path

Searched refs:NR_PKEYS (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/mm/
A Dpkey-powerpc.h25 #define NR_PKEYS 32 macro
39 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position()
115 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_with_mprotect_subpage()
A Dprotection_keys.c561 int alloced_pkeys[NR_PKEYS]; in alloc_random_pkey()
567 max_nr_pkey_allocs = NR_PKEYS; in alloc_random_pkey()
620 pkey_assert(pkey < NR_PKEYS); in mprotect_pkey()
713 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_with_mprotect()
816 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_hugetlb()
834 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_mmap_dax()
868 pkey_assert(pkey < NR_PKEYS); in malloc_pkey()
976 int alloced_pkeys[NR_PKEYS]; in test_pkey_alloc_free_attach_pkey0()
992 max_nr_pkey_allocs = NR_PKEYS; in test_pkey_alloc_free_attach_pkey0()
1191 int bad_pkey = NR_PKEYS+99; in test_pkey_syscalls_bad_args()
[all …]
A Dpkey-x86.h44 #define NR_PKEYS 16 macro
/linux-6.3-rc2/tools/testing/selftests/powerpc/include/
A Dpkeys.h39 #define NR_PKEYS 32 macro
56 shift = (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_set_rights()
/linux-6.3-rc2/tools/testing/selftests/powerpc/mm/
A Dpkey_siginfo.c229 int pkeys[NR_PKEYS], i; in reset_pkeys()
232 for (i = 0; i < NR_PKEYS; i++) in reset_pkeys()
236 for (i = 0; i < NR_PKEYS; i++) in reset_pkeys()

Completed in 8 milliseconds