Home
last modified time | relevance | path

Searched refs:useraddr (Results 1 – 3 of 3) sorted by relevance

/linux/net/ethtool/
H A Dioctl.c82 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features() argument
104 sizeaddr = useraddr + offsetof(struct ethtool_gfeatures, size); in ethtool_get_features()
111 if (copy_to_user(useraddr, &cmd, sizeof(cmd))) in ethtool_get_features()
113 useraddr += sizeof(cmd); in ethtool_get_features()
114 if (copy_to_user(useraddr, features, in ethtool_get_features()
121 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features() argument
128 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in ethtool_set_features()
130 useraddr += sizeof(cmd); in ethtool_set_features()
135 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features()
250 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c2135 void __user *useraddr, in cxgb_siocdevprivate() argument
2145 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in cxgb_siocdevprivate()
2158 if (copy_from_user(&t, useraddr, sizeof(t))) in cxgb_siocdevprivate()
2258 if (copy_from_user(&t, useraddr, sizeof(t))) in cxgb_siocdevprivate()
2295 if (copy_to_user(useraddr, &t, sizeof(t))) in cxgb_siocdevprivate()
2307 if (copy_from_user(&edata, useraddr, sizeof(edata))) in cxgb_siocdevprivate()
2339 if (copy_to_user(useraddr, &edata, sizeof(edata))) in cxgb_siocdevprivate()
2349 if (copy_from_user(&t, useraddr, sizeof(t))) in cxgb_siocdevprivate()
2354 fw_data = memdup_user(useraddr + sizeof(t), t.len); in cxgb_siocdevprivate()
2374 if (copy_from_user(&m, useraddr, sizeof(m))) in cxgb_siocdevprivate()
[all …]
/linux/mm/kasan/
H A Dkasan_test_c.c2002 unsigned long useraddr; in copy_user_test_oob() local
2009 useraddr = kunit_vm_mmap(test, NULL, 0, PAGE_SIZE, in copy_user_test_oob()
2012 KUNIT_ASSERT_NE_MSG(test, useraddr, 0, in copy_user_test_oob()
2014 KUNIT_ASSERT_LT_MSG(test, useraddr, (unsigned long)TASK_SIZE, in copy_user_test_oob()
2018 usermem = (char __user *)useraddr; in copy_user_test_oob()