Lines Matching refs:VirtDescriptor
46 VirtDescriptor::VirtDescriptor(PortProxy &_memProxy, VirtQueue &_queue,
53 VirtDescriptor::VirtDescriptor(VirtDescriptor &&other) noexcept
55 *this = std::forward<VirtDescriptor>(other);
58 VirtDescriptor::~VirtDescriptor() noexcept
62 VirtDescriptor &
63 VirtDescriptor::operator=(VirtDescriptor &&rhs) noexcept
74 VirtDescriptor::update()
87 "VirtDescriptor(%i): Addr: 0x%x, Len: %i, Flags: 0x%x, "
93 VirtDescriptor::updateChain()
95 VirtDescriptor *desc(this);
105 VirtDescriptor::dump() const
122 VirtDescriptor::dumpChain() const
127 const VirtDescriptor *desc(this);
133 VirtDescriptor *
134 VirtDescriptor::next() const
144 VirtDescriptor::read(size_t offset, uint8_t *dst, size_t size) const
146 DPRINTF(VIO, "VirtDescriptor(%p, 0x%x, %i)::read: offset: %i, dst: 0x%x, size: %i\n",
156 VirtDescriptor::write(size_t offset, const uint8_t *src, size_t size)
158 DPRINTF(VIO, "VirtDescriptor(%p, 0x%x, %i)::write: offset: %i, src: 0x%x, size: %i\n",
168 VirtDescriptor::chainRead(size_t offset, uint8_t *dst, size_t size) const
170 const VirtDescriptor *desc(this);
191 VirtDescriptor::chainWrite(size_t offset, const uint8_t *src, size_t size)
193 VirtDescriptor *desc(this);
214 VirtDescriptor::chainSize() const
217 const VirtDescriptor *desc(this);
270 VirtDescriptor *
280 VirtDescriptor::Index index(avail.ring[_last_avail % used.ring.size()]);
283 VirtDescriptor *d(&descriptors[index]);
290 VirtQueue::produceDescriptor(VirtDescriptor *desc, uint32_t len)
309 for (const VirtDescriptor &d : descriptors)
319 VirtDescriptor *d;