Lines Matching refs:ioc
1894 struct depca_ioctl *ioc = (struct depca_ioctl *) &rq->ifr_data; in depca_ioctl() local
1903 switch (ioc->cmd) { in depca_ioctl()
1908 ioc->len = ETH_ALEN; in depca_ioctl()
1909 if (copy_to_user(ioc->data, tmp.addr, ioc->len)) in depca_ioctl()
1916 if (copy_from_user(tmp.addr, ioc->data, ETH_ALEN)) in depca_ioctl()
1971 ioc->len = (HASH_TABLE_LEN >> 3); in depca_ioctl()
1972 if (copy_to_user(ioc->data, lp->init_block.mcast_table, ioc->len)) in depca_ioctl()
1979 if (ioc->len >= HASH_TABLE_LEN) in depca_ioctl()
1981 if (copy_from_user(tmp.addr, ioc->data, ETH_ALEN * ioc->len)) in depca_ioctl()
2000 ioc->len = sizeof(lp->pktStats); in depca_ioctl()
2001 if (copy_to_user(ioc->data, &lp->pktStats, ioc->len)) in depca_ioctl()
2020 ioc->len = i + sizeof(struct depca_init); in depca_ioctl()
2021 if (copy_to_user(ioc->data, tmp.addr, ioc->len)) in depca_ioctl()