Searched defs:stats (Results 1 - 19 of 19) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/pthreads/include/isc/
H A Dmutex.h62 isc_mutexstats_t * stats; /*%< Mutex statistics. */ member in struct:__anon186
/bind-9.6-ESV-R11/bin/tests/
H A Dlex_test.c80 int stats = 0; local
96 stats = 1;
155 if (!quiet && stats)
H A Dzone_test.c51 static int stats = 0; variable
276 stats++;
311 if (!quiet && stats)
H A Drdata_test.c889 int stats = 0; local
928 stats = 1;
1169 if (!quiet && stats)
1207 if (!quiet && stats)
/bind-9.6-ESV-R11/lib/isc/pthreads/
H A Dmutex.c83 static isc_mutexstats_t stats[ISC_MUTEX_PROFTABLESIZE]; variable
113 mp->stats = &stats[stats_next++];
117 mp->stats->file = file;
118 mp->stats->line = line;
119 mp->stats->count = 0;
120 timevalclear(&mp->stats->locked_total);
121 timevalclear(&mp->stats->wait_total);
123 mp->stats->lockers[i].file = NULL;
124 mp->stats
[all...]
/bind-9.6-ESV-R11/lib/isc/
H A Dstats.c32 #include <isc/stats.h>
77 * of the stats structure so that the dump operation won't fail due
89 isc_stats_t *stats; local
94 stats = isc_mem_get(mctx, sizeof(*stats));
95 if (stats == NULL)
98 result = isc_mutex_init(&stats->lock);
102 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters);
103 if (stats->counters == NULL) {
107 stats
150 isc_stats_attach(isc_stats_t *stats, isc_stats_t **statsp) argument
163 isc_stats_t *stats; local
188 isc_stats_ncounters(isc_stats_t *stats) argument
195 incrementcounter(isc_stats_t *stats, int counter) argument
233 decrementcounter(isc_stats_t *stats, int counter) argument
259 copy_counters(isc_stats_t *stats) argument
295 isc_stats_increment(isc_stats_t *stats, isc_statscounter_t counter) argument
303 isc_stats_decrement(isc_stats_t *stats, isc_statscounter_t counter) argument
311 isc_stats_dump(isc_stats_t *stats, isc_stats_dumper_t dump_fn, void *arg, unsigned int options) argument
[all...]
H A Dmem.c97 struct stats { struct
133 struct stats * stats; member in struct:isc_mem
191 char name[16]; /*%< printed name in stats reports */
448 ctx->stats[new_size].blocks++;
449 ctx->stats[new_size].freefrags += frags;
470 ctx->stats[total_size].freefrags++;
502 ctx->stats[ctx->max_size].gets++;
503 ctx->stats[ctx->max_size].totalgets++;
528 * The stats[] use
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dfile.c83 file_stats(const char *file, struct stat *stats) { argument
87 REQUIRE(stats != NULL);
89 if (stat(file, stats) != 0)
98 struct stat stats; local
103 result = file_stats(file, &stats);
110 isc_time_set(time, stats.st_mtime, 0);
335 struct stat stats; local
339 return (ISC_TF(file_stats(pathname, &stats) == ISC_R_SUCCESS));
H A Dsocket.c53 #include <isc/stats.h>
348 isc_stats_t *stats; member in struct:isc_socketmgr
628 inc_stats(isc_stats_t *stats, isc_statscounter_t counterid) { argument
631 if (stats != NULL)
632 isc_stats_increment(stats, counterid);
1511 inc_stats(sock->manager->stats, \
1520 inc_stats(sock->manager->stats, \
1549 inc_stats(sock->manager->stats,
1690 inc_stats(sock->manager->stats, \
1699 inc_stats(sock->manager->stats, \
4062 isc_socketmgr_setstats(isc_socketmgr_t *manager, isc_stats_t *stats) argument
[all...]
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dfile.c127 file_stats(const char *file, struct stat *stats) { argument
131 REQUIRE(stats != NULL);
133 if (stat(file, stats) != 0)
395 struct stat stats; local
399 return (ISC_TF(file_stats(pathname, &stats) == ISC_R_SUCCESS));
H A Dsocket.c68 #include <isc/stats.h>
322 isc_stats_t *stats; member in struct:isc_socketmgr
2587 manager->stats = NULL;
2626 isc_socketmgr_setstats(isc_socketmgr_t *manager, isc_stats_t *stats) { argument
2629 REQUIRE(manager->stats == NULL);
2630 REQUIRE(isc_stats_ncounters(stats) == isc_sockstatscounter_max);
2632 isc_stats_attach(stats, &manager->stats);
2691 if (manager->stats != NULL)
2692 isc_stats_detach(&manager->stats);
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Dstats.c26 #include <isc/stats.h>
31 #include <dns/stats.h>
87 dns_stats_attach(dns_stats_t *stats, dns_stats_t **statsp) { argument
88 REQUIRE(DNS_STATS_VALID(stats));
91 LOCK(&stats->lock);
92 stats->references++;
93 UNLOCK(&stats->lock);
95 *statsp = stats;
100 dns_stats_t *stats; local
104 stats
125 dns_stats_t *stats; local
193 dns_generalstats_increment(dns_stats_t *stats, isc_statscounter_t counter) argument
200 dns_rdatatypestats_increment(dns_stats_t *stats, dns_rdatatype_t type) argument
216 update_rdatasetstats(dns_stats_t *stats, dns_rdatastatstype_t rrsettype, isc_boolean_t increment) argument
246 dns_rdatasetstats_increment(dns_stats_t *stats, dns_rdatastatstype_t rrsettype) argument
255 dns_rdatasetstats_decrement(dns_stats_t *stats, dns_rdatastatstype_t rrsettype) argument
263 dns_opcodestats_increment(dns_stats_t *stats, dns_opcode_t code) argument
273 dns_generalstats_dump(dns_stats_t *stats, dns_generalstats_dumper_t dump_fn, void *arg, unsigned int options) argument
310 dns_rdatatypestats_dump(dns_stats_t *stats, dns_rdatatypestats_dumper_t dump_fn, void *arg0, unsigned int options) argument
339 dns_rdatasetstats_dump(dns_stats_t *stats, dns_rdatatypestats_dumper_t dump_fn, void *arg0, unsigned int options) argument
360 dns_opcodestats_dump(dns_stats_t *stats, dns_opcodestats_dumper_t dump_fn, void *arg0, unsigned int options) argument
[all...]
H A Dacache.c204 dns_acachestats_t stats; member in struct:dns_acache
266 * acache should be locked. If it is not, the stats can get out of whack,
267 * which is not a big deal for us since this is for debugging / stats
271 acache->stats.hits = 0;
272 acache->stats.queries = 0;
273 acache->stats.misses = 0;
274 acache->stats.adds = 0;
275 acache->stats.deleted = 0;
276 acache->stats.cleaned = 0;
277 acache->stats
[all...]
H A Dview.c25 #include <isc/stats.h>
47 #include <dns/stats.h>
1478 dns_view_setresstats(dns_view_t *view, isc_stats_t *stats) { argument
1484 isc_stats_attach(stats, &view->resstats);
1497 dns_view_setresquerystats(dns_view_t *view, dns_stats_t *stats) { argument
1502 dns_stats_attach(stats, &view->resquerystats);
H A Ddispatch.c35 #include <isc/stats.h>
47 #include <dns/stats.h>
84 isc_stats_t *stats; member in struct:dns_dispatchmgr
359 if (mgr->stats != NULL)
360 isc_stats_increment(mgr->stats, counter);
1729 if (mgr->stats != NULL)
1730 isc_stats_detach(&mgr->stats);
1822 mgr->stats = NULL;
2143 dns_dispatchmgr_setstats(dns_dispatchmgr_t *mgr, isc_stats_t *stats) { argument
2146 REQUIRE(mgr->stats
[all...]
H A Dzone.c35 #include <isc/stats.h>
72 #include <dns/stats.h>
279 isc_stats_t *stats; member in struct:dns_zone
675 if (zone->stats != NULL)
676 isc_stats_increment(zone->stats, counter);
799 zone->stats = NULL;
897 if (zone->stats != NULL)
898 isc_stats_detach(&zone->stats);
11577 dns_zone_setstats(dns_zone_t *zone, isc_stats_t *stats) { argument
11579 REQUIRE(zone->stats
11588 dns_zone_setrequeststats(dns_zone_t *zone, isc_stats_t *stats) argument
[all...]
/bind-9.6-ESV-R11/bin/dig/
H A Dnslookup.c50 identify = ISC_FALSE, stats = ISC_TRUE, variable
726 lookup->stats = stats;
/bind-9.6-ESV-R11/bin/dig/include/dig/
H A Ddig.h122 stats, member in struct:dig_lookup
/bind-9.6-ESV-R11/bin/named/
H A Dstatschannel.c29 #include <isc/stats.h>
37 #include <dns/stats.h>
479 dump_counters(isc_stats_t *stats, statsformat_t type, void *arg, argument
502 isc_stats_dump(stats, generalstat_dump, &dumparg, options);

Completed in 91 milliseconds