Searched refs:ethcmd (Results 1 – 2 of 2) sorted by relevance
314 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument316 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()318 .cmd = ethcmd, in ethtool_get_one_feature()328 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument336 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()2571 u32 ethcmd, sub_cmd; in dev_ethtool() local2578 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()2581 if (ethcmd == ETHTOOL_PERQUEUE) { in dev_ethtool()2582 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in dev_ethtool()2585 sub_cmd = ethcmd; in dev_ethtool()[all …]
2806 u32 ethcmd; in ethtool_ioctl() local2815 if (get_user(ethcmd, &compat_rxnfc->cmd)) in ethtool_ioctl()2821 switch (ethcmd) { in ethtool_ioctl()2876 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()2901 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()