Searched refs:useraddr (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ethtool/ |
| H A D | ioctl.c | 83 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features() argument 105 sizeaddr = useraddr + offsetof(struct ethtool_gfeatures, size); in ethtool_get_features() 112 if (copy_to_user(useraddr, &cmd, sizeof(cmd))) in ethtool_get_features() 114 useraddr += sizeof(cmd); in ethtool_get_features() 115 if (copy_to_user(useraddr, features, in ethtool_get_features() 122 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features() argument 129 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in ethtool_set_features() 131 useraddr += sizeof(cmd); in ethtool_set_features() 136 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features() 251 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument [all …]
|
| /linux/net/bluetooth/ |
| H A D | af_bluetooth.c | 577 void __user *useraddr) in bt_ethtool_get_ts_info() argument 597 if (copy_to_user(useraddr, &info, sizeof(info))) in bt_ethtool_get_ts_info() 604 void __user *useraddr) in bt_ethtool() argument 610 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in bt_ethtool() 619 return bt_ethtool_get_ts_info(sk, index, useraddr); in bt_ethtool()
|
| /linux/mm/kasan/ |
| H A D | kasan_test_c.c | 2153 unsigned long useraddr; in copy_user_test_oob() 2160 useraddr = kunit_vm_mmap(test, NULL, 0, PAGE_SIZE, in copy_user_test_oob() 2163 KUNIT_ASSERT_NE_MSG(test, useraddr, 0, in copy_user_test_oob() 2165 KUNIT_ASSERT_LT_MSG(test, useraddr, (unsigned long)TASK_SIZE, in copy_user_test_oob() 2169 usermem = (char __user *)useraddr; in copy_user_test_oob() 2133 unsigned long useraddr; copy_user_test_oob() local
|