Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c317 pkey_assert(siginfo_pkey < NR_PKEYS); in signal_handler()
611 int alloced_pkeys[NR_PKEYS]; in alloc_random_pkey()
617 max_nr_pkey_allocs = NR_PKEYS; in alloc_random_pkey()
666 pkey_assert(pkey < NR_PKEYS); in mprotect_pkey()
758 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_with_mprotect()
852 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_hugetlb()
870 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_mmap_dax()
903 pkey_assert(pkey < NR_PKEYS); in malloc_pkey()
1109 for (i = 1; i < NR_PKEYS; i++) { in test_pkey_syscalls_on_non_allocated_pkey()
1129 int bad_pkey = NR_PKEYS+99; in test_pkey_syscalls_bad_args()
[all …]
Dpkey-helpers.h16 #define NR_PKEYS 16 macro