Home
last modified time | relevance | path

Searched refs:ethcmd (Results 1 – 2 of 2) sorted by relevance

/net/core/
Dethtool.c314 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
316 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
318 .cmd = ethcmd, in ethtool_get_one_feature()
328 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
336 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
2571 u32 ethcmd, sub_cmd; in dev_ethtool() local
2578 if (copy_from_user(&ethcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
2581 if (ethcmd == ETHTOOL_PERQUEUE) { in dev_ethtool()
2582 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in dev_ethtool()
2585 sub_cmd = ethcmd; in dev_ethtool()
[all …]
/net/
Dsocket.c2806 u32 ethcmd; in ethtool_ioctl() local
2815 if (get_user(ethcmd, &compat_rxnfc->cmd)) in ethtool_ioctl()
2821 switch (ethcmd) { in ethtool_ioctl()
2876 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()
2901 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()