Searched refs:NR_PKEYS (Results 1 – 2 of 2) sorted by relevance
27 #define NR_PKEYS 32 macro41 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position()127 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_with_mprotect_subpage()
381 pkey_assert(siginfo_pkey < NR_PKEYS); in signal_handler()519 int alloced_pkeys[NR_PKEYS]; in alloc_random_pkey()525 max_nr_pkey_allocs = NR_PKEYS; in alloc_random_pkey()576 pkey_assert(pkey < NR_PKEYS); in mprotect_pkey()668 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_with_mprotect()771 pkey_assert(pkey < NR_PKEYS); in malloc_pkey_hugetlb()796 pkey_assert(pkey < NR_PKEYS); in malloc_pkey()896 int alloced_pkeys[NR_PKEYS]; in test_pkey_alloc_free_attach_pkey0()912 max_nr_pkey_allocs = NR_PKEYS; in test_pkey_alloc_free_attach_pkey0()1092 for (i = 1; i < NR_PKEYS; i++) { in test_pkey_syscalls_on_non_allocated_pkey()[all …]