Searched refs:oldrlim (Results 1 – 2 of 2) sorted by relevance
14 struct rlimit64 oldrlim; in main() local20 if (getrlimit64(RLIMIT_NOFILE, &oldrlim) < 0) in main()26 newrlim.rlim_cur = oldrlim.rlim_max+1; in main()27 newrlim.rlim_max = oldrlim.rlim_max; in main()41 newrlim.rlim_cur = oldrlim.rlim_max; in main()42 newrlim.rlim_max = oldrlim.rlim_max+1; in main()56 newrlim.rlim_cur = oldrlim.rlim_cur / 2; in main()57 newrlim.rlim_max = oldrlim.rlim_max; in main()71 if (newrlim.rlim_cur != oldrlim.rlim_cur / 2) in main()75 (unsigned long long)oldrlim.rlim_cur / 2); in main()[all …]
11 struct rlimit oldrlim; in main() local17 if (getrlimit(RLIMIT_NOFILE, &oldrlim) < 0) in main()23 newrlim.rlim_cur = oldrlim.rlim_max+1; in main()24 newrlim.rlim_max = oldrlim.rlim_max; in main()38 newrlim.rlim_cur = oldrlim.rlim_max; in main()39 newrlim.rlim_max = oldrlim.rlim_max+1; in main()53 newrlim.rlim_cur = oldrlim.rlim_cur / 2; in main()54 newrlim.rlim_max = oldrlim.rlim_max; in main()68 if (newrlim.rlim_cur != oldrlim.rlim_cur / 2) in main()72 (unsigned long long)oldrlim.rlim_cur / 2); in main()[all …]