Searched refs:resource (Results 1 - 10 of 10) sorted by relevance

/bind-9.11.3/lib/isc/include/isc/
H A Dresource.h9 /* $Id: resource.h,v 1.13 2008/07/11 23:47:09 tbox Exp $ */
14 /*! \file isc/resource.h */
24 isc_resource_setlimit(isc_resource_t resource, isc_resourcevalue_t value);
26 * Set the maximum limit for a system resource.
35 *\li 'resource' is a valid member of the isc_resource_t enumeration.
39 *\li #ISC_R_NOTIMPLEMENTED 'resource' is not a type known by the OS.
41 * to change the resource limit.
45 isc_resource_getlimit(isc_resource_t resource, isc_resourcevalue_t *value);
47 * Get the maximum limit for a system resource.
68 *\li 'resource' i
[all...]
/bind-9.11.3/lib/isc/win32/
H A Dresource.c9 /* $Id: resource.c,v 1.10 2008/07/11 23:47:09 tbox Exp $ */
16 #include <isc/resource.h>
29 isc_resource_setlimit(isc_resource_t resource, isc_resourcevalue_t value) { argument
33 if (resource != isc_resource_openfiles)
51 isc_resource_getlimit(isc_resource_t resource, isc_resourcevalue_t *value) { argument
53 if (resource != isc_resource_openfiles)
61 isc_resource_getcurlimit(isc_resource_t resource, isc_resourcevalue_t *value) { argument
62 return (isc_resource_getlimit(resource, value));
/bind-9.11.3/lib/isc/unix/
H A Dresource.c9 /* $Id: resource.c,v 1.23 2009/02/13 23:48:14 tbox Exp $ */
14 #include <sys/time.h> /* Required on some systems for <sys/resource.h>. */
15 #include <sys/resource.h>
18 #include <isc/resource.h>
33 resource2rlim(isc_resource_t resource, int *rlim_resource) { argument
36 switch (resource) {
85 REQUIRE(resource >= isc_resource_coresize &&
86 resource <= isc_resource_stacksize);
96 isc_resource_setlimit(isc_resource_t resource, isc_resourcevalue_t value) { argument
103 result = resource2rlim(resource,
191 isc_resource_getlimit(isc_resource_t resource, isc_resourcevalue_t *value) argument
208 isc_resource_getcurlimit(isc_resource_t resource, isc_resourcevalue_t *value) argument
[all...]
H A Dsocket.c53 #include <isc/resource.h>
/bind-9.11.3/bin/named/include/named/
H A Dseccomp.h16 #include <sys/resource.h>
/bind-9.11.3/contrib/dlz/example/win32/
H A Ddxdriver.mak41 # Specifying name of temporary resource file used only in incremental builds:
/bind-9.11.3/bin/named/unix/
H A Dos.c37 #include <isc/resource.h>
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dprocess_test.c30 #include <sys/resource.h>
/bind-9.11.3/bin/named/
H A Dmain.c28 #include <isc/resource.h>
1101 * Get the initial resource limits.
H A Dserver.c38 #include <isc/resource.h>
6262 const char *resource; local
6270 resource = cfg_obj_asstring(obj);
6271 if (strcasecmp(resource, "unlimited") == 0)
6274 INSIST(strcasecmp(resource, "default") == 0);
6288 #define SETLIMIT(cfgvar, resource, description) \
6289 set_limit(maps, cfgvar, description, isc_resource_ ## resource, \
6290 ns_g_init ## resource)

Completed in 79 milliseconds