Lines Matching refs:portStats
90 static struct portStats portStats;
659 if (copy_from_user(&portStats, argp, sizeof(struct portStats))) {
663 if (portStats.port < 0 || portStats.port >= RIO_PORTS) {
667 PortP = (p->RIOPortp[portStats.port]);
668 portStats.gather = PortP->statsGather;
669 portStats.txchars = PortP->txchars;
670 portStats.rxchars = PortP->rxchars;
671 portStats.opens = PortP->opens;
672 portStats.closes = PortP->closes;
673 portStats.ioctls = PortP->ioctls;
674 if (copy_to_user(argp, &portStats, sizeof(struct portStats))) {
699 if (copy_from_user(&portStats, argp, sizeof(struct portStats))) {
703 if (portStats.port < 0 || portStats.port >= RIO_PORTS) {
707 PortP = (p->RIOPortp[portStats.port]);
709 PortP->statsGather = portStats.gather;