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

/bind-9.6-ESV-R11/lib/isc/
H A Dstats.c59 int ncounters; member in struct:isc_stats
88 create_stats(isc_mem_t *mctx, int ncounters, isc_stats_t **statsp) { argument
102 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters);
108 sizeof(isc_uint64_t) * ncounters);
121 memset(stats->counters, 0, sizeof(isc_stat_t) * ncounters);
124 stats->ncounters = ncounters;
132 isc_mem_put(mctx, stats->counters, sizeof(isc_stat_t) * ncounters);
137 sizeof(isc_stat_t) * ncounters);
176 sizeof(isc_stat_t) * stats->ncounters);
288 isc_stats_create(isc_mem_t *mctx, isc_stats_t **statsp, int ncounters) argument
[all...]
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dstats.h39 isc_stats_create(isc_mem_t *mctx, isc_stats_t **statsp, int ncounters);
42 * set of counters indexed by an ID between 0 and ncounters -1.
/bind-9.6-ESV-R11/lib/dns/
H A Dstats.c122 create_stats(isc_mem_t *mctx, dns_statstype_t type, int ncounters, argument
139 result = isc_stats_create(mctx, &stats->counters, ncounters);
160 dns_generalstats_create(isc_mem_t *mctx, dns_stats_t **statsp, int ncounters) { argument
163 return (create_stats(mctx, dns_statstype_general, ncounters, statsp));
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dstats.h163 dns_generalstats_create(isc_mem_t *mctx, dns_stats_t **statsp, int ncounters);
166 * set of counters indexed by an ID between 0 and ncounters -1.
/bind-9.6-ESV-R11/bin/named/
H A Dstatschannel.c70 int ncounters; /* used for general statistics */ member in struct:stats_dumparg
474 REQUIRE(counter < dumparg->ncounters);
480 const char *category, const char **desc, int ncounters,
497 dumparg.ncounters = ncounters;
501 memset(values, 0, sizeof(values[0]) * ncounters);
504 for (i = 0; i < ncounters; i++) {
479 dump_counters(isc_stats_t *stats, statsformat_t type, void *arg, const char *category, const char **desc, int ncounters, int *indices, isc_uint64_t *values, int options) argument

Completed in 16 milliseconds