Searched refs:ethcmd (Results 1 – 2 of 2) sorted by relevance
295 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument297 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() argument317 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()2565 u32 ethcmd, sub_cmd; in dev_ethtool() local2572 if (copy_from_user(ðcmd, 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 …]
3099 u32 ethcmd; in ethtool_ioctl() local3108 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()