Home
last modified time | relevance | path

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

/third_party/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()
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()
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()
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()
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()
/third_party/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()
/third_party/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()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/pthread/
DSDL_systhread.c224 int max_priority = sched_get_priority_max(policy); in SDL_SYS_SetThreadPriority()
225 sched.sched_priority = (min_priority + (max_priority - min_priority) / 2); in SDL_SYS_SetThreadPriority()
/third_party/glib/glib/
Dglib.stp.in277 * @max_priority: maximum priority #GSource to check
282 max_priority = $arg2;
283 …tr = sprintf("glib.main_context_before_query(context=%p, max_priority=%i)", context, max_priority);
305 * @max_priority: maximum priority #GSource to check
312 max_priority = $arg2;
315 …tf("glib.main_context_before_check(context=%p, max_priority=%i, fds=%p, n_fds=%u)", context, max_p…
Dgmain.c3762 gint max_priority, in g_main_context_query() argument
3773 TRACE (GLIB_MAIN_CONTEXT_BEFORE_QUERY (context, max_priority)); in g_main_context_query()
3783 if (pollrec->priority > max_priority) in g_main_context_query()
3854 gint max_priority, in g_main_context_check() argument
3874 TRACE (GLIB_MAIN_CONTEXT_BEFORE_CHECK (context, max_priority, fds, n_fds)); in g_main_context_check()
3918 if (pollrec->priority <= max_priority) in g_main_context_check()
3935 if ((n_ready > 0) && (source->priority > max_priority)) in g_main_context_check()
4025 max_priority = source->priority; in g_main_context_check()
4070 gint max_priority; in g_main_context_iterate() local
4111 g_main_context_prepare (context, &max_priority); in g_main_context_iterate()
[all …]
Dgmain.h403 gint max_priority,
409 gint max_priority,
/third_party/pulseaudio/src/modules/
Dmodule-device-manager.c504 role_indexes_t max_priority; in load_or_initialize_entry() local
508 pa_zero(max_priority); in load_or_initialize_entry()
525 max_priority[i] = PA_MAX(max_priority[i], e->priority[i]); in load_or_initialize_entry()
539 entry->priority[i] = max_priority[i] + 1; in load_or_initialize_entry()
/third_party/glib/glib/tests/
Dmainloop.c1242 gint max_priority; in assert_main_context_state() local
1253 immediate = g_main_context_prepare (context, &max_priority); in assert_main_context_state()
1255 n = g_main_context_query (context, max_priority, &timeout, poll_fds, 10); in assert_main_context_state()
1283 if (g_main_context_check (context, max_priority, poll_fds, n)) in assert_main_context_state()