Home
last modified time | relevance | path

Searched refs:featurep (Results 1 – 3 of 3) 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.c392 static long vhost_vdpa_get_features(struct vhost_vdpa *v, u64 __user *featurep) in vhost_vdpa_get_features() argument
400 if (copy_to_user(featurep, &features, sizeof(features))) in vhost_vdpa_get_features()
417 static long vhost_vdpa_set_features(struct vhost_vdpa *v, u64 __user *featurep) in vhost_vdpa_set_features() argument
433 if (copy_from_user(&features, featurep, sizeof(features))) in vhost_vdpa_set_features()
685 u64 __user *featurep = argp; in vhost_vdpa_unlocked_ioctl() local
690 if (copy_from_user(&features, featurep, sizeof(features))) in vhost_vdpa_unlocked_ioctl()
757 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()