Searched defs:quota (Results 1 - 5 of 5) sorted by relevance
/bind-9.11.3/lib/isc/ |
H A D | quota.c | 9 /* $Id: quota.c,v 1.18 2007/06/19 23:47:17 tbox Exp $ */ 17 #include <isc/quota.h> 21 isc_quota_init(isc_quota_t *quota, int max) { argument 22 quota->max = max; 23 quota->used = 0; 24 quota->soft = 0; 25 return (isc_mutex_init("a->lock)); 29 isc_quota_destroy(isc_quota_t *quota) { argument 30 INSIST(quota->used == 0); 31 quota 38 isc_quota_soft(isc_quota_t *quota, int soft) argument 45 isc_quota_max(isc_quota_t *quota, int max) argument 52 isc_quota_reserve(isc_quota_t *quota) argument 68 isc_quota_release(isc_quota_t *quota) argument 76 isc_quota_attach(isc_quota_t *quota, isc_quota_t **p) argument [all...] |
H A D | mem.c | 134 size_t quota; member in struct:isc__mem 256 isc__mem_setquota(isc_mem_t *ctx, size_t quota); 525 * Did we hit the quota for this context? 528 if (ctx->quota != 0U && ctx->total + increment > ctx->quota) 597 * hit the quota for this context. 600 * XXXRTH "At quota" notification here. 653 if (ctx->quota != 0U && ctx->total + size > ctx->quota) { 928 ctx->quota 1675 isc_mem_setquota(isc_mem_t *ctx0, size_t quota) argument 1689 size_t quota; local [all...] |
/bind-9.11.3/bin/named/ |
H A D | xfrout.c | 658 isc_quota_t *quota; member in struct:__anon28 681 dns_db_t *db, dns_dbversion_t *ver, isc_quota_t *quota, 740 isc_quota_t *quota = NULL; local 769 * Apply quota. 771 result = isc_quota_attach(&ns_g_server->xfroutquota, "a); 1025 * of "stream", "db", "ver", and "quota" to the xfrout context object. 1033 zone, db, ver, quota, stream, 1045 zone, db, ver, quota, stream, 1057 quota = NULL; 1112 if (quota ! 1140 xfrout_ctx_create(isc_mem_t *mctx, ns_client_t *client, unsigned int id, dns_name_t *qname, dns_rdatatype_t qtype, dns_rdataclass_t qclass, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, isc_quota_t *quota, rrstream_t *stream, dns_tsigkey_t *tsigkey, isc_buffer_t *lasttsig, isc_boolean_t verified_tsig, unsigned int maxtime, unsigned int idletime, isc_boolean_t many_answers, xfrout_ctx_t **xfrp) argument [all...] |
H A D | server.c | 3941 result = ns_config_get(maps, "fetch-quota-params", &obj); 5766 * Configure a single server quota. 5770 isc_quota_t *quota) 5777 isc_quota_max(quota, cfg_obj_asuint32(obj)); 5769 configure_server_quota(const cfg_obj_t **maps, const char *name, isc_quota_t *quota) argument
|
/bind-9.11.3/lib/dns/ |
H A D | adb.c | 158 isc_uint32_t quota; member in struct:dns_adb 252 isc_uint32_t quota; member in struct:dns_adbentry 1839 e->quota = adb->quota; 2171 ISC_LOG_INFO, "adb: quota %s (%u/%u): %s", 2172 addrbuf, entry->active, entry->quota, msgbuf); 2195 if (entry->quota != 0 && 2196 entry->active >= entry->quota) 2235 if (entry->quota != 0 && 2236 entry->active >= entry->quota) 4775 dns_adb_setquota(dns_adb_t *adb, isc_uint32_t quota, isc_uint32_t freq, double low, double high, double discount) argument [all...] |
Completed in 61 milliseconds