/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | stats.c | 71 isc_stat_t *counters; member in struct:isc_stats 74 * We don't want to lock the counters while we are dumping, so we first 102 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters); 103 if (stats->counters == NULL) { 121 memset(stats->counters, 0, sizeof(isc_stat_t) * ncounters); 132 isc_mem_put(mctx, stats->counters, sizeof(isc_stat_t) * ncounters); 177 isc_mem_put(stats->mctx, stats->counters, 208 prev = isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].lo, 1); 218 isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].hi, 1); 221 isc_atomic_xaddq((isc_int64_t *)&stats->counters[counte [all...] |
/freebsd-9.3-release/contrib/ntp/lib/isc/ |
H A D | stats.c | 71 isc_stat_t *counters; member in struct:isc_stats 74 * We don't want to lock the counters while we are dumping, so we first 102 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters); 103 if (stats->counters == NULL) { 121 memset(stats->counters, 0, sizeof(isc_stat_t) * ncounters); 132 isc_mem_put(mctx, stats->counters, sizeof(isc_stat_t) * ncounters); 177 isc_mem_put(stats->mctx, stats->counters, 208 prev = isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].lo, 1); 218 isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].hi, 1); 221 isc_atomic_xaddq((isc_int64_t *)&stats->counters[counte [all...] |
/freebsd-9.3-release/contrib/gcc/ |
H A D | libgcov.c | 58 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)), 63 void __gcov_merge_single (gcov_type *counters __attribute__ ((unused)), 68 void __gcov_merge_delta (gcov_type *counters __attribute__ ((unused)), 606 /* The profile merging function that just adds the counters. It is given 607 an array COUNTERS of N_COUNTERS old counters and it reads the same number 608 of counters from the gcov file. */ 610 __gcov_merge_add (gcov_type *counters, unsigned n_counters) argument 612 for (; n_counters; counters++, n_counters--) 613 *counters += gcov_read_counter (); 619 It is given an array COUNTERS of N_COUNTERS old counters an 628 __gcov_merge_single(gcov_type *counters, unsigned n_counters) argument 667 __gcov_merge_delta(gcov_type *counters, unsigned n_counters) argument 702 __gcov_interval_profiler(gcov_type *counters, gcov_type value, int start, unsigned steps) argument 720 __gcov_pow2_profiler(gcov_type *counters, gcov_type value) argument 741 __gcov_one_value_profiler(gcov_type *counters, gcov_type value) argument [all...] |
H A D | value-prof.h | 47 gcov_type *counters; /* Pointer to first counter. */ member in struct:histogram_value_t::__anon1241 51 unsigned n_counters; /* Number of required counters. */
|
H A D | value-prof.c | 154 free (th->hvalue.counters); 297 val = histogram->hvalue.counters[0]; 298 count = histogram->hvalue.counters[1]; 299 all = histogram->hvalue.counters[2]; 464 wrong_values = histogram->hvalue.counters[0]; 465 count = histogram->hvalue.counters[1]; 650 all += histogram->hvalue.counters[i]; 652 wrong_values += histogram->hvalue.counters[i]; 653 wrong_values += histogram->hvalue.counters[i+1]; 665 count += histogram->hvalue.counters[ [all...] |
H A D | coverage.c | 55 unsigned n_ctrs[GCOV_COUNTERS];/* number of counters. */ 81 static unsigned prg_n_ctrs[GCOV_COUNTERS]; /* Total counters allocated. */ 84 static unsigned fn_ctr_mask; /* Mask of counters used. */ 103 generating counters at tree level. */ 106 /* The names of merge functions for counters. */ 276 error ("coverage mismatch for function %u while reading execution counters", 284 error ("coverage mismatch for function %u while reading execution counters", 286 error ("number of counters is %d instead of %d", entry->summary.num, n_counts); 292 error ("cannot merge separate %s counters for function %u", 323 /* Returns the counters fo 607 build_fn_info_type(unsigned int counters) argument 661 tree counters = build_int_cstu (get_gcov_unsigned_t (), local [all...] |
H A D | profile.c | 663 hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters); 665 hist->hvalue.counters[j] = aact_count[j];
|
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/scripts/ |
H A D | ibswportwatch.pl | 63 foreach my $cnt (@IBswcountlimits::counters) { 92 # clear the counters 93 foreach my $count (@IBswcountlimits::counters) { 103 foreach my $count (@IBswcountlimits::counters) { 110 # use perfquery to get the counters. 130 foreach my $count (@IBswcountlimits::counters) {
|
H A D | IBswcountlimits.pm | 48 # all the PerfMgt counters 49 @IBswcountlimits::counters = ( 60 # non-critical counters 114 # Data counters 158 # Rate dependent counters 194 # clear the counters 195 foreach my $count (@IBswcountlimits::counters) {
|
H A D | ibqueryerrors.pl | 99 # use perfquery to get the counters. 112 foreach my $count (@IBswcountlimits::counters) { 143 print " Report counters on all switches in subnet\n"; 145 print " -c suppress some of the common counters\n"; 152 print " -d include the data counters in the output\n";
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | stats.c | 47 * It doesn't make sense to have 2^16 counters for all possible types since 48 * most of them won't be used. We have counters for the first 256 types and 70 isc_stats_t *counters; member in struct:dns_stats 112 isc_stats_detach(&stats->counters); 132 stats->counters = NULL; 139 result = isc_stats_create(mctx, &stats->counters, ncounters); 196 isc_stats_increment(stats->counters, counter); 212 isc_stats_increment(stats->counters, (isc_statscounter_t)counter); 240 isc_stats_increment(stats->counters, counter); 242 isc_stats_decrement(stats->counters, counte [all...] |
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/ |
H A D | en_port.c | 179 static int read_iboe_counters(struct mlx4_dev *dev, int index, u64 counters[]) argument 200 counters[0] = be64_to_cpu(reg->rx_frames); 201 counters[1] = be64_to_cpu(reg->tx_frames); 202 counters[2] = be64_to_cpu(reg->rx_bytes); 203 counters[3] = be64_to_cpu(reg->tx_bytes); 207 counters[0] = be64_to_cpu(ext->rx_uni_frames); 208 counters[1] = be64_to_cpu(ext->tx_uni_frames); 209 counters[2] = be64_to_cpu(ext->rx_uni_bytes); 210 counters[3] = be64_to_cpu(ext->tx_uni_bytes); 233 u64 counters[ local [all...] |
/freebsd-9.3-release/sys/mips/rmi/ |
H A D | fmn.c | 153 MSGRNG_CC_INIT_CPU_DEST(0, cc_config->counters); 154 MSGRNG_CC_INIT_CPU_DEST(1, cc_config->counters); 155 MSGRNG_CC_INIT_CPU_DEST(2, cc_config->counters); 156 MSGRNG_CC_INIT_CPU_DEST(3, cc_config->counters); 157 MSGRNG_CC_INIT_CPU_DEST(4, cc_config->counters); 158 MSGRNG_CC_INIT_CPU_DEST(5, cc_config->counters); 159 MSGRNG_CC_INIT_CPU_DEST(6, cc_config->counters); 160 MSGRNG_CC_INIT_CPU_DEST(7, cc_config->counters); 161 MSGRNG_CC_INIT_CPU_DEST(8, cc_config->counters); 162 MSGRNG_CC_INIT_CPU_DEST(9, cc_config->counters); [all...] |
H A D | msgring.h | 327 unsigned short counters[16][8]; member in struct:stn_cc
|
/freebsd-9.3-release/contrib/wpa/src/radius/ |
H A D | radius_server.c | 45 * struct radius_server_counters - RADIUS server statistics counters 95 struct radius_server_counters counters; member in struct:radius_client 244 * counters - Statistics counters for server operations 246 * These counters are the sum over all clients. 248 struct radius_server_counters counters; member in struct:radius_server_data 646 data->counters.access_rejects++; 647 client->counters.access_rejects++; 713 data->counters.dup_access_requests++; 714 client->counters [all...] |
/freebsd-9.3-release/contrib/xz/src/liblzma/lzma/ |
H A D | lzma_encoder_private.h | 49 uint32_t counters[POS_STATES_MAX]; member in struct:__anon4525
|
H A D | lzma_encoder.c | 81 lc->counters[pos_state] = table_size; 133 if (--lc->counters[pos_state] == 0)
|
/freebsd-9.3-release/sys/dev/drm/ |
H A D | drm_ioctl.c | 217 for (i = 0; i < dev->counters; i++) { 226 stats->count = dev->counters;
|
/freebsd-9.3-release/sys/dev/drm2/ |
H A D | drm_ioctl.c | 218 for (i = 0; i < dev->counters; i++) { 227 stats->count = dev->counters;
|
/freebsd-9.3-release/sys/dev/bxe/ |
H A D | bxe_stats.c | 931 struct stats_counter *counters = &sc->fw_stats_data->storm_counters; local 943 if (le16toh(counters->xstats_counter) != cur_stats_counter) { 947 le16toh(counters->xstats_counter), sc->stats_counter); 951 if (le16toh(counters->ustats_counter) != cur_stats_counter) { 955 le16toh(counters->ustats_counter), sc->stats_counter); 959 if (le16toh(counters->cstats_counter) != cur_stats_counter) { 963 le16toh(counters->cstats_counter), sc->stats_counter); 967 if (le16toh(counters->tstats_counter) != cur_stats_counter) { 971 le16toh(counters->tstats_counter), sc->stats_counter); 1509 * The storm_counters struct contains the counters o [all...] |
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_pf/ |
H A D | pf_snmp.c | 204 val->v.counter64 = pfs.counters[PFRES_MATCH]; 207 val->v.counter64 = pfs.counters[PFRES_BADOFF]; 210 val->v.counter64 = pfs.counters[PFRES_FRAG]; 213 val->v.counter64 = pfs.counters[PFRES_SHORT]; 216 val->v.counter64 = pfs.counters[PFRES_NORM]; 219 val->v.counter64 = pfs.counters[PFRES_MEMORY];
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 1411 err = mlx4_counter_alloc(ibdev->dev, &ibdev->counters[k]); 1413 ibdev->counters[k] = -1; 1415 mlx4_set_iboe_counter(dev, ibdev->counters[k], k + 1); 1456 mlx4_counter_free(ibdev->dev, ibdev->counters[k - 1]); 1484 mlx4_counter_free(ibdev->dev, ibdev->counters[k]);
|
H A D | mad.c | 341 u32 inmod = dev->counters[port_num - 1] & 0xffff;
|
H A D | mlx4_ib.h | 234 int counters[MLX4_MAX_PORTS]; member in struct:mlx4_ib_dev
|
/freebsd-9.3-release/sys/mips/rmi/dev/xlr/ |
H A D | rge.c | 1188 counters[i >> 3][i & 0x07]); 1205 counters[i >> 3][i & 0x07]); 1352 gmac_cc_config->counters[i >> 3][i & 0x07]); 1354 R_CC_CPU0_0 + i, gmac_cc_config->counters[i >> 3][i & 0x07]);
|