Searched refs:ncounters (Results 1 - 6 of 6) sorted by relevance

/bind-9.11.3/lib/isc/
H A Dstats.c103 int ncounters; member in struct:isc_stats
132 create_stats(isc_mem_t *mctx, int ncounters, isc_stats_t **statsp) { argument
146 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters);
152 sizeof(isc_uint64_t) * ncounters);
165 memset(stats->counters, 0, sizeof(isc_stat_t) * ncounters);
168 stats->ncounters = ncounters;
176 isc_mem_put(mctx, stats->counters, sizeof(isc_stat_t) * ncounters);
181 sizeof(isc_stat_t) * ncounters);
219 sizeof(isc_stat_t) * stats->ncounters);
375 isc_stats_create(isc_mem_t *mctx, isc_stats_t **statsp, int ncounters) argument
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dstats.h31 isc_stats_create(isc_mem_t *mctx, isc_stats_t **statsp, int ncounters);
34 * set of counters indexed by an ID between 0 and ncounters -1.
/bind-9.11.3/lib/dns/
H A Dstats.c124 create_stats(isc_mem_t *mctx, dns_statstype_t type, int ncounters, argument
141 result = isc_stats_create(mctx, &stats->counters, ncounters);
162 dns_generalstats_create(isc_mem_t *mctx, dns_stats_t **statsp, int ncounters) { argument
165 return (create_stats(mctx, dns_statstype_general, ncounters, statsp));
H A Dcache.c1350 int ncounters; /* for general statistics */ member in struct:cache_dumparg
1360 REQUIRE(counter < dumparg->ncounters);
1365 getcounters(isc_stats_t *stats, isc_statsformat_t type, int ncounters, argument
1370 memset(values, 0, sizeof(values[0]) * ncounters);
1373 dumparg.ncounters = ncounters;
/bind-9.11.3/lib/dns/include/dns/
H A Dstats.h206 dns_generalstats_create(isc_mem_t *mctx, dns_stats_t **statsp, int ncounters);
209 * set of counters indexed by an ID between 0 and ncounters -1.
/bind-9.11.3/bin/named/
H A Dstatschannel.c63 int ncounters; /* for general statistics */ member in struct:stats_dumparg
1003 REQUIRE(counter < dumparg->ncounters);
1009 const char *category, const char **desc, int ncounters,
1029 dumparg.ncounters = ncounters;
1033 memset(values, 0, sizeof(values[0]) * ncounters);
1038 if (ncounters > 0 && type == isc_statsformat_json) {
1048 for (i = 0; i < ncounters; i++) {
1008 dump_counters(isc_stats_t *stats, isc_statsformat_t type, void *arg, const char *category, const char **desc, int ncounters, int *indices, isc_uint64_t *values, int options) argument

Completed in 507 milliseconds