/freebsd-9.3-release/tools/tools/crypto/ |
H A D | cryptotest.c | 392 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 D | file.c | 84 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 D | rstat.x | 104 struct stats { /* RSTATVERS_ORIG */ 145 stats
|
/freebsd-9.3-release/sys/compat/linux/ |
H A D | stats_timing.d | 59 @stats[probeprov, execname, probefunc] = quantize(this->timediff); 86 printa(@stats);
|
/freebsd-9.3-release/sys/mips/cavium/octe/ |
H A D | cavium-ethernet.h | 56 struct ifnet_stats stats; /* Device statistics */
|
/freebsd-9.3-release/sys/dev/e1000/ |
H A D | if_igb.c | 570 /* 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 D | if_lem.c | 3513 &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 D | check-iprop.in | 96 > 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 D | ng_pred1.c | 75 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 D | ng_bpf.c | 95 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 D | ng_one2many.c | 67 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 D | ng_tag.c | 109 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 D | ng_tcpmss.c | 69 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 D | ng_pipe.c | 92 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 D | ng_pptpgre.c | 173 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 D | cxgb_vsc7323.c | 305 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 D | grep.c | 57 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 D | mi-cmds.c | 195 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 D | ixgbe_dcb_82598.c | 43 * @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 D | Makefile | 37 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 D | refclock_as2201.c | 79 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 D | if_ixgb.c | 273 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 D | display.c | 601 * *_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 D | pcap-snf.c | 31 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 D | link.c | 77 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++;
|