Searched refs:nvqs (Results 1 - 8 of 8) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/vhost/
H A Dvhost.h124 int nvqs; member in struct:vhost_dev
132 long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue *vqs, int nvqs);
H A Dvhost.c216 struct vhost_virtqueue *vqs, int nvqs)
221 dev->nvqs = nvqs;
231 for (i = 0; i < dev->nvqs; ++i) {
331 for (i = 0; i < dev->nvqs; ++i) {
411 for (i = 0; i < d->nvqs; ++i) {
522 if (idx >= d->nvqs)
738 for (i = 0; i < d->nvqs; ++i) {
767 for (i = 0; i < d->nvqs; ++i) {
215 vhost_dev_init(struct vhost_dev *dev, struct vhost_virtqueue *vqs, int nvqs) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dvirtio_config.h67 * nvqs: the number of virtqueues to find
90 int (*find_vqs)(struct virtio_device *, unsigned nvqs,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/virtio/
H A Dvirtio_pci.c483 static int vp_try_to_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
503 for (i = 0; i < nvqs; ++i)
518 for (i = 0; i < nvqs; ++i) {
558 static int vp_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
566 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, true, true);
570 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names,
575 return vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names,
H A Dvirtio_balloon.c285 int err, nvqs; local
301 nvqs = virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ) ? 3 : 2;
302 err = vdev->config->find_vqs(vdev, nvqs, vqs, callbacks, names);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/kvm/
H A Dkvm_virtio.c239 static int kvm_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
248 if (nvqs > kdev->desc->num_vq)
251 for (i = 0; i < nvqs; ++i) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/lguest/
H A Dlguest_device.c344 static int lg_find_vqs(struct virtio_device *vdev, unsigned nvqs, argument
353 if (nvqs > ldev->desc->num_vq)
356 for (i = 0; i < nvqs; ++i) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dvirtio_net.c914 int nvqs; local
976 nvqs = virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_VQ) ? 3 : 2;
978 err = vdev->config->find_vqs(vdev, nvqs, vqs, callbacks, names);

Completed in 203 milliseconds