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

123456

/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dstats_impl.h37 struct stats { struct
/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcRegisterForAdapterPortStatEvents.cc46 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/io/ib/clients/rdsv3/
H A Dib_stats.c86 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 Dstats.c6 * 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/lib/libsocket/socket/
H A D_soutil.c127 struct stat stats; local
139 if (stat(net->nc_device, &stats) < 0) {
155 if (!S_ISCHR(stats.st_mode)) {
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dstats.c18 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/sort/
H A DMakefile59 stats := TARGET = stats macro
65 debug convert invoke stats : $(SUBDIRS)
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_stat.c42 * 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/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DSystemMonitor.java83 private final String stats[] = { "idle", "kernel", "wait", "user" }; field in class:SystemMonitor
195 for (int i = 0; i < stats.length; i++)
196 mon.resetData(stats[i]);
199 for (int i = 0; i < stats.length; i++) {
201 stats[i], 2);
202 mon.put(stats[i], sl);
257 for (int i = 0; i < stats.length; i++) {
260 stats[i]);
281 for (int i = 0; i < stats.length; i++) {
283 sl = (StatisticList) mon.get(stats[
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/esc/common/
H A Descmain.c42 #include "stats.h"
71 "\t-S Print stats for compiler memory usage, etc.\n"
101 int stats = 0; local
110 stats_init(1); /* extended stats always enabled for esc */
147 stats++;
224 if (stats) {
/illumos-gate/usr/src/tools/elfextract/
H A Delfextract.c197 struct stat stats; local
224 if (stat(fname, &stats) < 0) {
231 len = (stats.st_size + (pgsz - 1)) & (~(pgsz - 1));
/illumos-gate/usr/src/uts/common/ipp/dlcosmk/
H A Ddlcosmk_impl.h64 /* dlcosmk stats info. available using kstats */
97 ipp_stat_t *stats; /* stats for this instance */ member in struct:dlcosmk_data_s
101 boolean_t gather_stats; /* stats collected or not */
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb_82598.c43 * @stats: pointer to statistics structure
49 struct ixgbe_hw_stats *stats,
62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc));
66 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
68 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc));
85 * @stats: pointer to statistics structure
91 struct ixgbe_hw_stats *stats,
103 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc));
105 stats
48 ixgbe_dcb_get_tc_stats_82598(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, u8 tc_count) argument
90 ixgbe_dcb_get_pfc_stats_82598(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, u8 tc_count) argument
[all...]
H A Dixgbe_dcb_82599.c43 * @stats: pointer to statistics structure
49 struct ixgbe_hw_stats *stats,
62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc));
65 stats->qbtc[tc] +=
68 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
70 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC_L(tc));
71 stats->qbrc[tc] +=
75 stats->qprdc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRDC(tc));
84 * @stats
48 ixgbe_dcb_get_tc_stats_82599(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, u8 tc_count) argument
89 ixgbe_dcb_get_pfc_stats_82599(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, u8 tc_count) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c57 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/cmd/fm/eversholt/common/
H A Dstats.c26 * 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...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_eventq.c35 fmd_eventq_create(fmd_module_t *mp, fmd_eventqstat_t *stats, argument
44 eq->eq_stats = stats;
H A Dfmd_ustat.c69 * Note that any strings pointed to by FMD_TYPE_STRING stats
186 fmd_stat_t *stats, *sp; local
195 sp = stats = fmd_alloc(sizeof (fmd_stat_t) * n, FMD_SLEEP);
196 bcopy(template, stats, sizeof (fmd_stat_t) * n);
198 sp = stats = template;
203 cp = fmd_ustat_chunk_init(usp, stats, n);
270 * If an error occurred, delete all the stats inserted by successful
277 fmd_ustat_delete_locked(usp, i, stats, FMD_B_FALSE);
284 * If no error occurred and one or more string stats are being
285 * inserted, make a second pass through 'stats' duplicatin
[all...]
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmailstats.c69 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/drm/
H A Ddrm_ioctl.c270 drm_stats_t stats; local
273 bzero(&stats, sizeof (stats));
279 stats.data[i].value
283 stats.data[i].value = atomic_read(&dev->counts[i]);
284 stats.data[i].type = dev->types[i];
287 stats.count = dev->counters;
294 stats32.count = (uint32_t)stats.count;
296 stats32.data[i].value = stats.data[i].value;
297 stats32.data[i].type = stats
[all...]
/illumos-gate/usr/src/uts/common/net/
H A Dvjcompress.h133 struct vjstat stats; member in struct:vjcompress
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-stats.c24 #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/uts/common/ipp/dscpmk/
H A Ddscpmk_impl.h69 /* dscpmk stats information available using kstats */
95 ipp_stat_t *stats; /* stats for this DSCP */ member in struct:dscp_stats_s
102 ipp_stat_t *stats; /* structure for storing stats */ member in struct:dscpmk_data_s
107 /* Minimal stats */
115 /* per-DSCP stats */
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtswtclddi.c213 /* 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/lib/libnisdb/yptol/
H A Dshim.c567 struct stat stats; local
571 if (0 != stat(map->trad_map_path, &stats)) {
594 if (stats.st_mtime <= old_time) {
611 value.dptr = (char *)&(stats.st_mtime);

Completed in 76 milliseconds

123456