Searched refs:_reserved (Results 1 - 2 of 2) sorted by relevance

/gem5/src/dev/net/
H A Dpktfifo.hh91 unsigned _reserved; member in class:PacketFifo
95 : _counter(0), _maxsize(max), _size(0), _reserved(0) {}
101 unsigned reserved() const { return _reserved; }
102 unsigned avail() const { return _maxsize - _size - _reserved; }
110 _reserved += len;
111 return _reserved;
125 assert(_reserved <= ptr->length);
126 if (avail() < ptr->length - _reserved)
135 _reserved = 0;
157 _reserved
[all...]
H A Dpktfifo.cc92 paramOut(cp, base + ".reserved", _reserved);
105 paramIn(cp, base + ".reserved", _reserved);

Completed in 5 milliseconds