Home
last modified time | relevance | path

Searched refs:cur_max_msgsize (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()
190 cur_max_msgsize = 128; in validate_current_settings()
293 saved_max_msgsize = cur_max_msgsize = get(max_msgsize); in main()
318 printf("\tMaximum Message Size:\t\t%d\n", cur_max_msgsize); in main()
332 result.mq_msgsize != cur_max_msgsize) { in main()
338 set(max_msgsize, ++cur_max_msgsize); in main()
341 result.mq_msgsize == cur_max_msgsize) in main()
372 set(max_msgsize, ++cur_max_msgsize); in main()
385 set(def_msgsize, cur_max_msgsize + 1); in main()
[all …]
Dmq_perf_tests.c95 int cur_max_msgs, cur_max_msgsize; variable
533 while (try_set(max_msgsize, cur_max_msgsize += 1024)) in increase_limits()
535 cur_max_msgsize = get(max_msgsize); in increase_limits()
651 saved_max_msgsize = cur_max_msgsize = get(max_msgsize); in main()
681 printf("\tMaximum Message Size:\t\t\t%d\n", cur_max_msgsize); in main()