Searched refs:useraddr (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/net/ethtool/ |
D | ioctl.c | 78 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features() argument 100 sizeaddr = useraddr + offsetof(struct ethtool_gfeatures, size); in ethtool_get_features() 107 if (copy_to_user(useraddr, &cmd, sizeof(cmd))) in ethtool_get_features() 109 useraddr += sizeof(cmd); in ethtool_get_features() 110 if (copy_to_user(useraddr, features, in ethtool_get_features() 117 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features() argument 124 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in ethtool_set_features() 126 useraddr += sizeof(cmd); in ethtool_set_features() 131 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features() 246 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument [all …]
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 2136 void __user *useraddr, in cxgb_siocdevprivate() argument 2146 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in cxgb_siocdevprivate() 2159 if (copy_from_user(&t, useraddr, sizeof(t))) in cxgb_siocdevprivate() 2259 if (copy_from_user(&t, useraddr, sizeof(t))) in cxgb_siocdevprivate() 2296 if (copy_to_user(useraddr, &t, sizeof(t))) in cxgb_siocdevprivate() 2308 if (copy_from_user(&edata, useraddr, sizeof(edata))) in cxgb_siocdevprivate() 2340 if (copy_to_user(useraddr, &edata, sizeof(edata))) in cxgb_siocdevprivate() 2350 if (copy_from_user(&t, useraddr, sizeof(t))) in cxgb_siocdevprivate() 2355 fw_data = memdup_user(useraddr + sizeof(t), t.len); in cxgb_siocdevprivate() 2375 if (copy_from_user(&m, useraddr, sizeof(m))) in cxgb_siocdevprivate() [all …]
|