Searched refs:max_prio (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 5-1.c | 22 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/ |
D | 4-1.c | 22 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/ |
D | 1-1.c | 35 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/ |
D | 1-2.c | 36 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()
|
D | 1-1.c | 40 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/ |
D | platform_thread.cc | 215 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()
|