| /freebsd-14.2/tools/tools/crypto/ |
| H A D | safestats.c | 49 stats.st_ibytes, stats.st_ipackets); in main() 51 stats.st_obytes, stats.st_opackets); in main() 53 stats.st_invalid, stats.st_badsession, stats.st_badflags); in main() 55 stats.st_nodesc, stats.st_badalg, stats.st_ringfull); in main() 57 stats.st_peoperr, stats.st_dmaerr, stats.st_bypasstoobig); in main() 59 stats.st_skipmismatch, stats.st_lenmismatch, in main() 60 stats.st_coffmisaligned, stats.st_cofftoobig); in main() 62 stats.st_iovmisaligned, stats.st_iovnotuniform, in main() 65 stats.st_unaligned, stats.st_notuniform, stats.st_nomap, in main() 68 stats.st_nomcl, stats.st_nombuf, stats.st_maxqchip); in main() [all …]
|
| H A D | cryptostats.c | 61 struct cryptostats stats; in main() local 64 slen = sizeof (stats); in main() 69 bzero(&stats.cs_invoke, sizeof (stats.cs_invoke)); in main() 70 bzero(&stats.cs_done, sizeof (stats.cs_done)); in main() 71 bzero(&stats.cs_cb, sizeof (stats.cs_cb)); in main() 72 bzero(&stats.cs_finis, sizeof (stats.cs_finis)); in main() 77 if (sysctlbyname("kern.crypto_stats", NULL, NULL, &stats, sizeof (stats)) < 0) in main() 82 bzero(&stats, sizeof (stats)); in main() 87 if (sysctlbyname("kern.crypto_stats", NULL, NULL, &stats, sizeof (stats)) < 0) in main() 94 , stats.cs_ops, stats.cs_errs, stats.cs_blocks); in main() [all …]
|
| H A D | hifnstats.c | 41 struct hifn_stats stats; in main() local 44 slen = sizeof (stats); in main() 45 if (sysctlbyname("hw.hifn.stats", &stats, &slen, NULL, 0) < 0) in main() 49 stats.hst_ibytes, stats.hst_ipackets); in main() 51 stats.hst_obytes, stats.hst_opackets); in main() 53 stats.hst_invalid, stats.hst_nomem, stats.hst_abort); in main() 55 stats.hst_noirq, stats.hst_unaligned); in main() 57 stats.hst_totbatch, stats.hst_maxbatch); in main() 59 stats.hst_nomem_map, stats.hst_nomem_load, in main() 60 stats.hst_nomem_mbuf, stats.hst_nomem_mcl, in main() [all …]
|
| /freebsd-14.2/sys/dev/bnxt/bnxt_re/ |
| H A D | stats.c | 137 cnps = &rdev->stats.cnps; in bnxt_re_get_qos_stats() 575 stats = &rdev->stats.dstat.rstat[0]; in bnxt_re_print_normal_counters() 591 rstats->value[BNXT_RE_RX_ROCE_ERROR_PKTS] = stats ? stats->rx_error_pkts : 0; in bnxt_re_print_normal_counters() 630 if (!port || !stats) in bnxt_re_get_hw_stats() 671 stats->value[BNXT_RE_ACTIVE_QP] = atomic_read(&rdev->stats.rsors.qp_count); in bnxt_re_get_hw_stats() 674 stats->value[BNXT_RE_ACTIVE_SRQ] = atomic_read(&rdev->stats.rsors.srq_count); in bnxt_re_get_hw_stats() 675 stats->value[BNXT_RE_ACTIVE_CQ] = atomic_read(&rdev->stats.rsors.cq_count); in bnxt_re_get_hw_stats() 676 stats->value[BNXT_RE_ACTIVE_MR] = atomic_read(&rdev->stats.rsors.mr_count); in bnxt_re_get_hw_stats() 677 stats->value[BNXT_RE_ACTIVE_MW] = atomic_read(&rdev->stats.rsors.mw_count); in bnxt_re_get_hw_stats() 678 stats->value[BNXT_RE_ACTIVE_AH] = atomic_read(&rdev->stats.rsors.ah_count); in bnxt_re_get_hw_stats() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_stats.cpp | 82 stats->Clear(); in GetAccumulatedStats() 104 stats->Clear(); in FlushToDeadThreadStats() 108 AsanStats stats; in FillMallocStatistics() local 109 GetAccumulatedStats(&stats); in FillMallocStatistics() 122 AsanStats stats; in PrintAccumulatedStats() local 126 stats.Print(); in PrintAccumulatedStats() 139 AsanStats stats; in __sanitizer_get_current_allocated_bytes() local 142 uptr freed = stats.freed; in __sanitizer_get_current_allocated_bytes() 149 AsanStats stats; in __sanitizer_get_heap_size() local 151 return stats.mmaped - stats.munmaped; in __sanitizer_get_heap_size() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_stats.cpp | 82 stats->Clear(); in GetAccumulatedStats() 104 stats->Clear(); in FlushToDeadThreadStats() 113 MemprofStats stats; in PrintAccumulatedStats() local 114 GetAccumulatedStats(&stats); in PrintAccumulatedStats() 117 stats.Print(); in PrintAccumulatedStats() 130 MemprofStats stats; in __sanitizer_get_current_allocated_bytes() local 133 uptr freed = stats.freed; in __sanitizer_get_current_allocated_bytes() 140 MemprofStats stats; in __sanitizer_get_heap_size() local 142 return stats.mmaped - stats.munmaped; in __sanitizer_get_heap_size() 146 MemprofStats stats; in __sanitizer_get_free_bytes() local [all …]
|
| /freebsd-14.2/contrib/sendmail/mailstats/ |
| H A D | mailstats.c | 67 struct statistics stats; variable 224 if ((fd < 0) || (i = read(fd, &stats, sizeof stats)) < 0) 235 if ((i = read(fd, &stats, sizeof stats)) < 0) 246 memset((ARBPTR_T) &stats, '\0', sizeof stats); 268 else if (i != sizeof stats || stats.stat_size != sizeof(stats)) 296 if (stats.stat_nf[i] || stats.stat_nt[i] || 298 stats.stat_nr[i] || stats.stat_nd[i]) 341 stats.stat_cf, stats.stat_ct, 342 stats.stat_cr); 366 stats.stat_cf, "", stats.stat_ct, "", [all …]
|
| /freebsd-14.2/contrib/ntp/libntp/lib/isc/pthreads/ |
| H A D | mutex.c | 122 mp->stats = &stats[stats_next++]; in isc_mutex_init_profile() 126 mp->stats->file = file; in isc_mutex_init_profile() 127 mp->stats->line = line; in isc_mutex_init_profile() 128 mp->stats->count = 0; in isc_mutex_init_profile() 155 mp->stats->lock_t = postlock_t; in isc_mutex_lock_profile() 159 mp->stats->count++; in isc_mutex_lock_profile() 180 mp->stats->cur_locker = locker; in isc_mutex_lock_profile() 197 mp->stats->cur_locker = NULL; in isc_mutex_unlock_profile() 213 stats[i].file, stats[i].line, stats[i].count, in isc_mutex_statsprofile() 216 stats[i].wait_total.tv_sec, in isc_mutex_statsprofile() [all …]
|
| /freebsd-14.2/contrib/sendmail/src/ |
| H A D | stats.c | 138 struct statistics stats; local 165 if (read(fd, (char *) &stats, sizeof(stats)) == sizeof(stats) && 166 stats.stat_size == sizeof(stats) && 175 stats.stat_nf[i] += Stat.stat_nf[i]; 176 stats.stat_bf[i] += Stat.stat_bf[i]; 177 stats.stat_nt[i] += Stat.stat_nt[i]; 183 stats.stat_cr += Stat.stat_cr; 184 stats.stat_ct += Stat.stat_ct; 185 stats.stat_cf += Stat.stat_cf; 188 memmove((char *) &stats, (char *) &Stat, sizeof(stats)); [all …]
|
| /freebsd-14.2/sys/dev/cxgbe/iw_cxgbe/ |
| H A D | resource.c | 152 mutex_lock(&rdev->stats.lock); in c4iw_get_cqid() 153 if (rdev->stats.qid.cur > rdev->stats.qid.max) in c4iw_get_cqid() 154 rdev->stats.qid.max = rdev->stats.qid.cur; in c4iw_get_cqid() 223 if (rdev->stats.qid.cur > rdev->stats.qid.max) in c4iw_get_qpid() 224 rdev->stats.qid.max = rdev->stats.qid.cur; in c4iw_get_qpid() 266 if (rdev->stats.pbl.cur > rdev->stats.pbl.max) in c4iw_pblpool_alloc() 267 rdev->stats.pbl.max = rdev->stats.pbl.cur; in c4iw_pblpool_alloc() 269 rdev->stats.pbl.fail++; in c4iw_pblpool_alloc() 320 if (rdev->stats.rqt.cur > rdev->stats.rqt.max) in c4iw_rqtpool_alloc() 321 rdev->stats.rqt.max = rdev->stats.rqt.cur; in c4iw_rqtpool_alloc() [all …]
|
| /freebsd-14.2/sys/contrib/rdma/krping/ |
| H A D | krping_dev.c | 117 if (stats != NULL) { in krping_copy_stats() 118 s->stats = malloc(sizeof(*stats), M_DEVBUF, M_NOWAIT | M_ZERO); in krping_copy_stats() 119 if (s->stats == NULL) { in krping_copy_stats() 123 *s->stats = *stats; in krping_copy_stats() 148 if (e->stats == NULL) in krping_read() 151 struct krping_stats *stats = e->stats; in krping_read() local 155 stats->send_bytes, stats->send_msgs, in krping_read() 156 stats->recv_bytes, stats->recv_msgs, in krping_read() 157 stats->write_bytes, stats->write_msgs, in krping_read() 158 stats->read_bytes, stats->read_msgs); in krping_read() [all …]
|
| /freebsd-14.2/sys/netgraph/ |
| H A D | ng_tee.c | 67 struct ng_tee_hookstat stats; member 197 bzero(&hinfo->stats, sizeof(hinfo->stats)); in ng_tee_newhook() 231 bcopy(&sc->right.stats, &stats->right, in ng_tee_rcvmsg() 233 bcopy(&sc->left.stats, &stats->left, in ng_tee_rcvmsg() 235 bcopy(&sc->right2left.stats, &stats->right2left, in ng_tee_rcvmsg() 237 bcopy(&sc->left2right.stats, &stats->left2right, in ng_tee_rcvmsg() 241 bzero(&sc->right.stats, in ng_tee_rcvmsg() 243 bzero(&sc->left.stats, in ng_tee_rcvmsg() 299 hinfo->stats.inFrames++; in ng_tee_rcvdata() 313 h->stats.outFrames++; in ng_tee_rcvdata() [all …]
|
| /freebsd-14.2/cddl/contrib/opensolaris/tools/ctf/dump/ |
| H A D | dump.c | 93 } stats; variable 394 stats.s_argmax = MAX(stats.s_argmax, n); in read_funcs() 577 stats.s_smmax = MAX(stats.s_smmax, n); in read_types() 579 stats.s_sbmax = MAX(stats.s_sbmax, size); in read_types() 585 stats.s_ummax = MAX(stats.s_ummax, n); in read_types() 587 stats.s_ubmax = MAX(stats.s_ubmax, size); in read_types() 662 stats.s_emmax = MAX(stats.s_emmax, n); in read_types() 747 stats.s_strmax = MAX(stats.s_strmax, n); in read_strtab() 779 (float)stats.s_nargs / (float)stats.s_nfunc); in print_stats() 838 (float)stats.s_nemem / (float)stats.s_types[CTF_K_ENUM]); in print_stats() [all …]
|
| /freebsd-14.2/contrib/unbound/daemon/ |
| H A D | stats.c | 92 memset(stats, 0, sizeof(*stats)); in server_stats_init() 128 (stats->num_queries_missed_cache+stats->num_queries_prefetch)? in server_stats_log() 544 stats->qtcp++; in server_stats_insquery() 546 stats->qtls++; in server_stats_insquery() 555 stats->qquic++; in server_stats_insquery() 560 stats->qipv6++; in server_stats_insquery() 562 stats->qbit_QR++; in server_stats_insquery() 564 stats->qbit_AA++; in server_stats_insquery() 566 stats->qbit_TC++; in server_stats_insquery() 572 stats->qbit_Z++; in server_stats_insquery() [all …]
|
| /freebsd-14.2/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_stats.h | 149 static inline uint32_t osm_stats_inc_qp0_outstanding(osm_stats_t *stats) in osm_stats_inc_qp0_outstanding() argument 154 pthread_mutex_lock(&stats->mutex); in osm_stats_inc_qp0_outstanding() 155 outstanding = ++stats->qp0_mads_outstanding; in osm_stats_inc_qp0_outstanding() 156 pthread_mutex_unlock(&stats->mutex); in osm_stats_inc_qp0_outstanding() 158 outstanding = cl_atomic_inc(&stats->qp0_mads_outstanding); in osm_stats_inc_qp0_outstanding() 169 pthread_mutex_lock(&stats->mutex); in osm_stats_dec_qp0_outstanding() 170 outstanding = --stats->qp0_mads_outstanding; in osm_stats_dec_qp0_outstanding() 172 pthread_cond_signal(&stats->cond); in osm_stats_dec_qp0_outstanding() 173 pthread_mutex_unlock(&stats->mutex); in osm_stats_dec_qp0_outstanding() 175 outstanding = cl_atomic_dec(&stats->qp0_mads_outstanding); in osm_stats_dec_qp0_outstanding() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/soc/qcom/ |
| H A D | qcom-stats.yaml | 22 - qcom,rpmh-stats 23 - qcom,sdm845-rpmh-stats 24 - qcom,rpm-stats 26 - qcom,apq8084-rpm-stats 27 - qcom,msm8226-rpm-stats 28 - qcom,msm8916-rpm-stats 29 - qcom,msm8974-rpm-stats 41 # Example of rpmh sleep stats 44 compatible = "qcom,rpmh-stats"; 47 # Example of rpm sleep stats [all …]
|
| /freebsd-14.2/tools/LibraryReport/ |
| H A D | LibraryReport.tcl | 63 global Libs stats verbose; 137 global stats verbose; 150 incr stats(dirs); 158 incr stats(files); 184 global Libs stats verbose; 192 incr stats(execs); 274 set stats(libs) 0; 275 set stats(dirs) 0; 276 set stats(files) 0; 277 set stats(execs) 0 [all …]
|
| /freebsd-14.2/sys/dev/gve/ |
| H A D | gve_sysctl.c | 39 struct gve_rxq_stats *stats; in gve_setup_rxq_sysctl() local 47 stats = &rxq->stats; in gve_setup_rxq_sysctl() 51 &stats->rbytes, "Bytes received"); in gve_setup_rxq_sysctl() 56 CTLFLAG_RD, &stats->rx_copybreak_cnt, in gve_setup_rxq_sysctl() 65 CTLFLAG_RD, &stats->rx_dropped_pkt, in gve_setup_rxq_sysctl() 69 &stats->rx_dropped_pkt_desc_err, in gve_setup_rxq_sysctl() 90 struct gve_txq_stats *stats; in gve_setup_txq_sysctl() local 98 stats = &txq->stats; in gve_setup_txq_sysctl() 125 &stats->tx_dropped_pkt_vlan, in gve_setup_txq_sysctl() 249 rxqstats = &priv->rx[i].stats; in gve_accum_stats() [all …]
|
| /freebsd-14.2/sys/contrib/dev/athk/ath10k/ |
| H A D | debugfs_sta.c | 169 if (stats->extended) in ath10k_sta_update_rx_duration() 548 j, stats[j]._field); \ 676 stats = &arsta->tx_stats->stats[k]; in ath10k_dbg_sta_dump_tx_stats() 686 stats->vht[j][i]); in ath10k_dbg_sta_dump_tx_stats() 698 stats->bw[j][0], stats->bw[j][1], in ath10k_dbg_sta_dump_tx_stats() 699 stats->bw[j][2], stats->bw[j][3], in ath10k_dbg_sta_dump_tx_stats() 700 stats->bw[j][4], stats->bw[j][5]); in ath10k_dbg_sta_dump_tx_stats() 705 stats->nss[j][0], stats->nss[j][1], in ath10k_dbg_sta_dump_tx_stats() 706 stats->nss[j][2], stats->nss[j][3]); in ath10k_dbg_sta_dump_tx_stats() 711 stats->gi[j][0], stats->gi[j][1]); in ath10k_dbg_sta_dump_tx_stats() [all …]
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | rx.c | 161 stats->flag |= RX_FLAG_DECRYPTED; in iwl_mvm_set_mac80211_rx_flag() 178 stats->flag |= RX_FLAG_DECRYPTED; in iwl_mvm_set_mac80211_rx_flag() 774 .flags = stats->flags, in iwl_mvm_stats_ver_15() 796 flags = stats->flags; in iwl_mvm_stats_ver_14() 798 data.mac_id = stats->mac_id; in iwl_mvm_stats_ver_14() 869 flags = stats->flags; in iwl_mvm_handle_rx_statistics_tlv() 894 flags = stats->flags; in iwl_mvm_handle_rx_statistics_tlv() 960 mvm->rx_stats_v3 = stats->rx; in iwl_mvm_handle_rx_statistics() 974 flags = stats->flag; in iwl_mvm_handle_rx_statistics() 982 mvm->rx_stats = stats->rx; in iwl_mvm_handle_rx_statistics() [all …]
|
| /freebsd-14.2/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | bin.h | 82 bin_stats_t stats; member 110 dst_bin_stats->nmalloc += bin->stats.nmalloc; in bin_stats_merge() 111 dst_bin_stats->ndalloc += bin->stats.ndalloc; in bin_stats_merge() 112 dst_bin_stats->nrequests += bin->stats.nrequests; in bin_stats_merge() 113 dst_bin_stats->curregs += bin->stats.curregs; in bin_stats_merge() 114 dst_bin_stats->nfills += bin->stats.nfills; in bin_stats_merge() 115 dst_bin_stats->nflushes += bin->stats.nflushes; in bin_stats_merge() 116 dst_bin_stats->nslabs += bin->stats.nslabs; in bin_stats_merge() 117 dst_bin_stats->reslabs += bin->stats.reslabs; in bin_stats_merge() 118 dst_bin_stats->curslabs += bin->stats.curslabs; in bin_stats_merge() [all …]
|
| /freebsd-14.2/sys/dev/bfe/ |
| H A D | if_bfe.c | 1242 struct bfe_hw_stats *stats; in bfe_stats_update() local 1257 stats = &sc->bfe_stats; in bfe_stats_update() 1261 stats->tx_octets += mib[MIB_TX_O]; in bfe_stats_update() 1865 struct bfe_hw_stats *stats; in sysctl_bfe_stats() local 1878 stats = &sc->bfe_stats; in sysctl_bfe_stats() 1886 (uintmax_t)stats->tx_octets); in sysctl_bfe_stats() 1888 (uintmax_t)stats->tx_frames); in sysctl_bfe_stats() 1894 (uint64_t)stats->tx_pkts_64); in sysctl_bfe_stats() 1925 (uintmax_t)stats->rx_octets); in sysctl_bfe_stats() 1927 (uintmax_t)stats->rx_frames); in sysctl_bfe_stats() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | subr_blist.c | 419 bzero(stats, sizeof(*stats)); in init_gap_stats() 433 stats->start = posn; in update_gap_stats() 438 if (size > stats->max) in update_gap_stats() 439 stats->max = size; in update_gap_stats() 460 stats->histo[lo]++; in update_gap_stats() 462 stats->max_bucket = lo; in update_gap_stats() 463 stats->err += size - stats->avg; in update_gap_stats() 464 stats->num++; in update_gap_stats() 465 stats->avg += stats->err / stats->num; in update_gap_stats() 466 stats->err %= stats->num; in update_gap_stats() [all …]
|
| /freebsd-14.2/libexec/rpc.rstatd/ |
| H A D | rstat_proc.c | 83 struct stats s1; 128 stats * 301 struct statinfo stats; in haveadisk() local 318 if (devstat_getdevs(NULL, &stats) == -1) { in haveadisk() 333 if (stats.dinfo->mem_ptr) in haveadisk() 334 free(stats.dinfo->mem_ptr); in haveadisk() 336 free(stats.dinfo); in haveadisk() 344 struct statinfo stats; in updatexfers() local 395 if (stats.dinfo->mem_ptr) in updatexfers() 396 free(stats.dinfo->mem_ptr); in updatexfers() [all …]
|
| /freebsd-14.2/usr.bin/top/ |
| H A D | display.h | 15 void i_arc(int *stats); 17 void i_carc(int *stats); 20 void i_memory(int *stats); 24 void i_swap(int *stats); 30 void u_arc(int *stats); 31 void u_carc(int *stats); 36 void u_memory(int *stats); 40 void u_swap(int *stats);
|