Lines Matching refs:copy_from_user
184 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in ethtool_set_features()
191 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features()
314 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_one_feature()
565 if (copy_from_user(&link_usettings, from, sizeof(link_usettings))) in load_link_ksettings_from_user()
621 if (copy_from_user(&link_ksettings.base, useraddr, in ethtool_get_link_ksettings()
676 if (copy_from_user(&link_ksettings.base, useraddr, in ethtool_set_link_ksettings()
748 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in ethtool_set_settings()
823 if (copy_from_user(&info, useraddr, sizeof(info))) in ethtool_get_sset_info()
889 if (copy_from_user(&info, useraddr, info_size)) in ethtool_set_rxnfc()
923 if (copy_from_user(&info, useraddr, info_size)) in ethtool_get_rxnfc()
931 if (copy_from_user(&info, useraddr, info_size)) in ethtool_get_rxnfc()
981 if (copy_from_user(indir, useraddr, size * sizeof(indir[0]))) in ethtool_copy_validate_indir()
1047 if (copy_from_user(&user_size, in ethtool_get_rxfh_indir()
1099 if (copy_from_user(&user_size, in ethtool_set_rxfh_indir()
1166 if (copy_from_user(&rxfh, useraddr, sizeof(rxfh))) in ethtool_get_rxfh()
1244 if (copy_from_user(&rxfh, useraddr, sizeof(rxfh))) in ethtool_set_rxfh()
1302 if (copy_from_user(hkey, in ethtool_set_rxfh()
1345 if (copy_from_user(®s, useraddr, sizeof(regs))) in ethtool_get_regs()
1385 if (copy_from_user(&reset, useraddr, sizeof(reset))) in ethtool_reset()
1421 if (copy_from_user(&wol, useraddr, sizeof(wol))) in ethtool_set_wol()
1461 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_eee()
1500 if (copy_from_user(&eeprom, useraddr, sizeof(eeprom))) in ethtool_get_any_eeprom()
1565 if (copy_from_user(&eeprom, useraddr, sizeof(eeprom))) in ethtool_set_eeprom()
1584 if (copy_from_user(data, userbuf, eeprom.len)) { in ethtool_set_eeprom()
1623 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) in ethtool_set_coalesce()
1650 if (copy_from_user(&ringparam, useraddr, sizeof(ringparam))) in ethtool_set_ringparam()
1691 if (copy_from_user(&channels, useraddr, sizeof(channels))) in ethtool_set_channels()
1742 if (copy_from_user(&pauseparam, useraddr, sizeof(pauseparam))) in ethtool_set_pauseparam()
1763 if (copy_from_user(&test, useraddr, sizeof(test))) in ethtool_self_test()
1792 if (copy_from_user(&gstrings, useraddr, sizeof(gstrings))) in ethtool_get_strings()
1841 if (copy_from_user(&id, useraddr, sizeof(id))) in ethtool_phys_id()
1904 if (copy_from_user(&stats, useraddr, sizeof(stats))) in ethtool_get_stats()
1952 if (copy_from_user(&stats, useraddr, sizeof(stats))) in ethtool_get_phy_stats()
1990 if (copy_from_user(&epaddr, useraddr, sizeof(epaddr))) in ethtool_get_perm_addr()
2028 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_value_void()
2043 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_value()
2054 if (copy_from_user(&efl, useraddr, sizeof(efl))) in ethtool_flash_device()
2072 if (copy_from_user(&dump, useraddr, sizeof(dump))) in ethtool_set_dump()
2088 if (copy_from_user(&dump, useraddr, sizeof(dump))) in ethtool_get_dump_flag()
2112 if (copy_from_user(&dump, useraddr, sizeof(dump))) in ethtool_get_dump_data()
2217 if (copy_from_user(&modinfo, useraddr, sizeof(modinfo))) in ethtool_get_module_info()
2293 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in ethtool_get_tunable()
2324 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in ethtool_set_tunable()
2402 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) { in ethtool_set_per_queue_coalesce()
2432 if (copy_from_user(&per_queue_opt, useraddr, sizeof(per_queue_opt))) in ethtool_set_per_queue()
2479 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in get_phy_tunable()
2512 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in set_phy_tunable()
2553 if (copy_from_user(&fecparam, useraddr, sizeof(fecparam))) in ethtool_set_fecparam()
2572 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
2576 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in dev_ethtool()