Home
last modified time | relevance | path

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

/linux-5.19.10/arch/x86/mm/
Dpti.c72 static enum pti_mode { enum
76 } pti_mode; variable
84 pti_mode = PTI_AUTO; in pti_check_boottime_disable()
87 pti_mode = PTI_FORCE_OFF; in pti_check_boottime_disable()
95 pti_mode = PTI_FORCE_OFF; in pti_check_boottime_disable()
100 pti_mode = PTI_FORCE_ON; in pti_check_boottime_disable()
105 pti_mode = PTI_AUTO; in pti_check_boottime_disable()
112 pti_mode = PTI_FORCE_OFF; in pti_check_boottime_disable()
524 if (pti_mode != PTI_AUTO) in pti_kernel_image_global_ok()
/linux-5.19.10/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()