Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/wlan-ng/
Dp80211netdev.c469 u32 ethcmd; in p80211netdev_ethtool() local
476 if (copy_from_user(&ethcmd, useraddr, sizeof(ethcmd))) in p80211netdev_ethtool()
479 switch (ethcmd) { in p80211netdev_ethtool()
481 info.cmd = ethcmd; in p80211netdev_ethtool()
492 edata.cmd = ethcmd; in p80211netdev_ethtool()
/Linux-v5.4/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 …]
/Linux-v5.4/net/
Dsocket.c3018 u32 ethcmd; in ethtool_ioctl() local
3027 if (get_user(ethcmd, &compat_rxnfc->cmd)) in ethtool_ioctl()
3033 switch (ethcmd) { in ethtool_ioctl()
3084 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()
3109 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()