Searched refs:stats (Results 51 - 75 of 405) sorted by relevance

1234567891011>>

/freebsd-9.3-release/tools/tools/crypto/
H A Dcryptotest.c392 struct cryptostats stats; local
395 slen = sizeof (stats);
396 if (sysctlbyname("kern.crypto_stats", &stats, &slen, NULL, 0) < 0) {
400 bzero(&stats.cs_invoke, sizeof (stats.cs_invoke));
401 bzero(&stats.cs_done, sizeof (stats.cs_done));
402 bzero(&stats.cs_cb, sizeof (stats.cs_cb));
403 bzero(&stats
495 struct cryptostats stats; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/unix/
H A Dfile.c84 file_stats(const char *file, struct stat *stats) { argument
88 REQUIRE(stats != NULL);
90 if (stat(file, stats) != 0)
97 fd_stats(int fd, struct stat *stats) { argument
100 REQUIRE(stats != NULL);
102 if (fstat(fd, stats) != 0)
111 struct stat stats; local
115 result = fd_stats(fd, &stats);
118 *size = stats.st_size;
126 struct stat stats; local
140 struct stat stats; local
398 struct stat stats; local
[all...]
/freebsd-9.3-release/include/rpcsvc/
H A Drstat.x104 struct stats { /* RSTATVERS_ORIG */
145 stats
/freebsd-9.3-release/sys/compat/linux/
H A Dstats_timing.d59 @stats[probeprov, execname, probefunc] = quantize(this->timediff);
86 printa(@stats);
/freebsd-9.3-release/sys/mips/cavium/octe/
H A Dcavium-ethernet.h56 struct ifnet_stats stats; /* Device statistics */
/freebsd-9.3-release/sys/dev/e1000/
H A Dif_igb.c570 /* Allocate the appropriate stats memory */
572 adapter->stats =
577 adapter->stats =
580 if (adapter->stats == NULL) {
581 device_printf(dev, "Can not allocate stats memory\n");
5282 struct e1000_hw_stats *stats; local
5286 ** small controlled set of stats, do only
5294 stats = (struct e1000_hw_stats *)adapter->stats;
5298 stats
5431 struct e1000_vf_stats *stats; local
5452 struct e1000_vf_stats *stats; local
5519 struct e1000_hw_stats *stats = adapter->stats; local
[all...]
H A Dif_lem.c3513 &adapter->stats, pkt_len,
4202 adapter->stats.symerrs += E1000_READ_REG(&adapter->hw, E1000_SYMERRS);
4203 adapter->stats.sec += E1000_READ_REG(&adapter->hw, E1000_SEC);
4205 adapter->stats.crcerrs += E1000_READ_REG(&adapter->hw, E1000_CRCERRS);
4206 adapter->stats.mpc += E1000_READ_REG(&adapter->hw, E1000_MPC);
4207 adapter->stats.scc += E1000_READ_REG(&adapter->hw, E1000_SCC);
4208 adapter->stats.ecol += E1000_READ_REG(&adapter->hw, E1000_ECOL);
4210 adapter->stats.mcc += E1000_READ_REG(&adapter->hw, E1000_MCC);
4211 adapter->stats.latecol += E1000_READ_REG(&adapter->hw, E1000_LATECOL);
4212 adapter->stats
4311 struct e1000_hw_stats *stats = &adapter->stats; local
[all...]
/freebsd-9.3-release/crypto/heimdal/tests/kdc/
H A Dcheck-iprop.in96 > iprop-stats
97 trap "echo 'killing ipropd s + m + kdc'; kill \${ipdm} \${ipds} \${kdcpid} >/dev/null 2>/dev/null; tail messages.log ; tail iprop-stats; exit 1;" EXIT
118 ${EGREP} 'iprop/slave@TEST.H5L.SE.*Up' iprop-stats >/dev/null || exit 1
143 > iprop-stats
147 ${EGREP} 'iprop/slave@TEST.H5L.SE.*Down' iprop-stats >/dev/null || exit 1
161 > iprop-stats
169 ${EGREP} 'iprop/slave@TEST.H5L.SE.*Up' iprop-stats >/dev/null || exit 1
178 > iprop-stats
186 ${EGREP} 'iprop/slave@TEST.H5L.SE.*Up' iprop-stats >/dev/null || exit 1
203 ${EGREP} "^master down at " iprop-stats > /de
[all...]
/freebsd-9.3-release/sys/netgraph/
H A Dng_pred1.c75 struct ng_pred1_stats stats; /* statistics */ member in struct:ng_pred1_private
274 bcopy(&priv->stats, resp->data,
279 bzero(&priv->stats, sizeof(struct ng_pred1_stats));
393 priv->stats.FramesPlain++;
394 priv->stats.InOctets += inlen;
398 priv->stats.Errors++;
406 priv->stats.Errors++;
429 priv->stats.FramesComp++;
434 priv->stats.FramesUncomp++;
448 priv->stats
[all...]
H A Dng_bpf.c95 struct ng_bpf_hookstat stats; member in struct:ng_bpf_hookinfo
366 struct ng_bpf_hookstat *stats; local
377 stats = &((hinfo_p)NG_HOOK_PRIVATE(hook))->stats;
382 msg, sizeof(*stats), M_NOWAIT);
385 bcopy(stats, resp->data, sizeof(*stats));
388 /* Clear stats (if desired) */
390 bzero(stats, sizeof(*stats));
[all...]
H A Dng_one2many.c67 struct ng_one2many_link_stats stats; /* link stats */ member in struct:ng_one2many_link
240 bzero(&link->stats, sizeof(link->stats));
341 /* Get/clear stats */
344 sizeof(link->stats), M_NOWAIT);
349 bcopy(&link->stats,
350 resp->data, sizeof(link->stats));
353 bzero(&link->stats, sizeof(link->stats));
[all...]
H A Dng_tag.c109 struct ng_tag_hookstat stats; member in struct:ng_tag_hookinfo
453 struct ng_tag_hookstat *stats; local
464 stats = &((hinfo_p)NG_HOOK_PRIVATE(hook))->stats;
469 msg, sizeof(*stats), M_WAITOK);
471 bcopy(stats, resp->data, sizeof(*stats));
474 /* Clear stats (if desired). */
476 bzero(stats, sizeof(*stats));
[all...]
H A Dng_tcpmss.c69 struct ng_tcpmss_hookstat stats; member in struct:__anon9935
211 bcopy(&priv->stats, resp->data,
216 bzero(&priv->stats,
240 priv->stats.maxMSS = set->maxMSS;
282 /* Update stats on incoming hook. */
284 priv->stats.Octets += pktlen;
285 priv->stats.Packets++;
288 if (priv->stats.maxMSS == 0)
331 /* Update SYN stats. */
332 priv->stats
[all...]
H A Dng_pipe.c92 struct ng_pipe_hookstat stats; member in struct:hookinfo
302 struct ng_pipe_stats *stats; local
317 sizeof(*stats), M_NOWAIT);
322 stats = (struct ng_pipe_stats *) resp->data;
323 bcopy(&priv->upper.stats, &stats->downstream,
324 sizeof(stats->downstream));
325 bcopy(&priv->lower.stats, &stats->upstream,
326 sizeof(stats
[all...]
H A Dng_pptpgre.c173 struct ng_pptpgre_stats stats; /* node statistics */ member in struct:ng_pptpgre_private
426 sizeof(priv->stats), M_NOWAIT);
429 bcopy(&priv->stats,
430 resp->data, sizeof(priv->stats));
433 bzero(&priv->stats, sizeof(priv->stats));
559 priv->stats.xmitDrops++;
566 priv->stats.xmitTooBig++;
570 priv->stats.xmitLoneAcks++;
603 priv->stats
[all...]
/freebsd-9.3-release/sys/dev/cxgb/common/
H A Dcxgb_vsc7323.c305 rx_ucast = mac->stats.rx_frames - mac->stats.rx_mcast_frames -
306 mac->stats.rx_bcast_frames;
308 tx_ucast = mac->stats.tx_frames - mac->stats.tx_mcast_frames -
309 mac->stats.tx_bcast_frames;
313 mac->stats.name += (u64)((hw_stat) - (u32)(mac->stats.name))
356 mac->stats.rx_frames = rx_ucast + mac->stats
[all...]
/freebsd-9.3-release/gnu/usr.bin/grep/
H A Dgrep.c57 struct stats struct
59 struct stats const *parent;
64 static struct stats stats_base;
194 static int grepdir PARAMS ((char const *, struct stats const *));
270 reset (int fd, char const *file, struct stats *stats) argument
299 if (fstat (fd, &stats->stat) != 0)
304 if (directories == SKIP_DIRECTORIES && S_ISDIR (stats->stat.st_mode))
307 if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || S_ISBLK(stats
349 fillbuf(size_t save, struct stats const *stats) argument
801 grep(int fd, char const *file, struct stats *stats) argument
940 grepfile(char const *file, struct stats *stats) argument
1048 grepdir(char const *dir, struct stats const *stats) argument
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/mi/
H A Dmi-cmds.c195 struct mi_cmd_stats stats; variable in typeref:struct:mi_cmd_stats
216 stats.miss++;
221 stats.hit++;
225 stats.rehash++;
250 command->name, stats.rehash - nr_rehash);
253 nr_rehash = stats.rehash;
266 memset (&stats, 0, sizeof (stats));
/freebsd-9.3-release/sys/dev/ixgbe/
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...]
/freebsd-9.3-release/sys/modules/nxge/
H A DMakefile37 SRCS+= xgehal-fifo.c xgehal-stats.c xgehal-config.c
49 CWARNFLAGS.xgehal-stats.c= ${NO_WSELF_ASSIGN}
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_as2201.c79 char stats[SMAX]; /* statistics buffer */ member in struct:as2201unit
196 up->lastptr = up->stats;
267 if ((int)(up->lastptr - up->stats + pp->lencode) > SMAX - 2)
278 record_clock_stats(&peer->srcadr, up->stats);
281 printf("gps: stat %s\n", up->stats);
285 up->lastptr = up->stats;
331 if ((int)(up->lastptr - up->stats + pp->lencode) > SMAX - 2)
337 if ((int)(up->lastptr - up->stats + 1 + octets) > SMAX - 2)
/freebsd-9.3-release/sys/dev/ixgb/
H A Dif_ixgb.c273 OID_AUTO, "stats", CTLTYPE_INT | CTLFLAG_RW,
2332 adapter->stats.crcerrs += IXGB_READ_REG(&adapter->hw, CRCERRS);
2333 adapter->stats.gprcl += IXGB_READ_REG(&adapter->hw, GPRCL);
2334 adapter->stats.gprch += IXGB_READ_REG(&adapter->hw, GPRCH);
2335 adapter->stats.gorcl += IXGB_READ_REG(&adapter->hw, GORCL);
2336 adapter->stats.gorch += IXGB_READ_REG(&adapter->hw, GORCH);
2337 adapter->stats.bprcl += IXGB_READ_REG(&adapter->hw, BPRCL);
2338 adapter->stats.bprch += IXGB_READ_REG(&adapter->hw, BPRCH);
2339 adapter->stats.mprcl += IXGB_READ_REG(&adapter->hw, MPRCL);
2340 adapter->stats
[all...]
/freebsd-9.3-release/contrib/top/
H A Ddisplay.c601 * *_memory(stats) - print "Memory: " followed by the memory summary string
609 i_memory(stats)
611 int *stats;
618 summary_format(memory_buffer, stats, memory_names);
622 u_memory(stats)
624 int *stats;
630 summary_format(new, stats, memory_names);
635 * *_arc(stats) - print "ARC: " followed by the ARC summary string
642 i_arc(stats)
644 int *stats;
[all...]
/freebsd-9.3-release/contrib/libpcap/
H A Dpcap-snf.c31 struct snf_ring_stats stats; local
34 if ((rc = snf_ring_getstats(p->md.snf_ring, &stats))) {
39 ps->ps_recv = stats.ring_pkt_recv + stats.ring_pkt_overflow;
40 ps->ps_drop = stats.ring_pkt_overflow;
41 ps->ps_ifdrop = stats.nic_pkt_overflow + stats.nic_pkt_bad;
/freebsd-9.3-release/usr.sbin/ppp/
H A Dlink.c77 if (l->stats.gather) {
78 throughput_addin(&l->stats.total, n);
79 if (l->stats.parent)
80 throughput_addin(l->stats.parent, n);
87 if (l->stats.gather) {
88 throughput_addout(&l->stats.total, n);
89 if (l->stats.parent)
90 throughput_addout(l->stats.parent, n);
393 p->hdlc.stats.unknownproto++;

Completed in 406 milliseconds

1234567891011>>