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

/linux-master/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");
55 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1)
76 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n");
79 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1)
83 printf("prctl(PR_SET_TSC, PR_TSC_SIGSEGV)\n");
86 if ( prctl(PR_SET_TSC, PR_TSC_SIGSEGV) == -1)
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)
67 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0)
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)
72 if (prctl(PR_SET_TSC, PR_TSC_SIGSEGV) < 0)
/linux-master/include/uapi/linux/
H A Dprctl.h76 #define PR_SET_TSC 26 macro
/linux-master/tools/include/uapi/linux/
H A Dprctl.h76 #define PR_SET_TSC 26 macro
/linux-master/kernel/
H A Dsys.c2535 case PR_SET_TSC:

Completed in 128 milliseconds