Lines Matching refs:portStats
101 static struct portStats portStats; variable
927 if ( copyin((int)arg, (caddr_t)&portStats,
928 sizeof(struct portStats)) == COPYFAIL ) {
932 if ( portStats.port >= RIO_PORTS ) {
936 PortP = (p->RIOPortp[portStats.port]);
937 portStats.gather = PortP->statsGather;
938 portStats.txchars = PortP->txchars;
939 portStats.rxchars = PortP->rxchars;
940 portStats.opens = PortP->opens;
941 portStats.closes = PortP->closes;
942 portStats.ioctls = PortP->ioctls;
943 if ( copyout((caddr_t)&portStats, (int)arg,
944 sizeof(struct portStats)) == COPYFAIL ) {
969 if ( copyin( (int)arg, (caddr_t)&portStats,
970 sizeof(struct portStats)) == COPYFAIL ) {
974 if ( portStats.port >= RIO_PORTS ) {
978 PortP = (p->RIOPortp[portStats.port]);
980 PortP->statsGather = portStats.gather;