Home
last modified time | relevance | path

Searched refs:num_pkey (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/
H A Dpkeys.c19 int num_pkey; /* Max number of pkeys supported */ variable
159 num_pkey = min(8, pkeys_total); in pkey_early_init_devtree()
161 num_pkey = pkeys_total; in pkey_early_init_devtree()
164 if (unlikely(num_pkey <= execute_only_key) || !pkey_execute_disable_supported) { in pkey_early_init_devtree()
190 if (unlikely(num_pkey <= 3)) { in pkey_early_init_devtree()
197 WARN(1, "Disabling kernel user protection due to low (%d) max supported keys\n", num_pkey); in pkey_early_init_devtree()
236 for (i = num_pkey; i < 32 ; i++) { in pkey_early_init_devtree()
245 pr_info("Enabling pkeys with max key count %d\n", num_pkey); in pkey_early_init_devtree()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
H A Dpkeys.c15 int num_pkey; /* Max number of pkeys supported */ variable
151 num_pkey = min(8, pkeys_total); in pkey_early_init_devtree()
153 num_pkey = pkeys_total; in pkey_early_init_devtree()
156 if (unlikely(num_pkey <= execute_only_key) || !pkey_execute_disable_supported) { in pkey_early_init_devtree()
207 for (i = num_pkey; i < 32 ; i++) { in pkey_early_init_devtree()
216 pr_info("Enabling pkeys with max key count %d\n", num_pkey); in pkey_early_init_devtree()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dpkeys.h14 extern int num_pkey;
47 return num_pkey; in arch_max_pkey()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dpkeys.h14 extern int num_pkey;
47 return num_pkey; in arch_max_pkey()

Completed in 3 milliseconds