Home
last modified time | relevance | path

Searched refs:PR_TSC_ENABLE (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/tools/testing/selftests/prctl/
Ddisable-tsc-test.c22 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
29 [PR_TSC_ENABLE] = "PR_TSC_ENABLE",
55 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in sigsegv_cb()
79 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in main()
Ddisable-tsc-on-off-stress-test.c27 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
50 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in sigsegv_cb()
Ddisable-tsc-ctxt-sw-stress-test.c27 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
67 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in rdtsctask()
/Linux-v5.4/include/uapi/linux/
Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/Linux-v5.4/tools/include/uapi/linux/
Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/Linux-v5.4/arch/x86/kernel/
Dprocess.c176 val = PR_TSC_ENABLE; in get_tsc_mode()
185 else if (val == PR_TSC_ENABLE) in set_tsc_mode()