Searched refs:cur_max_msgs (Results 1 – 2 of 2) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 53 int cur_def_msgs, cur_def_msgsize, cur_max_msgs, cur_max_msgsize; variable 175 rlim_needed = (cur_max_msgs + 1) * (cur_max_msgsize + 1 + in validate_current_settings() 185 cur_max_msgs = 10; in validate_current_settings() 291 saved_max_msgs = cur_max_msgs = get(max_msgs); in main() 318 printf("\tMaximum Queue Size:\t\t%d\n", cur_max_msgs); in main() 330 if (result.mq_maxmsg != cur_max_msgs || in main() 336 set(max_msgs, ++cur_max_msgs); in main() 339 if (result.mq_maxmsg == cur_max_msgs && in main() 370 set(max_msgs, ++cur_max_msgs); in main() 382 set(def_msgs, cur_max_msgs + 1); in main() [all …]
|
D | mq_perf_tests.c | 93 int cur_max_msgs, cur_max_msgsize; variable 525 while (try_set(max_msgs, cur_max_msgs += 10)) in increase_limits() 527 cur_max_msgs = get(max_msgs); in increase_limits() 646 saved_max_msgs = cur_max_msgs = get(max_msgs); in main() 678 printf("\tMaximum Queue Size:\t\t\t%d\n", cur_max_msgs); in main() 709 attr.mq_maxmsg = cur_max_msgs; in main()
|