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

/bind-9.11.3/bin/tests/atomic/
H A Dt_atomic.c58 counter_t counters[TASKS]; variable
92 memset(counters, 0, sizeof(counters));
96 * Create our tasks, and allocate an event to get the counters going.
102 &counters[i], sizeof(struct isc_event));
150 memset(counters, 0, sizeof(counters));
154 * Create our tasks, and allocate an event to get the counters going.
160 &counters[i], sizeof(struct isc_event));
216 memset(counters,
[all...]
/bind-9.11.3/lib/isc/
H A Dstats.c50 * Only lock the counters if 64-bit atomic operations are
115 isc_stat_t *counters; member in struct:isc_stats
118 * We don't want to lock the counters while we are dumping, so we first
146 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters);
147 if (stats->counters == NULL) {
165 memset(stats->counters, 0, sizeof(isc_stat_t) * ncounters);
176 isc_mem_put(mctx, stats->counters, sizeof(isc_stat_t) * ncounters);
220 isc_mem_put(stats->mctx, stats->counters,
256 prev = atomic_fetch_add_explicit(&stats->counters[counter].lo, 1,
259 prev = isc_atomic_xadd((isc_int32_t *)&stats->counters[counte
[all...]
/bind-9.11.3/lib/dns/
H A Dstats.c39 * It doesn't make sense to have 2^16 counters for all possible types since
40 * most of them won't be used. We have counters for the first 256 types and
56 /* stale counters offset */
67 isc_stats_t *counters; member in struct:dns_stats
114 isc_stats_detach(&stats->counters);
134 stats->counters = NULL;
141 result = isc_stats_create(mctx, &stats->counters, ncounters);
206 isc_stats_increment(stats->counters, counter);
222 isc_stats_increment(stats->counters, (isc_statscounter_t)counter);
252 isc_stats_decrement(stats->counters, counte
[all...]
/bind-9.11.3/bin/named/
H A Dstatschannel.c157 * Mapping arrays to represent statistics counters in the order of our
1453 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counters"));
1463 /* counters type="rcode"*/
1468 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counters"));
1478 /* counters type="qtype"*/
1556 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counters"));
1567 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counters"));
1578 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counters"));
1587 TRY0(xmlTextWriterEndElement(writer)); /* counters */
1589 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counters"));
2196 json_object *counters = json_object_new_object(); local
2219 json_object *counters = json_object_new_object(); local
2254 json_object *bindstats, *viewlist, *counters, *obj; local
[all...]

Completed in 20 milliseconds