Searched defs:resource (Results 1 - 3 of 3) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/win32/
H A Dresource.c18 /* $Id: resource.c,v 1.10 2008/07/11 23:47:09 tbox Exp $ */
25 #include <isc/resource.h>
38 isc_resource_setlimit(isc_resource_t resource, isc_resourcevalue_t value) { argument
42 if (resource != isc_resource_openfiles)
60 isc_resource_getlimit(isc_resource_t resource, isc_resourcevalue_t *value) { argument
62 if (resource != isc_resource_openfiles)
70 isc_resource_getcurlimit(isc_resource_t resource, isc_resourcevalue_t *value) { argument
71 return (isc_resource_getlimit(resource, value));
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dresource.c23 #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) { argument
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) { argument
112 result = resource2rlim(resource, &unixresource);
156 if (resource
200 isc_resource_getlimit(isc_resource_t resource, isc_resourcevalue_t *value) argument
217 isc_resource_getcurlimit(isc_resource_t resource, isc_resourcevalue_t *value) argument
[all...]
/bind-9.6-ESV-R11/bin/named/
H A Dserver.c38 #include <isc/resource.h>
3157 const char *resource; local
3165 resource = cfg_obj_asstring(obj);
3166 if (strcasecmp(resource, "unlimited") == 0)
3169 INSIST(strcasecmp(resource, "default") == 0);
3183 #define SETLIMIT(cfgvar, resource, description) \
3184 set_limit(maps, cfgvar, description, isc_resource_ ## resource, \
3185 ns_g_init ## resource)

Completed in 25 milliseconds