Lines Matching defs:size

201      * @param size Amount of data to read (in bytes).
203 void read(size_t offset, uint8_t *dst, size_t size) const;
216 * @param size Amount of data to read (in bytes).
218 void write(size_t offset, const uint8_t *src, size_t size);
220 * Retrieve the size of this descriptor.
222 * This method gets the size of a single descriptor. For incoming
231 size_t size() const { return desc.len; }
263 * @param size Size (in bytes).
265 void chainRead(size_t offset, uint8_t *dst, size_t size) const;
276 * @param size Size (in bytes).
278 void chainWrite(size_t offset, const uint8_t *src, size_t size);
280 * Retrieve the size of this descriptor chain.
282 * This method gets the size of a descriptor chain starting at
433 * Page size used by VirtIO.\ It's hard-coded to 4096 bytes in
444 * Instantiate a virtqueue with a fixed size. The size is
448 * @param size Size in descriptors/pages.
450 VirtQueue(PortProxy &proxy, uint16_t size);
455 /** Queue size in terms of number of descriptors */
482 VirtRing<T>(PortProxy &proxy, uint16_t size)
483 : header{0, 0}, ring(size), _proxy(proxy), _base(0) {}
512 T temp[ring.size()];
514 temp, sizeof(T) * ring.size());
515 for (int i = 0; i < ring.size(); ++i)
523 T temp[ring.size()];
524 for (int i = 0; i < ring.size(); ++i)
527 temp, sizeof(T) * ring.size());
576 * interface.\ The address needs to be multiplied by the page size
780 * size (fixed to 4096 bytes in the standard). For example, if the
795 * size (fixed to 4096 bytes in the standard). For example, if the
807 * Get the size (descriptors) of the currently active queue.