/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | stats.h | 26 * stats.h -- public definitions for stats module 42 struct stats *stats_new_counter(const char *name, const char *desc, int ext); 43 void stats_delete(struct stats *sp); 44 void stats_counter_bump(struct stats *sp); 45 void stats_counter_add(struct stats *sp, int n); 46 void stats_counter_reset(struct stats *sp); 47 int stats_counter_value(struct stats *sp); 48 struct stats *stats_new_elapse(const char *name, const char *desc, int ext); 49 void stats_elapse_start(struct stats *s [all...] |
H A D | stats.c | 26 * stats.c -- simple stats tracking table module 34 #include "stats.h" 38 struct stats { struct 39 struct stats *next; 57 static int Ext; /* true if extended stats are enabled */ 58 static struct stats *Statslist; 59 static struct stats *Laststats; 63 * stats_init -- initialize the stats module 78 static struct stats * [all...] |
H A D | stable.c | 39 #include "stats.h" 51 static struct stats *Stablecount; 52 static struct stats *Blockcount; 53 static struct stats *Add0; 54 static struct stats *Add1; 55 static struct stats *Add2; 56 static struct stats *Add3; 57 static struct stats *Addn; 204 /* just did an add, update stats */
|
H A D | alloc.c | 36 #include "stats.h" 38 static struct stats *Malloctotal; 39 static struct stats *Malloccount; 51 struct stats *mt, *mc;
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_stat.c | 42 * function called by kstat to update the stats counters 53 struct oce_stat *stats; local 62 stats = (struct oce_stat *)ksp->ks_data; 73 "Failed to get stats:%d", ret); 78 /* update the stats */ 79 stats->rx_bytes_lo.value.ul = port_stats->rx_bytes_lsd; 80 stats->rx_bytes_hi.value.ul = port_stats->rx_bytes_msd; 82 stats->rx_frames.value.ul = port_stats->rx_total_frames; 83 stats->rx_errors.value.ul = port_stats->rx_crc_errors + 92 stats 197 struct oce_stat *stats; local 348 struct oce_stat *stats; local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_stats.h | 200 (_icp_->stats.ks_data.kn[KN_CONN_IDX_ERR_HDR_DIGEST].value.ul++) 203 (_icp_->stats.ks_data.kn[KN_CONN_IDX_ERR_DATA_DIGEST].value.ul++) 206 (_icp_->stats.ks_data.kn[KN_CONN_IDX_ERR_PROTOCOL].value.ul++) 209 (_icp_->stats.ks_data.kn[KN_CONN_IDX_ERR_CONN_RESET].value.ul++) 212 (_icp_->stats.ks_data.kn[KN_CONN_IDX_CNTR_TX_BYTES].value.ui64 += \ 216 (_icp_->stats.ks_data.kn[KN_CONN_IDX_CNTR_RX_BYTES].value.ui64 += \ 262 (_isp_->stats.ks_data.kn[KN_SESS_IDX_CNTR_RESET].value.ul++) 265 (_isp_->stats.ks_data.kn[KN_SESS_IDX_CNTR_CONN].value.ul++) 268 (_isp_->stats.ks_data.kn[KN_SESS_IDX_CNTR_CONN].value.ul--) 271 mutex_enter(&_isp_->stats [all...] |
H A D | iscsi_stats.c | 96 ihp->stats.ks = kstat_create(iSCSI_MODULE_NAME, 100 if (ihp->stats.ks == NULL) { 106 ihs = &ihp->stats.ks_data; 107 ihp->stats.ks->ks_data = &ihp->stats.ks_data; 108 ihp->stats.ks->ks_data_size = sizeof (ihp->stats.ks_data); 109 ihp->stats.ks->ks_ndata = KN_HBA_IDX_MAX; 116 ihp->stats.ks->ks_update = iscsi_hba_kstat_update; 117 ihp->stats [all...] |
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-stats.c | 24 #include "xgehal-stats.h" 29 * @stats: xge_hal_stats_t structure that contains, in particular, 37 __hal_stats_initialize (xge_hal_stats_t *stats, xge_hal_device_h devh) argument 42 xge_assert(!stats->is_initialized); 51 stats->hw_info = 56 &stats->hw_info_dmah, 57 &stats->hw_info_dma_acch); 59 if (stats->hw_info == NULL) { 63 xge_os_memzero(stats->hw_info, 65 xge_os_memzero(&stats 184 __hal_stats_save(xge_hal_stats_t *stats) argument 214 __hal_stats_disable(xge_hal_stats_t *stats) argument 248 __hal_stats_terminate(xge_hal_stats_t *stats) argument 305 __hal_stats_enable(xge_hal_stats_t *stats) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | stats.c | 18 SM_RCSID("@(#)$Id: stats.c,v 8.57 2006/08/15 23:24:58 ca Exp $") 24 static bool GotStats = false; /* set when we have stats to merge */ 35 ** type -- type of stats this represents. 140 struct statistics stats; local 167 if (read(fd, (char *) &stats, sizeof(stats)) == sizeof(stats) && 168 stats.stat_size == sizeof(stats) && 169 stats [all...] |
/illumos-gate/usr/src/cmd/sendmail/aux/ |
H A D | mailstats.c | 69 struct statistics stats; local 223 if ((fd < 0) || (i = read(fd, &stats, sizeof stats)) < 0) 234 if ((i = read(fd, &stats, sizeof stats)) < 0) 245 memset((ARBPTR_T) &stats, '\0', sizeof stats); 246 (void) time(&stats.stat_itime); 251 if (stats.stat_magic != STAT_MAGIC) 258 else if (stats [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_stats.c | 49 #define LM_STATS_IS_HW_ACTIVE(_pdev) ( _pdev->vars.stats.stats_collect.stats_hw.b_collect_enabled && \ 60 * driver stats are stored as 64bits where the lower bits store 101 /*We assume that only 32bit stats will ever need to be byte-swapped. this is because 102 all HW data is byte-swapped by DMAE as needed, and the 64bit FW stats are swapped 117 * stats. Note that in the 32bit case (i.e any stats that are 158 lm_u64_t* stats = (lm_u64_t *)stats_cnt; local 169 stats_fw = &pdev->vars.stats.stats_mirror.stats_fw; 175 stats->as_u64 = stats_fw->eth_xstorm_common.client_statistics[i].total_sent_pkts ; 179 stats 2808 b10_l2_chip_statistics_t *stats = buf; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | stats_impl.h | 37 struct stats { struct
|
H A D | stats.c | 25 * stats.c -- simple stats tracking table module 27 * this version of stats.c links with eft and implements the 28 * stats using the fmd's stats API. 35 #include "stats.h" 43 static int Ext; /* true if extended stats are enabled */ 46 * stats_init -- initialize the stats module 61 static struct stats * 64 struct stats *re [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_stats.c | 86 struct rdsv3_ib_statistics stats = {0, }; local 100 sum = (uint64_t *)&stats; 101 for (i = 0; i < sizeof (stats) / sizeof (uint64_t); i++) 105 rdsv3_stats_info_copy(iter, (uint64_t *)&stats, rdsv3_ib_stat_names,
|
H A D | stats.c | 6 * This file contains code imported from the OFED rds source file stats.c 7 * Oracle elects to have and use the contents of stats.c under and governed 107 * stats that we're exporting. Some are pretty implementation dependent 120 struct rdsv3_statistics stats; local 134 bzero(&stats, sizeof (struct rdsv3_statistics)); 138 sum = (uint64_t *)&stats; 145 rdsv3_stats_info_copy(iter, (uint64_t *)&stats, rdsv3_stat_names,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 57 struct compstat stats; member in struct:deflate_state 72 static void z_comp_stats __P((void *state, struct compstat *stats)); 109 z_comp_stats(arg, stats) 111 struct compstat *stats; 116 *stats = state->stats; 117 stats->ratio = stats->unc_bytes; 118 out = stats->comp_bytes + stats [all...] |
/illumos-gate/usr/src/tools/ctf/dump/ |
H A D | dump.c | 94 } stats; variable in typeref:struct:__anon4465 307 stats.s_ndata = n; 380 stats.s_nfunc++; 381 stats.s_nargs += n; 382 stats.s_argmax = MAX(stats.s_argmax, n); 512 stats.s_nsmem += n; 513 stats.s_smmax = MAX(stats.s_smmax, n); 514 stats [all...] |
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regstat.c | 43 p->env->stats.re_flags |= REG_LITERAL; 44 p->env->stats.re_record = (p && p->env && p->env->rex->type == REX_BM) ? p->env->rex->re.bm.size : -1; 45 return &p->env->stats;
|
H A D | regcomp.c | 127 Stats_t stats; /* RE statistics */ member in struct:Cenv_s 355 stats(register Cenv_t* env, register Rex_t* e) function 377 x = env->stats.x; 378 l = env->stats.l; 379 y = env->stats.y; 380 k = env->stats.k; 381 t = env->stats.t; 382 if (++env->stats.a <= 0) 384 cm = env->stats.m; 385 env->stats [all...] |
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcRegisterForAdapterPortStatEvents.cc | 46 HBA_PORTSTATISTICS stats, 38 Sun_fcRegisterForAdapterPortStatEvents( void (*callback)( void *data, HBA_WWN PortWWN, HBA_UINT32 eventType), void *userData, HBA_HANDLE handle, HBA_WWN PortWWN, HBA_PORTSTATISTICS stats, HBA_UINT32 statType, HBA_CALLBACKHANDLE *callbackHandle) argument
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | ba_table.c | 52 ++bataid->stats.num_dontcare; 67 /* update stats */ 69 ++bataid->stats.num_inserted; 138 --bataid->stats.num_dontcare; 144 /* update stats */ 146 --bataid->stats.num_inserted; 151 if (bataid->stats.num_inserted <= 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/ |
H A D | pppstats.c | 7 * -v Show more stats for VJ TCP header compression 162 req.stats_ptr = (caddr_t) &req.stats; 176 *curp = req.stats; 188 creq.stats_ptr = (caddr_t) &creq.stats; 202 perror("couldn't get PPP compression stats"); 208 if (creq.stats.c.bytes_out == 0) { 209 creq.stats.c.bytes_out = creq.stats.c.comp_bytes + creq.stats.c.inc_bytes; 210 creq.stats [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | memcluster.c | 86 struct stats { struct 122 static struct stats * stats; variable in typeref:struct:stats 156 stats = malloc((max_size+1) * sizeof (struct stats)); 157 if (freelists == NULL || stats == NULL) { 163 memset(stats, 0, (max_size + 1) * sizeof (struct stats)); 213 stats[max_size].gets++; 214 stats[max_siz [all...] |
/illumos-gate/usr/src/uts/common/ipp/meters/ |
H A D | tswtclddi.c | 213 /* parse stats */ 216 cfg_parms->stats = B_FALSE; 218 cfg_parms->stats = (boolean_t)bstats; 230 if (cfg_parms->stats) { 272 if (cfg_parms->stats) { 273 ipp_stat_destroy(tswtcl_data->stats); 397 /* parse stats, if present */ 399 cfg_parms->stats = (boolean_t)bstats; 400 if (cfg_parms->stats && !old_cfg->stats) { 583 meter_stat_t *stats = (meter_stat_t *)sp->ipps_data; local [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82543.h | 50 struct e1000_hw_stats *stats,
|