Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/prctl/
H A 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()
H A 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()
H A 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/arch/arm64/kernel/
H A Dprocess.c526 else if (val == PR_TSC_ENABLE) in do_set_tsc_mode()
701 do_set_tsc_mode(PR_TSC_ENABLE); in arch_setup_new_exec()
821 val = PR_TSC_ENABLE; in get_tsc_mode()
/linux/include/uapi/linux/
H A Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/linux/tools/include/uapi/linux/
H A Dprctl.h77 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
/linux/arch/x86/kernel/
H A Dprocess.c314 val = PR_TSC_ENABLE; in get_tsc_mode()
323 else if (val == PR_TSC_ENABLE) in set_tsc_mode()