Searched refs:num_pkey (Results 1 – 2 of 2) sorted by relevance
15 int num_pkey; /* Max number of pkeys supported */ variable151 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()
14 extern int num_pkey;47 return num_pkey; in arch_max_pkey()