Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/mqueue/
Dmq_open_tests.c55 int cur_def_msgs, cur_def_msgsize, cur_max_msgs, cur_max_msgsize; variable
178 rlim_needed = (cur_max_msgs + 1) * (cur_max_msgsize + 1 + in validate_current_settings()
188 cur_max_msgs = 10; in validate_current_settings()
292 saved_max_msgs = cur_max_msgs = get(max_msgs); in main()
319 printf("\tMaximum Queue Size:\t\t%d\n", cur_max_msgs); in main()
331 if (result.mq_maxmsg != cur_max_msgs || in main()
337 set(max_msgs, ++cur_max_msgs); in main()
340 if (result.mq_maxmsg == cur_max_msgs && in main()
371 set(max_msgs, ++cur_max_msgs); in main()
383 set(def_msgs, cur_max_msgs + 1); in main()
[all …]
Dmq_perf_tests.c95 int cur_max_msgs, cur_max_msgsize; variable
530 while (try_set(max_msgs, cur_max_msgs += 10)) in increase_limits()
532 cur_max_msgs = get(max_msgs); in increase_limits()
650 saved_max_msgs = cur_max_msgs = get(max_msgs); in main()
682 printf("\tMaximum Queue Size:\t\t\t%d\n", cur_max_msgs); in main()
713 attr.mq_maxmsg = cur_max_msgs; in main()