Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vhost/
H A Dtest.c317 u64 __user *featurep = argp; in vhost_test_ioctl() local
332 if (copy_to_user(featurep, &features, sizeof features)) in vhost_test_ioctl()
336 if (copy_from_user(&features, featurep, sizeof features)) in vhost_test_ioctl()
H A Dvdpa.c390 static long vhost_vdpa_get_features(struct vhost_vdpa *v, u64 __user *featurep) in vhost_vdpa_get_features() argument
398 if (copy_to_user(featurep, &features, sizeof(features))) in vhost_vdpa_get_features()
415 static long vhost_vdpa_set_features(struct vhost_vdpa *v, u64 __user *featurep) in vhost_vdpa_set_features() argument
431 if (copy_from_user(&features, featurep, sizeof(features))) in vhost_vdpa_set_features()
694 u64 __user *featurep = argp; in vhost_vdpa_unlocked_ioctl() local
699 if (copy_from_user(&features, featurep, sizeof(features))) in vhost_vdpa_unlocked_ioctl()
766 if (copy_to_user(featurep, &features, sizeof(features))) in vhost_vdpa_unlocked_ioctl()
H A Dnet.c1701 u64 __user *featurep = argp; in vhost_net_ioctl() local
1713 if (copy_to_user(featurep, &features, sizeof features)) in vhost_net_ioctl()
1717 if (copy_from_user(&features, featurep, sizeof features)) in vhost_net_ioctl()
1724 if (copy_to_user(featurep, &features, sizeof(features))) in vhost_net_ioctl()
1728 if (copy_from_user(&features, featurep, sizeof(features))) in vhost_net_ioctl()
H A Dscsi.c2028 u64 __user *featurep = argp; in vhost_scsi_ioctl() local
2070 if (copy_to_user(featurep, &features, sizeof features)) in vhost_scsi_ioctl()
2074 if (copy_from_user(&features, featurep, sizeof features)) in vhost_scsi_ioctl()