Searched defs:quota (Results 1 - 4 of 4) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/
H A Dquota.c18 /* $Id: quota.c,v 1.18 2007/06/19 23:47:17 tbox Exp $ */
26 #include <isc/quota.h>
30 isc_quota_init(isc_quota_t *quota, int max) { argument
31 quota->max = max;
32 quota->used = 0;
33 quota->soft = 0;
34 return (isc_mutex_init(&quota->lock));
38 isc_quota_destroy(isc_quota_t *quota) { argument
39 INSIST(quota->used == 0);
40 quota
47 isc_quota_soft(isc_quota_t *quota, int soft) argument
54 isc_quota_max(isc_quota_t *quota, int max) argument
61 isc_quota_reserve(isc_quota_t *quota) argument
77 isc_quota_release(isc_quota_t *quota) argument
85 isc_quota_attach(isc_quota_t *quota, isc_quota_t **p) argument
[all...]
H A Dmem.c137 size_t quota; member in struct:isc_mem
363 * Did we hit the quota for this context?
366 if (ctx->quota != 0U && ctx->total + increment > ctx->quota)
435 * hit the quota for this context.
438 * XXXRTH "At quota" notification here.
491 if (ctx->quota != 0U && ctx->total + size > ctx->quota) {
763 ctx->quota = 0;
1518 isc_mem_setquota(isc_mem_t *ctx, size_t quota) { argument
1529 size_t quota; local
[all...]
/bind-9.6-ESV-R11/bin/named/
H A Dxfrout.c841 isc_quota_t *quota; member in struct:__anon19
863 dns_db_t *db, dns_dbversion_t *ver, isc_quota_t *quota,
921 isc_quota_t *quota = NULL; local
950 * Apply quota.
952 result = isc_quota_attach(&ns_g_server->xfroutquota, &quota);
1224 * of "stream", "db", "ver", and "quota" to the xfrout context object.
1233 zone, db, ver, quota, stream,
1245 zone, db, ver, quota, stream,
1256 quota = NULL;
1286 if (quota !
1314 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, unsigned int maxtime, unsigned int idletime, isc_boolean_t many_answers, xfrout_ctx_t **xfrp) argument
[all...]
H A Dserver.c2862 * Configure a single server quota.
2866 isc_quota_t *quota)
2873 isc_quota_max(quota, cfg_obj_asuint32(obj));
2865 configure_server_quota(const cfg_obj_t **maps, const char *name, isc_quota_t *quota) argument

Completed in 33 milliseconds