Lines Matching refs:edata
252 struct ethtool_value edata = {
257 if (copy_to_user(useraddr, &edata, sizeof(edata)))
265 struct ethtool_value edata;
268 if (copy_from_user(&edata, useraddr, sizeof(edata)))
276 if (edata.data)
1597 struct ethtool_value edata = { .cmd = ETHTOOL_GLINK };
1603 edata.data = link;
1604 if (copy_to_user(useraddr, &edata, sizeof(edata)))
2293 struct ethtool_value edata = { .cmd = cmd };
2298 edata.data = actor(dev);
2300 if (copy_to_user(useraddr, &edata, sizeof(edata)))
2308 struct ethtool_value edata;
2313 if (copy_from_user(&edata, useraddr, sizeof(edata)))
2316 actor(dev, edata.data);
2323 struct ethtool_value edata;
2328 if (copy_from_user(&edata, useraddr, sizeof(edata)))
2331 return actor(dev, edata.data);