Lines Matching refs:rl
1048 struct rlimit rl; in posix_addlimit() local
1055 result = getrlimit(limit, &rl); in posix_addlimit()
1061 if (rl.rlim_cur == RLIM_INFINITY) { in posix_addlimit()
1064 add_assoc_long(return_value, soft, rl.rlim_cur); in posix_addlimit()
1067 if (rl.rlim_max == RLIM_INFINITY) { in posix_addlimit()
1070 add_assoc_long(return_value, hard, rl.rlim_max); in posix_addlimit()
1165 struct rlimit rl; in PHP_FUNCTION() local
1166 int result = getrlimit(res, &rl); in PHP_FUNCTION()
1173 if (rl.rlim_cur == RLIM_INFINITY) { in PHP_FUNCTION()
1176 add_next_index_long(return_value, rl.rlim_cur); in PHP_FUNCTION()
1179 if (rl.rlim_max == RLIM_INFINITY) { in PHP_FUNCTION()
1182 add_next_index_long(return_value, rl.rlim_max); in PHP_FUNCTION()
1194 struct rlimit rl; in PHP_FUNCTION() local
1203 rl.rlim_cur = cur; in PHP_FUNCTION()
1204 rl.rlim_max = max; in PHP_FUNCTION()
1206 if (setrlimit(res, &rl) == -1) { in PHP_FUNCTION()