Searched refs:cur_limits (Results 1 – 6 of 6) sorted by relevance
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/mqueue/ |
H A D | mq_open_tests.c | 53 struct rlimit saved_limits, cur_limits; variable 157 if (cur_limits.rlim_cur < 4096) { in validate_current_settings() 160 cur_limits.rlim_cur = 8192; in validate_current_settings() 161 cur_limits.rlim_max = 16384; in validate_current_settings() 162 setr(RLIMIT_MSGQUEUE, &cur_limits); in validate_current_settings() 287 cur_limits = saved_limits; in main() 388 cur_limits.rlim_cur) { in main() 391 cur_limits.rlim_max = 2 * cur_limits.rlim_cur; in main() 392 setr(RLIMIT_MSGQUEUE, &cur_limits); in main() 408 cur_limits.rlim_cur = cur_limits.rlim_max = cur_def_msgs * in main() [all …]
|
H A D | mq_perf_tests.c | 93 struct rlimit saved_limits, cur_limits; variable 524 cur_limits.rlim_cur = RLIM_INFINITY; in increase_limits() 525 cur_limits.rlim_max = RLIM_INFINITY; in increase_limits() 526 setr(RLIMIT_MSGQUEUE, &cur_limits); in increase_limits() 645 cur_limits = saved_limits; in main() 668 if (cur_limits.rlim_cur == RLIM_INFINITY) { in main() 673 (long) cur_limits.rlim_cur); in main() 675 (long) cur_limits.rlim_max); in main()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/mqueue/ |
H A D | mq_open_tests.c | 53 struct rlimit saved_limits, cur_limits; variable 157 if (cur_limits.rlim_cur < 4096) { in validate_current_settings() 160 cur_limits.rlim_cur = 8192; in validate_current_settings() 161 cur_limits.rlim_max = 16384; in validate_current_settings() 162 setr(RLIMIT_MSGQUEUE, &cur_limits); in validate_current_settings() 287 cur_limits = saved_limits; in main() 388 cur_limits.rlim_cur) { in main() 391 cur_limits.rlim_max = 2 * cur_limits.rlim_cur; in main() 392 setr(RLIMIT_MSGQUEUE, &cur_limits); in main() 408 cur_limits.rlim_cur = cur_limits.rlim_max = cur_def_msgs * in main() [all …]
|
H A D | mq_perf_tests.c | 93 struct rlimit saved_limits, cur_limits; variable 524 cur_limits.rlim_cur = RLIM_INFINITY; in increase_limits() 525 cur_limits.rlim_max = RLIM_INFINITY; in increase_limits() 526 setr(RLIMIT_MSGQUEUE, &cur_limits); in increase_limits() 645 cur_limits = saved_limits; in main() 668 if (cur_limits.rlim_cur == RLIM_INFINITY) { in main() 673 (long) cur_limits.rlim_cur); in main() 675 (long) cur_limits.rlim_max); in main()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/mqueue/ |
H A D | mq_open_tests.c | 53 struct rlimit saved_limits, cur_limits; variable 157 if (cur_limits.rlim_cur < 4096) { in validate_current_settings() 160 cur_limits.rlim_cur = 8192; in validate_current_settings() 161 cur_limits.rlim_max = 16384; in validate_current_settings() 162 setr(RLIMIT_MSGQUEUE, &cur_limits); in validate_current_settings() 287 cur_limits = saved_limits; in main() 388 cur_limits.rlim_cur) { in main() 391 cur_limits.rlim_max = 2 * cur_limits.rlim_cur; in main() 392 setr(RLIMIT_MSGQUEUE, &cur_limits); in main() 408 cur_limits.rlim_cur = cur_limits.rlim_max = cur_def_msgs * in main() [all …]
|
H A D | mq_perf_tests.c | 93 struct rlimit saved_limits, cur_limits; variable 524 cur_limits.rlim_cur = RLIM_INFINITY; in increase_limits() 525 cur_limits.rlim_max = RLIM_INFINITY; in increase_limits() 526 setr(RLIMIT_MSGQUEUE, &cur_limits); in increase_limits() 645 cur_limits = saved_limits; in main() 668 if (cur_limits.rlim_cur == RLIM_INFINITY) { in main() 673 (long) cur_limits.rlim_cur); in main() 675 (long) cur_limits.rlim_max); in main()
|