Lines Matching refs:resource
23 #include <sys/time.h> /* Required on some systems for <sys/resource.h>. */
24 #include <sys/resource.h>
27 #include <isc/resource.h>
42 resource2rlim(isc_resource_t resource, int *rlim_resource) {
45 switch (resource) {
94 REQUIRE(resource >= isc_resource_coresize &&
95 resource <= isc_resource_stacksize);
105 isc_resource_setlimit(isc_resource_t resource, isc_resourcevalue_t value) {
112 result = resource2rlim(resource, &unixresource);
156 if (resource == isc_resource_openfiles && rlim_value == RLIM_INFINITY) {
171 if (resource == isc_resource_openfiles && rlim_value == RLIM_INFINITY) {
178 if (resource == isc_resource_openfiles && rlim_value == RLIM_INFINITY) {
188 if (resource == isc_resource_openfiles && rlim_value == RLIM_INFINITY) {
200 isc_resource_getlimit(isc_resource_t resource, isc_resourcevalue_t *value) {
206 result = resource2rlim(resource, &unixresource);
217 isc_resource_getcurlimit(isc_resource_t resource, isc_resourcevalue_t *value) {
223 result = resource2rlim(resource, &unixresource);