Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/mm/book3s64/
Dpkeys.c16 int pkeys_total; /* Total pkeys as per device tree */ variable
50 pkeys_total = vals[0]; in scan_pkey_feature()
57 return pkeys_total; in pkey_mmu_enabled()
92 pkeys_total = 32; in pkey_initialize()
98 pkeys_total = min_t(int, pkeys_total, in pkey_initialize()
101 if (!pkey_mmu_enabled() || radix_enabled() || !pkeys_total) in pkey_initialize()
123 os_reserved = pkeys_total - 8; in pkey_initialize()
143 for (i = (pkeys_total - os_reserved); i < pkeys_total; i++) { in pkey_initialize()
149 if (unlikely((pkeys_total - os_reserved) <= execute_only_key)) { in pkey_initialize()
/Linux-v5.4/arch/powerpc/include/asm/
Dpkeys.h15 extern int pkeys_total; /* total pkeys as per device tree */
52 #define arch_max_pkey() pkeys_total