Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
D5-1.c22 int result, new_priority, old_priority, max_prio, policy; in main() local
37 max_prio = sched_get_priority_max(policy); in main()
39 new_priority = (old_priority == max_prio) ? in main()
40 sched_get_priority_min(policy) : max_prio; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
D4-1.c22 int result, new_priority, old_priority, max_prio; in main() local
41 max_prio = sched_get_priority_max(new_policy); in main()
43 new_priority = (old_priority == max_prio) ? in main()
45 (param.sched_priority = max_prio); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprioceiling/
D1-1.c35 int max_prio, min_prio, i; in main() local
44 max_prio = sched_get_priority_max(SCHED_FIFO); in main()
47 for (i = min_prio; (i < max_prio + 1); i++) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprioceiling/
D1-2.c36 int prioceiling, max_prio, min_prio, i; in main() local
45 max_prio = sched_get_priority_max(SCHED_FIFO); in main()
48 for (i = min_prio; (i < max_prio + 1); i++) { in main()
D1-1.c40 int prioceiling, max_prio, min_prio, ret; in main() local
63 max_prio = sched_get_priority_max(SCHED_FIFO); in main()
67 if ((prioceiling < min_prio) || (prioceiling > max_prio)) { in main()
/external/webrtc/webrtc/base/
Dplatform_thread.cc215 const int max_prio = sched_get_priority_max(policy); in SetPriority() local
216 if (min_prio == -1 || max_prio == -1) { in SetPriority()
220 if (max_prio - min_prio <= 2) in SetPriority()
225 const int top_prio = max_prio - 1; in SetPriority()