Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/mqueue/
Dmq_perf_tests.c99 int mq_prio_max; variable
381 if (++*prio == mq_prio_max) in inc_prio()
388 *prio = mq_prio_max - 1; in dec_prio()
393 *prio = random() % mq_prio_max; in random_prio()
434 mq_prio_max = sysconf(_SC_MQ_PRIO_MAX); in perf_test_thread()
435 if (mq_prio_max == -1) in perf_test_thread()
443 printf("\t\tMax priorities:\t\t\t%d\n", mq_prio_max); in perf_test_thread()