Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/mm/
Dpti.c80 enum pti_mode { enum
84 } pti_mode; variable
92 pti_mode = PTI_AUTO; in pti_check_boottime_disable()
95 pti_mode = PTI_FORCE_OFF; in pti_check_boottime_disable()
103 pti_mode = PTI_FORCE_OFF; in pti_check_boottime_disable()
108 pti_mode = PTI_FORCE_ON; in pti_check_boottime_disable()
113 pti_mode = PTI_AUTO; in pti_check_boottime_disable()
119 pti_mode = PTI_FORCE_OFF; in pti_check_boottime_disable()
505 if (pti_mode != PTI_AUTO) in pti_kernel_image_global_ok()
/Linux-v4.19/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()