Searched refs:X86_FEATURE_OSPKE (Results 1 – 11 of 11) sorted by relevance
7 #define arch_max_pkey() (boot_cpu_has(X86_FEATURE_OSPKE) ? 16 : 1)14 return boot_cpu_has(X86_FEATURE_OSPKE); in arch_pkeys_enabled()24 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in execute_only_pkey()35 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in arch_override_mprotect_pkey()
50 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
195 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()240 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
335 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
131 if (boot_cpu_has(X86_FEATURE_OSPKE)) in read_pkru()140 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in write_pkru()
308 if (boot_cpu_has(X86_FEATURE_OSPKE)) in copy_init_fpstate_to_fpregs()
915 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in arch_set_user_pkey_access()
603 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in switch_fpu_finish()
140 if (boot_cpu_has(X86_FEATURE_OSPKE)) in __show_regs()
948 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in bad_area_access_from_pkeys()
396 if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) in do_cpuid_7_mask()