search for: virtio_sync

Displaying 6 results from an estimated 6 matches for "virtio_sync".

2007 May 31
5
[PATCH RFC 1/3] virtio infrastructure
...ce + * sg: the description of the buffer(s). + * num: the size of the sg array. + * used: the length sent (set once data received). + * Returns an identifier or an error (eg. -ENOSPC). + * @sync: update after add_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...
2007 May 31
5
[PATCH RFC 1/3] virtio infrastructure
...ce + * sg: the description of the buffer(s). + * num: the size of the sg array. + * used: the length sent (set once data received). + * Returns an identifier or an error (eg. -ENOSPC). + * @sync: update after add_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...
2007 May 31
5
[PATCH RFC 1/3] virtio infrastructure
...ce + * sg: the description of the buffer(s). + * num: the size of the sg array. + * used: the length sent (set once data received). + * Returns an identifier or an error (eg. -ENOSPC). + * @sync: update after add_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...
2007 Jun 07
4
[PATCH RFC 0/3] Virtio draft II
...nges: 1) struct virtio_device has a "lock" and "priv" fields (the latter for the driver to use, esp from callbacks). 2) add_outbuf and add_inbuf take a cb function ptr and void *, rather than a used pointer. 3) lengths of buffers must now fit in an unsigned int, not long. 4) the virtio_sync wrapper is gone. Block driver changes (+30 lines) 1) Convert to callbacks not interrupt. 2) Ensure both outbuf & inbuf have been used up before finishing request. This avoids potential remote access to freed memory. Net driver changes (+6 lines) 1) Convert to callbacks. 2) Store id in skb-&g...
2007 Jun 07
4
[PATCH RFC 0/3] Virtio draft II
...nges: 1) struct virtio_device has a "lock" and "priv" fields (the latter for the driver to use, esp from callbacks). 2) add_outbuf and add_inbuf take a cb function ptr and void *, rather than a used pointer. 3) lengths of buffers must now fit in an unsigned int, not long. 4) the virtio_sync wrapper is gone. Block driver changes (+30 lines) 1) Convert to callbacks not interrupt. 2) Ensure both outbuf & inbuf have been used up before finishing request. This avoids potential remote access to freed memory. Net driver changes (+6 lines) 1) Convert to callbacks. 2) Store id in skb-&g...
2007 Jun 07
4
[PATCH RFC 0/3] Virtio draft II
...nges: 1) struct virtio_device has a "lock" and "priv" fields (the latter for the driver to use, esp from callbacks). 2) add_outbuf and add_inbuf take a cb function ptr and void *, rather than a used pointer. 3) lengths of buffers must now fit in an unsigned int, not long. 4) the virtio_sync wrapper is gone. Block driver changes (+30 lines) 1) Convert to callbacks not interrupt. 2) Ensure both outbuf & inbuf have been used up before finishing request. This avoids potential remote access to freed memory. Net driver changes (+6 lines) 1) Convert to callbacks. 2) Store id in skb-&g...