Searched refs:ethcmd (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/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-v5.10/net/ethtool/ |
D | ioctl.c | 225 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument 227 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature() 229 .cmd = ethcmd, in ethtool_get_one_feature() 239 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument 247 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature() 2567 u32 ethcmd, sub_cmd; in dev_ethtool() local 2574 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool() 2577 if (ethcmd == ETHTOOL_PERQUEUE) { in dev_ethtool() 2578 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in dev_ethtool() 2581 sub_cmd = ethcmd; in dev_ethtool() [all …]
|
/Linux-v5.10/net/ |
D | socket.c | 3134 u32 ethcmd; in ethtool_ioctl() local 3143 if (get_user(ethcmd, &compat_rxnfc->cmd)) in ethtool_ioctl() 3149 switch (ethcmd) { in ethtool_ioctl() 3200 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl() 3225 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()
|