Home
last modified time | relevance | path

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

/net/core/
Dethtool.c295 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
297 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
299 .cmd = ethcmd, in ethtool_get_one_feature()
309 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
317 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
2565 u32 ethcmd, sub_cmd; in dev_ethtool() local
2572 if (copy_from_user(&ethcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
2575 if (ethcmd == ETHTOOL_PERQUEUE) { in dev_ethtool()
2576 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in dev_ethtool()
2579 sub_cmd = ethcmd; in dev_ethtool()
[all …]
/net/
Dsocket.c3099 u32 ethcmd; in ethtool_ioctl() local
3108 if (get_user(ethcmd, &compat_rxnfc->cmd)) in ethtool_ioctl()
3114 switch (ethcmd) { in ethtool_ioctl()
3165 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()
3190 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()