Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c101 int mq_prio_max; variable
386 if (++*prio == mq_prio_max) in inc_prio()
393 *prio = mq_prio_max - 1; in dec_prio()
398 *prio = random() % mq_prio_max; in random_prio()
439 mq_prio_max = sysconf(_SC_MQ_PRIO_MAX); in perf_test_thread()
440 if (mq_prio_max == -1) in perf_test_thread()
448 printf("\t\tMax priorities:\t\t\t%d\n", mq_prio_max); in perf_test_thread()