Home
last modified time | relevance | path

Searched refs:featurep (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/vhost/
H A Dtest.c324 u64 __user *featurep = argp; in vhost_test_ioctl() local
339 if (copy_to_user(featurep, &features, sizeof features)) in vhost_test_ioctl()
344 if (copy_from_user(&features, featurep, sizeof features)) in vhost_test_ioctl()
H A Dvdpa.c266 static long vhost_vdpa_get_features(struct vhost_vdpa *v, u64 __user *featurep) in vhost_vdpa_get_features() argument
274 if (copy_to_user(featurep, &features, sizeof(features))) in vhost_vdpa_get_features()
280 static long vhost_vdpa_set_features(struct vhost_vdpa *v, u64 __user *featurep) in vhost_vdpa_set_features() argument
293 if (copy_from_user(&features, featurep, sizeof(features))) in vhost_vdpa_set_features()
447 u64 __user *featurep = argp; in vhost_vdpa_unlocked_ioctl() local
452 if (copy_from_user(&features, featurep, sizeof(features))) in vhost_vdpa_unlocked_ioctl()
496 if (copy_to_user(featurep, &features, sizeof(features))) in vhost_vdpa_unlocked_ioctl()
H A Dnet.c1696 u64 __user *featurep = argp; in vhost_net_ioctl() local
1708 if (copy_to_user(featurep, &features, sizeof features)) in vhost_net_ioctl()
1712 if (copy_from_user(&features, featurep, sizeof features)) in vhost_net_ioctl()
1719 if (copy_to_user(featurep, &features, sizeof(features))) in vhost_net_ioctl()
1723 if (copy_from_user(&features, featurep, sizeof(features))) in vhost_net_ioctl()
H A Dscsi.c1882 u64 __user *featurep = argp; in vhost_scsi_ioctl() local
1924 if (copy_to_user(featurep, &features, sizeof features)) in vhost_scsi_ioctl()
1928 if (copy_from_user(&features, featurep, sizeof features)) in vhost_scsi_ioctl()