Lines Matching refs:copy_from_user
124 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in ethtool_set_features()
131 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features()
265 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_one_feature()
457 if (copy_from_user(&link_usettings, from, sizeof(link_usettings))) in load_link_ksettings_from_user()
531 if (copy_from_user(&link_ksettings.base, useraddr, in ethtool_get_link_ksettings()
589 if (copy_from_user(&link_ksettings.base, useraddr, in ethtool_set_link_ksettings()
692 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in ethtool_set_settings()
778 if (copy_from_user(&info, useraddr, sizeof(info))) in ethtool_get_sset_info()
849 if (copy_from_user(&crxnfc, useraddr, min(size, sizeof(crxnfc)))) in ethtool_rxnfc_copy_from_compat()
878 if (copy_from_user(rxnfc, useraddr, size)) in ethtool_rxnfc_copy_from_user()
1040 if (copy_from_user(indir, useraddr, array_size(size, sizeof(indir[0])))) in ethtool_copy_validate_indir()
1075 if (copy_from_user(&user_size, in ethtool_get_rxfh_indir()
1127 if (copy_from_user(&user_size, in ethtool_set_rxfh_indir()
1194 if (copy_from_user(&rxfh, useraddr, sizeof(rxfh))) in ethtool_get_rxfh()
1272 if (copy_from_user(&rxfh, useraddr, sizeof(rxfh))) in ethtool_set_rxfh()
1330 if (copy_from_user(hkey, in ethtool_set_rxfh()
1373 if (copy_from_user(®s, useraddr, sizeof(regs))) in ethtool_get_regs()
1413 if (copy_from_user(&reset, useraddr, sizeof(reset))) in ethtool_reset()
1453 if (copy_from_user(&wol, useraddr, sizeof(wol))) in ethtool_set_wol()
1502 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_eee()
1544 if (copy_from_user(&eeprom, useraddr, sizeof(eeprom))) in ethtool_get_any_eeprom()
1613 if (copy_from_user(&eeprom, useraddr, sizeof(eeprom))) in ethtool_set_eeprom()
1632 if (copy_from_user(data, userbuf, eeprom.len)) { in ethtool_set_eeprom()
1738 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) in ethtool_set_coalesce()
1776 if (copy_from_user(&ringparam, useraddr, sizeof(ringparam))) in ethtool_set_ringparam()
1823 if (copy_from_user(&channels, useraddr, sizeof(channels))) in ethtool_set_channels()
1893 if (copy_from_user(&pauseparam, useraddr, sizeof(pauseparam))) in ethtool_set_pauseparam()
1917 if (copy_from_user(&test, useraddr, sizeof(test))) in ethtool_self_test()
1948 if (copy_from_user(&gstrings, useraddr, sizeof(gstrings))) in ethtool_get_strings()
2011 if (copy_from_user(&id, useraddr, sizeof(id))) in ethtool_phys_id()
2070 if (copy_from_user(&stats, useraddr, sizeof(stats))) in ethtool_get_stats()
2162 if (copy_from_user(&stats, useraddr, sizeof(stats))) in ethtool_get_phy_stats()
2192 if (copy_from_user(&epaddr, useraddr, sizeof(epaddr))) in ethtool_get_perm_addr()
2230 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_value_void()
2245 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_value()
2270 if (copy_from_user(&dump, useraddr, sizeof(dump))) in ethtool_set_dump()
2286 if (copy_from_user(&dump, useraddr, sizeof(dump))) in ethtool_get_dump_flag()
2310 if (copy_from_user(&dump, useraddr, sizeof(dump))) in ethtool_get_dump_data()
2400 if (copy_from_user(&modinfo, useraddr, sizeof(modinfo))) in ethtool_get_module_info()
2477 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in ethtool_get_tunable()
2508 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in ethtool_set_tunable()
2586 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) { in ethtool_set_per_queue_coalesce()
2621 if (copy_from_user(&per_queue_opt, useraddr, sizeof(per_queue_opt))) in ethtool_set_per_queue()
2669 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in get_phy_tunable()
2708 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in set_phy_tunable()
2756 if (copy_from_user(&fecparam, useraddr, sizeof(fecparam))) in ethtool_set_fecparam()
2784 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in __dev_ethtool()
3076 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
3085 if (copy_from_user(&state->efl, useraddr, sizeof(state->efl))) { in dev_ethtool()