search for: get_vq

Displaying 2 results from an estimated 2 matches for "get_vq".

Did you mean: set_vq
2007 Nov 06
3
virtio config_ops refactoring
...get)(struct virtio_device *vdev, unsigned id, void *buf, unsigned len); bool (*set)(struct virtio_device *vdev, unsigned id, const void *buf, unsigned len); u8 (*get_status)(struct virtio_device *vdev); void (*set_status)(struct virtio_device *vdev, u8 status); struct virtqueue *(*get_vq)(struct virtio_device *vdev, unsigned index, bool (*callback)(struct virtqueue *)); void (*del_vq)(struct virtqueue *vq); }; config_ops->get() returns false if the id is invalid as does ->set(). get_vq() returns NULL if the index is not a valid virtqueue (and we'll mandate that a...
2007 Nov 06
3
virtio config_ops refactoring
...get)(struct virtio_device *vdev, unsigned id, void *buf, unsigned len); bool (*set)(struct virtio_device *vdev, unsigned id, const void *buf, unsigned len); u8 (*get_status)(struct virtio_device *vdev); void (*set_status)(struct virtio_device *vdev, u8 status); struct virtqueue *(*get_vq)(struct virtio_device *vdev, unsigned index, bool (*callback)(struct virtqueue *)); void (*del_vq)(struct virtqueue *vq); }; config_ops->get() returns false if the id is invalid as does ->set(). get_vq() returns NULL if the index is not a valid virtqueue (and we'll mandate that a...