Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/mm/
Dpkeys.c15 int pkeys_total; /* Total pkeys as per device tree */ variable
48 pkeys_total = vals[0]; in scan_pkey_feature()
55 return pkeys_total; in pkey_mmu_enabled()
90 pkeys_total = 32; in pkey_initialize()
96 pkeys_total = min_t(int, pkeys_total, in pkey_initialize()
99 if (!pkey_mmu_enabled() || radix_enabled() || !pkeys_total) in pkey_initialize()
121 os_reserved = pkeys_total - 8; in pkey_initialize()
141 for (i = (pkeys_total - os_reserved); i < pkeys_total; i++) { in pkey_initialize()
147 if (unlikely((pkeys_total - os_reserved) <= execute_only_key)) { in pkey_initialize()
/Linux-v4.19/arch/powerpc/include/asm/
Dpkeys.h15 extern int pkeys_total; /* total pkeys as per device tree */
52 #define arch_max_pkey() pkeys_total