Home
last modified time | relevance | path

Searched refs:max_priority (Results 1 – 15 of 15) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
D17-4.c33 int max_priority, old_priority, old_policy, new_policy; in main() local
49 max_priority = sched_get_priority_max(SCHED_SPORADIC); in main()
50 param.sched_priority = (old_priority == max_priority) ? in main()
51 sched_get_priority_min(SCHED_SPORADIC) : max_priority; in main()
D17-7.c33 int max_priority, old_priority, old_policy, new_policy, policy; in main() local
53 max_priority = sched_get_priority_max(policy); in main()
54 param.sched_priority = (old_priority == max_priority) ? in main()
55 sched_get_priority_min(policy) : max_priority; in main()
D22-2.c33 int new_priority, max_priority, policy, result; in main() local
43 max_priority = sched_get_priority_max(SCHED_FIFO); in main()
44 new_priority = (param.sched_priority == max_priority) ? in main()
45 sched_get_priority_min(SCHED_FIFO) : max_priority; in main()
D15-2.c33 int new_priority, max_priority, policy, result; in main() local
44 max_priority = sched_get_priority_max(SCHED_FIFO); in main()
45 new_priority = (param.sched_priority == max_priority) ? in main()
46 sched_get_priority_min(SCHED_FIFO) : max_priority; in main()
D17-6.c63 int max_priority, old_priority, old_policy, new_policy, policy; in main() local
92 max_priority = sched_get_priority_max(policy); in main()
93 param.sched_priority = (old_priority == max_priority) ? in main()
94 sched_get_priority_min(policy) : max_priority; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
D21-2.c32 int new_priority, max_priority, policy, result; in main() local
43 max_priority = sched_get_priority_max(policy); in main()
44 new_priority = (param.sched_priority == max_priority) ? in main()
45 sched_get_priority_min(policy) : max_priority; in main()
D21-1.c32 int new_priority, max_priority, old_policy, policy, result; in main() local
43 max_priority = sched_get_priority_max(old_policy); in main()
44 new_priority = (param.sched_priority == max_priority) ? in main()
45 sched_get_priority_min(old_policy) : max_priority; in main()
D20-1.c32 int new_priority, max_priority, policy, result; in main() local
44 max_priority = sched_get_priority_max(policy); in main()
45 new_priority = (param.sched_priority == max_priority) ? in main()
46 sched_get_priority_min(policy) : max_priority; in main()
/external/vboot_reference/cgpt/
Dcmd_prioritize.c73 params.max_priority = (int)strtol(optarg, &e, 0); in cmd_prioritize()
79 if (params.max_priority < 1 || params.max_priority > 15) { in cmd_prioritize()
Dcgpt_prioritize.c179 if (params->max_priority) in CgptPrioritize()
180 priority = params->max_priority; in CgptPrioritize()
/external/libchrome/base/task/sequence_manager/
Dtask_queue_selector.cc212 TaskQueue::QueuePriority max_priority, in SelectWorkQueueToService() argument
219 if (max_priority > TaskQueue::kControlPriority && in SelectWorkQueueToService()
228 if (max_priority > TaskQueue::kLowPriority && in SelectWorkQueueToService()
240 if (max_priority > TaskQueue::kNormalPriority && in SelectWorkQueueToService()
252 if (max_priority > TaskQueue::kHighPriority && in SelectWorkQueueToService()
265 priority < max_priority; priority = NextPriority(priority)) { in SelectWorkQueueToService()
Dtask_queue_selector.h85 bool SelectWorkQueueToService(TaskQueue::QueuePriority max_priority,
/external/ltp/testcases/kernel/sched/tool/
Dtrace_sched.c194 static int max_priority; /* max possible priority for a process. */ in thread_func() local
207 if (((max_priority = sched_get_priority_max(SCHED_FIFO)) == -1) || in thread_func()
220 set_priority = (min_priority + (int)((float)max_priority in thread_func()
264 max_priority, min_priority, set_priority, in thread_func()
/external/vboot_reference/host/include/
Dcgpt_params.h77 int max_priority; member
/external/oj-libjdwp/src/share/javavm/export/
Djvmti.h532 jint max_priority; member