Searched refs:useraddr (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/net/ethtool/ |
D | ioctl.c | 59 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features() argument 81 sizeaddr = useraddr + offsetof(struct ethtool_gfeatures, size); in ethtool_get_features() 88 if (copy_to_user(useraddr, &cmd, sizeof(cmd))) in ethtool_get_features() 90 useraddr += sizeof(cmd); in ethtool_get_features() 91 if (copy_to_user(useraddr, features, copy_size * sizeof(*features))) in ethtool_get_features() 97 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features() argument 104 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in ethtool_set_features() 106 useraddr += sizeof(cmd); in ethtool_set_features() 111 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features() 226 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument [all …]
|
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
D | vfio_pci_nvlink2.c | 34 unsigned long useraddr; /* GPU RAM userspace address */ member 145 if (data->useraddr) in vfio_pci_nvgpu_mmap() 161 data->useraddr = vma->vm_start; in vfio_pci_nvgpu_mmap() 165 ret = (int) mm_iommu_newdev(data->mm, data->useraddr, in vfio_pci_nvgpu_mmap() 168 trace_vfio_pci_nvgpu_mmap(vdev->pdev, data->gpu_hpa, data->useraddr, in vfio_pci_nvgpu_mmap()
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 467 void __user *useraddr) in p80211netdev_ethtool() argument 476 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in p80211netdev_ethtool() 487 if (copy_to_user(useraddr, &info, sizeof(info))) in p80211netdev_ethtool() 501 if (copy_to_user(useraddr, &edata, sizeof(edata))) in p80211netdev_ethtool()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 2139 static int cxgb_extension_ioctl(struct net_device *dev, void __user *useraddr) in cxgb_extension_ioctl() argument 2146 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in cxgb_extension_ioctl() 2159 if (copy_from_user(&t, useraddr, sizeof(t))) in cxgb_extension_ioctl() 2259 if (copy_from_user(&t, useraddr, sizeof(t))) in cxgb_extension_ioctl() 2296 if (copy_to_user(useraddr, &t, sizeof(t))) in cxgb_extension_ioctl() 2308 if (copy_from_user(&edata, useraddr, sizeof(edata))) in cxgb_extension_ioctl() 2340 if (copy_to_user(useraddr, &edata, sizeof(edata))) in cxgb_extension_ioctl() 2350 if (copy_from_user(&t, useraddr, sizeof(t))) in cxgb_extension_ioctl() 2355 fw_data = memdup_user(useraddr + sizeof(t), t.len); in cxgb_extension_ioctl() 2375 if (copy_from_user(&m, useraddr, sizeof(m))) in cxgb_extension_ioctl() [all …]
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 364358 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); 364366 rc = ethtool_set_one_feature(dev, useraddr, ethcmd);
|