Searched refs:cur_max_msgsize (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 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() 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 …]
|
D | mq_perf_tests.c | 95 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()
|