search for: detach_inbuf

Displaying 8 results from an estimated 8 matches for "detach_inbuf".

Did you mean: detach_buf
2007 May 31
5
[PATCH RFC 1/3] virtio infrastructure
..._inbuf/add_outbuf + * vdev: the virtio_device we're talking about. + * Use the virtio_sync wrapper, to avoid unnecessary calls. + * @detach_outbuf: make sure sent sg can no longer be read. + * vdev: the virtio_device we're talking about. + * id: the identifier returned from add_outbuf. + * @detach_inbuf: make sure sent sg can no longer be written to. + * vdev: the virtio_device we're talking about. + * id: the identifier returned from add_inbuf. + */ +struct virtio_ops { + unsigned long (*add_outbuf)(struct virtio_device *vdev, + const struct scatterlist sg[], + unsigned int num,...
2007 May 31
5
[PATCH RFC 1/3] virtio infrastructure
..._inbuf/add_outbuf + * vdev: the virtio_device we're talking about. + * Use the virtio_sync wrapper, to avoid unnecessary calls. + * @detach_outbuf: make sure sent sg can no longer be read. + * vdev: the virtio_device we're talking about. + * id: the identifier returned from add_outbuf. + * @detach_inbuf: make sure sent sg can no longer be written to. + * vdev: the virtio_device we're talking about. + * id: the identifier returned from add_inbuf. + */ +struct virtio_ops { + unsigned long (*add_outbuf)(struct virtio_device *vdev, + const struct scatterlist sg[], + unsigned int num,...
2007 May 31
5
[PATCH RFC 1/3] virtio infrastructure
..._inbuf/add_outbuf + * vdev: the virtio_device we're talking about. + * Use the virtio_sync wrapper, to avoid unnecessary calls. + * @detach_outbuf: make sure sent sg can no longer be read. + * vdev: the virtio_device we're talking about. + * id: the identifier returned from add_outbuf. + * @detach_inbuf: make sure sent sg can no longer be written to. + * vdev: the virtio_device we're talking about. + * id: the identifier returned from add_inbuf. + */ +struct virtio_ops { + unsigned long (*add_outbuf)(struct virtio_device *vdev, + const struct scatterlist sg[], + unsigned int num,...
2007 Jun 07
4
[PATCH RFC 0/3] Virtio draft II
Hi again all, It turns out that networking really wants ordered requests, which the previous patches didn't allow. This patch changes it to a callback mechanism; kudos to Avi. The downside is that locking is more complicated, and after a few dead ends I implemented the simplest solution: the struct virtio_device contains the spinlock to use, and it's held when your callbacks get
2007 Jun 07
4
[PATCH RFC 0/3] Virtio draft II
Hi again all, It turns out that networking really wants ordered requests, which the previous patches didn't allow. This patch changes it to a callback mechanism; kudos to Avi. The downside is that locking is more complicated, and after a few dead ends I implemented the simplest solution: the struct virtio_device contains the spinlock to use, and it's held when your callbacks get
2007 Jun 07
4
[PATCH RFC 0/3] Virtio draft II
Hi again all, It turns out that networking really wants ordered requests, which the previous patches didn't allow. This patch changes it to a callback mechanism; kudos to Avi. The downside is that locking is more complicated, and after a few dead ends I implemented the simplest solution: the struct virtio_device contains the spinlock to use, and it's held when your callbacks get
2007 Jul 06
6
[RFC 0/4] Using a generic bus_type for virtio
This is a subject that came up in the virtio BOF session at OLS. I decided to go forward and implement something that I like, based on the latest virtio proposal at the time, which was draft III. It's not a drop-in replacement, because it's missing a host implementation. I first started my own, which is not done yet, but wanted to do one for lguest and one for emulated PCI next. It's
2007 Jul 06
6
[RFC 0/4] Using a generic bus_type for virtio
This is a subject that came up in the virtio BOF session at OLS. I decided to go forward and implement something that I like, based on the latest virtio proposal at the time, which was draft III. It's not a drop-in replacement, because it's missing a host implementation. I first started my own, which is not done yet, but wanted to do one for lguest and one for emulated PCI next. It's