Searched refs:avail (Results 1 - 9 of 9) sorted by relevance

/gem5/src/dev/virtio/
H A Dvirtio_ring.h47 /* The Guest uses this in avail->flags to advise the Host: don't interrupt me
56 * at the end of the avail ring. Host should ignore the avail->flags field. */
57 /* The Host publishes the avail index for which it expects a kick
98 struct vring_avail *avail; member in struct:vring
129 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
137 vr->avail = (struct vring_avail *)((uint8_t*)p + num*sizeof(struct vring_desc));
138 vr->used = (struct vring_used *)(((unsigned long)&vr->avail->ring[num] + sizeof(uint16_t)
H A Dbase.cc229 avail(proxy, size), used(proxy, size),
266 avail.setAddress(addr_avail);
273 avail.read();
274 DPRINTF(VIO, "consumeDescriptor: _last_avail: %i, avail.idx: %i (->%i)\n",
275 _last_avail, avail.header.index,
276 avail.ring[_last_avail % used.ring.size()]);
277 if (_last_avail == avail.header.index)
280 VirtDescriptor::Index index(avail.ring[_last_avail % used.ring.size()]);
H A Dbase.hh547 VirtRing<VirtDescriptor::Index> avail; member in class:VirtQueue
551 /** Offset of last consumed descriptor in the VirtQueue::avail
/gem5/src/dev/net/
H A Dpktfifo.hh102 unsigned avail() const { return _maxsize - _size - _reserved; } function in class:PacketFifo
104 bool full() const { return avail() <= 0; }
109 assert(avail() >= len);
126 if (avail() < ptr->length - _reserved)
H A Detherswitch.hh150 // check if we exceed the available capacity (if avail() < 0)
152 int avail() const { return _maxsize - _size; } function in class:EtherSwitch::Interface::PortFifo
H A Dsinic.cc188 txdone = set_TxDone_Full(txdone, txFifo.avail() < regs.TxMaxCopy);
1000 txFifo.avail());
1026 txFifo.avail());
1063 if (txFifo.avail() - txPacket->length <
1099 assert(txPacket->length <= txFifo.avail());
1124 if (txFifo.avail() < regs.TxMaxCopy) {
1183 rxFifo.avail());
H A Detherswitch.cc85 while (avail() < 0) {
H A Dns_gige.cc1388 txFifo.avail());
1709 txXferLen = min<uint32_t>(txDescCnt, txFifo.avail());
1960 rxFifo.avail());
1978 if (rxFifo.avail() < packet->length) {
H A Di8254xGBe.cc2207 if (size > 0 && txFifo.avail() > size) {
2425 txFifo.avail());

Completed in 28 milliseconds