Home
last modified time | relevance | path

Searched refs:SCHED_FIFO (Results 1 – 25 of 121) sorted by relevance

12345

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
D1-3.c89 check_param(self, SCHED_FIFO, sched_get_priority_min(SCHED_FIFO)); in threaded()
103 check_param(self, SCHED_FIFO, sched_get_priority_max(SCHED_FIFO)); in threaded()
173 sp.sched_priority = sched_get_priority_min(SCHED_FIFO); in main()
179 ret = pthread_setschedparam(child, SCHED_FIFO, &sp); in main()
191 check_param(child, SCHED_FIFO, sp.sched_priority); in main()
199 sp.sched_priority = sched_get_priority_max(SCHED_FIFO); in main()
217 check_param(child, SCHED_FIFO, sched_get_priority_max(SCHED_FIFO)); in main()
/external/strace/tests-mx32/
Dsched_xetscheduler.c17 case SCHED_FIFO: in main()
54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL); in main()
57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1); in main()
65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param); in main()
69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param); in main()
/external/strace/tests/
Dsched_xetscheduler.c17 case SCHED_FIFO: in main()
54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL); in main()
57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1); in main()
65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param); in main()
69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param); in main()
/external/strace/tests-m32/
Dsched_xetscheduler.c17 case SCHED_FIFO: in main()
54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL); in main()
57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1); in main()
65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param); in main()
69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
D2-1.c61 param.sched_priority = sched_get_priority_min(SCHED_FIFO); in child_process()
110 param.sched_priority = (sched_get_priority_min(SCHED_FIFO) + in main()
111 sched_get_priority_max(SCHED_FIFO)) / 2; in main()
113 if (sched_setscheduler(getpid(), SCHED_FIFO, &param) == -1) { in main()
144 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in main()
164 param.sched_priority = sched_get_priority_min(SCHED_FIFO); in main()
D9-1.c56 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in child_process()
124 mean_prio = (sched_get_priority_min(SCHED_FIFO) + in main()
125 sched_get_priority_max(SCHED_FIFO)) / 2; in main()
142 param.sched_priority = sched_get_priority_min(SCHED_FIFO); in main()
143 if (sched_setscheduler(getpid(), SCHED_FIFO, &param) == -1) { in main()
D23-6.c64 param.sched_priority = sched_get_priority_min(SCHED_FIFO); in main()
66 sched_setscheduler(0, SCHED_FIFO, &param); in main()
/external/ltp/testcases/realtime/perf/latency/
Dpthread_cond_latency.c119 prio = sched_get_priority_max(SCHED_FIFO); in test_signal()
125 if (sched_setscheduler(getpid(), SCHED_FIFO, &schparm) != 0) { in test_signal()
134 if (pthread_attr_setschedpolicy(&attr, SCHED_FIFO) != 0) { in test_signal()
200 sp.sched_priority = sched_get_priority_max(SCHED_FIFO); in main()
205 if (sched_setscheduler(0, SCHED_FIFO, &sp) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
D15-2.c44 max_priority = sched_get_priority_max(SCHED_FIFO); in main()
46 sched_get_priority_min(SCHED_FIFO) : max_priority; in main()
66 if (sched_setscheduler(getpid(), SCHED_FIFO, &param) == -1) { in main()
D22-2.c43 max_priority = sched_get_priority_max(SCHED_FIFO); in main()
45 sched_get_priority_min(SCHED_FIFO) : max_priority; in main()
47 if (sched_setscheduler(getpid(), SCHED_FIFO, &param) == -1) { in main()
D16-1.c37 new_policy = (old_policy == SCHED_FIFO) ? SCHED_RR : SCHED_FIFO; in main()
D21-1.c30 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in main()
48 result = sched_setscheduler(child_pid, SCHED_FIFO, &param); in main()
D20-1.c74 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in main()
76 result = sched_setscheduler(1, SCHED_FIFO, &param); in main()
D15-1.c39 new_policy = (sched_getscheduler(getpid()) == SCHED_FIFO) ? in main()
40 SCHED_RR : SCHED_FIFO; in main()
D22-1.c44 new_policy = (sched_getscheduler(getpid()) == SCHED_FIFO) ? in main()
45 SCHED_RR : SCHED_FIFO; in main()
D17-7.c50 policy = old_policy == SCHED_FIFO ? SCHED_RR : SCHED_FIFO; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/
D8-1-buildonly.c16 #ifndef SCHED_FIFO
17 #error SCHED_FIFO not defined
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-6.c192 {SCHED_FIFO, MIN},
193 {SCHED_FIFO, HALF},
194 {SCHED_FIFO, MAX_1},
222 case SCHED_FIFO: in sched_policy_name()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprioceiling/
D1-1.c44 max_prio = sched_get_priority_max(SCHED_FIFO); in main()
45 min_prio = sched_get_priority_min(SCHED_FIFO); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
D3-1.c23 #ifdef SCHED_FIFO
25 SCHED_FIFO, "SCHED_FIFO"},
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprioceiling/
D1-2.c45 max_prio = sched_get_priority_max(SCHED_FIFO); in main()
46 min_prio = sched_get_priority_min(SCHED_FIFO); in main()
D1-1.c63 max_prio = sched_get_priority_max(SCHED_FIFO); in main()
64 min_prio = sched_get_priority_min(SCHED_FIFO); in main()
/external/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c242 sched_get_priority_min(SCHED_FIFO) + in master_thread()
251 sched_get_priority_min(SCHED_FIFO) + in master_thread()
266 sched_get_priority_min(SCHED_FIFO) + in master_thread()
322 sched_get_priority_min(SCHED_FIFO) + pri_boost); in main()
/external/strace/xlat/
Dschedulers.h20 #if defined(SCHED_FIFO) || (defined(HAVE_DECL_SCHED_FIFO) && HAVE_DECL_SCHED_FIFO)
21 XLAT(SCHED_FIFO),
/external/ltp/testcases/realtime/func/prio-wake/
Dprio-wake.c197 numprios = sched_get_priority_max(SCHED_FIFO) - in main()
198 sched_get_priority_min(SCHED_FIFO); in main()
205 prio = sched_get_priority_min(SCHED_FIFO); in main()

12345