Lines Matching refs:copy_to_user

168 	if (copy_to_user(useraddr, &cmd, sizeof(cmd)))  in ethtool_get_features()
171 if (copy_to_user(useraddr, features, copy_size * sizeof(*features))) in ethtool_get_features()
303 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_one_feature()
603 if (copy_to_user(to, &link_usettings, sizeof(link_usettings))) in store_link_ksettings_for_user()
639 if (copy_to_user(useraddr, &link_ksettings.base, in ethtool_get_link_ksettings()
727 if (copy_to_user(useraddr, &cmd, sizeof(cmd))) in ethtool_get_settings()
810 if (copy_to_user(useraddr, &info, sizeof(info))) in ethtool_get_drvinfo()
857 if (copy_to_user(useraddr, &info, sizeof(info))) in ethtool_get_sset_info()
861 if (copy_to_user(useraddr, info_buf, idx * sizeof(u32))) in ethtool_get_sset_info()
897 copy_to_user(useraddr, &info, info_size)) in ethtool_set_rxnfc()
958 if (copy_to_user(useraddr, &info, info_size)) in ethtool_get_rxnfc()
963 if (copy_to_user(useraddr, rule_buf, in ethtool_get_rxnfc()
1052 if (copy_to_user(useraddr + offsetof(struct ethtool_rxfh_indir, size), in ethtool_get_rxfh_indir()
1071 if (copy_to_user(useraddr + in ethtool_get_rxfh_indir()
1180 if (copy_to_user(useraddr, &rxfh, sizeof(rxfh))) in ethtool_get_rxfh()
1208 if (copy_to_user(useraddr + offsetof(struct ethtool_rxfh, hfunc), in ethtool_get_rxfh()
1211 } else if (copy_to_user(useraddr + in ethtool_get_rxfh()
1318 if (copy_to_user(useraddr + offsetof(struct ethtool_rxfh, rss_context), in ethtool_set_rxfh()
1365 if (copy_to_user(useraddr, &regs, sizeof(regs))) in ethtool_get_regs()
1368 if (copy_to_user(useraddr, regbuf, reglen)) in ethtool_get_regs()
1392 if (copy_to_user(useraddr, &reset, sizeof(reset))) in ethtool_reset()
1408 if (copy_to_user(useraddr, &wol, sizeof(wol))) in ethtool_get_wol()
1448 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_eee()
1484 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_link()
1522 if (copy_to_user(userbuf, data, eeprom.len)) { in ethtool_get_any_eeprom()
1533 if (copy_to_user(useraddr, &eeprom, sizeof(eeprom))) in ethtool_get_any_eeprom()
1610 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_coalesce()
1638 if (copy_to_user(useraddr, &ringparam, sizeof(ringparam))) in ethtool_get_ringparam()
1675 if (copy_to_user(useraddr, &channels, sizeof(channels))) in ethtool_get_channels()
1730 if (copy_to_user(useraddr, &pauseparam, sizeof(pauseparam))) in ethtool_get_pauseparam()
1774 if (copy_to_user(useraddr, &test, sizeof(test))) in ethtool_self_test()
1777 if (copy_to_user(useraddr, data, test.len * sizeof(u64))) in ethtool_self_test()
1815 if (copy_to_user(useraddr, &gstrings, sizeof(gstrings))) in ethtool_get_strings()
1819 copy_to_user(useraddr, data, gstrings.len * ETH_GSTRING_LEN)) in ethtool_get_strings()
1919 if (copy_to_user(useraddr, &stats, sizeof(stats))) in ethtool_get_stats()
1922 if (n_stats && copy_to_user(useraddr, data, n_stats * sizeof(u64))) in ethtool_get_stats()
1974 if (copy_to_user(useraddr, &stats, sizeof(stats))) in ethtool_get_phy_stats()
1977 if (n_stats && copy_to_user(useraddr, data, n_stats * sizeof(u64))) in ethtool_get_phy_stats()
1997 if (copy_to_user(useraddr, &epaddr, sizeof(epaddr))) in ethtool_get_perm_addr()
2000 if (copy_to_user(useraddr, dev->perm_addr, epaddr.size)) in ethtool_get_perm_addr()
2015 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_value()
2095 if (copy_to_user(useraddr, &dump, sizeof(dump))) in ethtool_get_dump_flag()
2151 if (copy_to_user(useraddr, &dump, sizeof(dump))) { in ethtool_get_dump_data()
2156 if (copy_to_user(useraddr, data, len)) in ethtool_get_dump_data()
2187 if (copy_to_user(useraddr, &info, sizeof(info))) in ethtool_get_ts_info()
2224 if (copy_to_user(useraddr, &modinfo, sizeof(modinfo))) in ethtool_get_module_info()
2306 if (copy_to_user(useraddr, data, tuna.len)) in ethtool_get_tunable()
2362 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_per_queue_coalesce()
2494 if (copy_to_user(useraddr, data, tuna.len)) in get_phy_tunable()
2541 if (copy_to_user(useraddr, &fecparam, sizeof(fecparam))) in ethtool_get_fecparam()