Searched refs:quota (Results 1 - 8 of 8) 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/lib/isc/include/isc/
H A Dquota.h18 /* $Id: quota.h,v 1.16 2007/06/19 23:47:18 tbox Exp $ */
27 /*! \file isc/quota.h
31 * a server. It keeps track of the amount of quota in use, and
33 * share a quota.
59 isc_quota_init(isc_quota_t *quota, int max);
61 * Initialize a quota object.
69 isc_quota_destroy(isc_quota_t *quota);
71 * Destroy a quota object.
75 isc_quota_soft(isc_quota_t *quota, int soft);
77 * Set a soft quota
[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
/bind-9.6-ESV-R11/bin/named/include/named/
H A Dclient.h68 #include <isc/quota.h>
H A Dserver.h27 #include <isc/quota.h>
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dlibisc.mak163 -@erase "$(INTDIR)\quota.obj"
267 "$(INTDIR)\quota.obj" \
401 -@erase "$(INTDIR)\quota.obj"
402 -@erase "$(INTDIR)\quota.sbr"
533 "$(INTDIR)\quota.sbr" \
620 "$(INTDIR)\quota.obj" \
1668 SOURCE=..\quota.c
1673 "$(INTDIR)\quota.obj" : $(SOURCE) "$(INTDIR)"
1680 "$(INTDIR)\quota.obj" "$(INTDIR)\quota
[all...]

Completed in 41 milliseconds