Lines Matching refs:cur_max_msgs
55 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()
384 cur_def_msgs = cur_max_msgs + 1; in main()
395 if (result.mq_maxmsg == cur_max_msgs && in main()
426 cur_max_msgs = 32; in main()
428 set(max_msgs, cur_max_msgs); in main()
430 attr.mq_maxmsg = cur_max_msgs; in main()
438 attr.mq_maxmsg = cur_max_msgs + 1; in main()
468 attr.mq_maxmsg = cur_max_msgs; in main()
476 attr.mq_maxmsg = cur_max_msgs + 1; in main()