Home
last modified time | relevance | path

Searched refs:PR_SET_TSC (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/prctl/
H A Ddisable-tsc-test.c3 * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...)
5 * Basic test to test behaviour of PR_GET_TSC and PR_SET_TSC
21 #define PR_SET_TSC 26 macro
53 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in sigsegv_cb()
55 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in sigsegv_cb()
76 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in main()
79 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in main()
83 printf("prctl(PR_SET_TSC, PR_TSC_SIGSEGV)\n"); in main()
86 if ( prctl(PR_SET_TSC, PR_TSC_SIGSEGV) == -1) in main()
H A Ddisable-tsc-on-off-stress-test.c3 * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...)
26 #define PR_SET_TSC 26 macro
50 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in sigsegv_cb()
72 if (prctl(PR_SET_TSC, PR_TSC_SIGSEGV) < 0) in task()
H A Ddisable-tsc-ctxt-sw-stress-test.c3 * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...)
26 #define PR_SET_TSC 26 macro
46 if (prctl(PR_SET_TSC, PR_TSC_SIGSEGV) < 0) in segvtask()
67 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in rdtsctask()
/kernel/linux/linux-6.6/tools/testing/selftests/prctl/
H A Ddisable-tsc-test.c3 * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...)
5 * Basic test to test behaviour of PR_GET_TSC and PR_SET_TSC
21 #define PR_SET_TSC 26 macro
53 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in sigsegv_cb()
55 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in sigsegv_cb()
76 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in main()
79 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in main()
83 printf("prctl(PR_SET_TSC, PR_TSC_SIGSEGV)\n"); in main()
86 if ( prctl(PR_SET_TSC, PR_TSC_SIGSEGV) == -1) in main()
H A Ddisable-tsc-on-off-stress-test.c3 * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...)
26 #define PR_SET_TSC 26 macro
50 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in sigsegv_cb()
72 if (prctl(PR_SET_TSC, PR_TSC_SIGSEGV) < 0) in task()
H A Ddisable-tsc-ctxt-sw-stress-test.c3 * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...)
26 #define PR_SET_TSC 26 macro
46 if (prctl(PR_SET_TSC, PR_TSC_SIGSEGV) < 0) in segvtask()
67 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in rdtsctask()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dprctl.h51 #define PR_SET_TSC 26 macro
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dprctl.h76 #define PR_SET_TSC 26 macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dprctl.h76 #define PR_SET_TSC 26 macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dprctl.h76 #define PR_SET_TSC 26 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dprctl.h64 #define PR_SET_TSC 26 macro
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dprctl.h76 #define PR_SET_TSC 26 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dprctl.h64 #define PR_SET_TSC 26 macro
/kernel/linux/linux-5.10/kernel/
H A Dsys.c2441 case PR_SET_TSC: in SYSCALL_DEFINE5()
/kernel/linux/linux-6.6/kernel/
H A Dsys.c2519 case PR_SET_TSC: in SYSCALL_DEFINE5()

Completed in 16 milliseconds