Searched refs:ethcmd (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 469 u32 ethcmd; in p80211netdev_ethtool() local 476 if (copy_from_user(ðcmd, 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-v4.19/net/core/ |
D | ethtool.c | 294 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument 296 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature() 298 .cmd = ethcmd, in ethtool_get_one_feature() 308 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument 316 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature() 2607 u32 ethcmd, sub_cmd; in dev_ethtool() local 2614 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool() 2617 if (ethcmd == ETHTOOL_PERQUEUE) { in dev_ethtool() 2618 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in dev_ethtool() 2621 sub_cmd = ethcmd; in dev_ethtool() [all …]
|
/Linux-v4.19/net/ |
D | socket.c | 2814 u32 ethcmd; in ethtool_ioctl() local 2823 if (get_user(ethcmd, &compat_rxnfc->cmd)) in ethtool_ioctl() 2829 switch (ethcmd) { in ethtool_ioctl() 2880 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl() 2905 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()
|