Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/mm/
Dpti.c73 static enum pti_mode { enum
77 } pti_mode; variable
85 pti_mode = PTI_AUTO; in pti_check_boottime_disable()
88 pti_mode = PTI_FORCE_OFF; in pti_check_boottime_disable()
96 pti_mode = PTI_FORCE_OFF; in pti_check_boottime_disable()
101 pti_mode = PTI_FORCE_ON; in pti_check_boottime_disable()
106 pti_mode = PTI_AUTO; in pti_check_boottime_disable()
113 pti_mode = PTI_FORCE_OFF; in pti_check_boottime_disable()
532 if (pti_mode != PTI_AUTO) in pti_kernel_image_global_ok()
/Linux-v5.4/drivers/hwtracing/intel_th/
Dpti.c34 static const unsigned int pti_mode[] = { variable
42 for (i = 0; i < ARRAY_SIZE(pti_mode); i++) in pti_width_mode()
43 if (pti_mode[i] == width) in pti_width_mode()
54 return scnprintf(buf, PAGE_SIZE, "%d\n", pti_mode[pti->mode]); in mode_show()
186 if (!pti_mode[pti->mode]) in read_hw_config()