Lines Matching refs:ioc
5458 struct de4x5_ioctl *ioc = (struct de4x5_ioctl *) &rq->ifr_ifru; in de4x5_ioctl() local
5469 switch(ioc->cmd) { in de4x5_ioctl()
5471 ioc->len = ETH_ALEN; in de4x5_ioctl()
5475 if (copy_to_user(ioc->data, tmp.addr, ioc->len)) return -EFAULT; in de4x5_ioctl()
5480 if (copy_from_user(tmp.addr, ioc->data, ETH_ALEN)) return -EFAULT; in de4x5_ioctl()
5511 ioc->len = sizeof(statbuf); in de4x5_ioctl()
5513 memcpy(&statbuf, &lp->pktStats, ioc->len); in de4x5_ioctl()
5515 if (copy_to_user(ioc->data, &statbuf, ioc->len)) in de4x5_ioctl()
5528 if (copy_to_user(ioc->data, tmp.addr, 1)) return -EFAULT; in de4x5_ioctl()
5533 if (copy_from_user(tmp.addr, ioc->data, 1)) return -EFAULT; in de4x5_ioctl()
5547 ioc->len = j; in de4x5_ioctl()
5548 if (copy_to_user(ioc->data, tmp.addr, ioc->len)) return -EFAULT; in de4x5_ioctl()