Home
last modified time | relevance | path

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

/linux/net/ethtool/
H A Dioctl.c251 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
253 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
255 .cmd = ethcmd, in ethtool_get_one_feature()
265 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
273 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
3242 u32 ethcmd, struct ethtool_devlink_compat *devlink_state) in __dev_ethtool() argument
3253 if (ethcmd == ETHTOOL_PERQUEUE) { in __dev_ethtool()
3254 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in __dev_ethtool()
3257 sub_cmd = ethcmd; in __dev_ethtool()
3319 switch (ethcmd) { in __dev_ethtool()
[all …]
/linux/net/bluetooth/
H A Daf_bluetooth.c607 u32 ethcmd; in bt_ethtool() local
610 if (copy_from_user(&ethcmd, useraddr, sizeof(ethcmd))) in bt_ethtool()
617 switch (ethcmd) { in bt_ethtool()