Lines Matching refs:_round
101 uint32_t _round;
156 uint32_t _round;
160 : _cq(cq), _idx(idx), _round(round) {}
177 iterator() : _cq(nullptr), _idx(0), _round(0) { }
180 : _cq(it._cq), _idx(it._idx), _round(it._round) {}
187 _round = it._round;
191 ~iterator() { _cq = nullptr; _idx = 0; _round = 0; }
209 return _cq != nullptr && _cq->isValidIdx(_idx, _round);
223 _round == that._round;
267 ++_round;
298 (_idx == 0 && _round != _cq->_round + 1) ||
299 (_idx !=0 && _round != _cq->_round)));
309 --_round;
321 _round += (t + _idx) / _cq->capacity();
332 _round += (-t + _idx) / _cq->capacity();
374 if (this->_round != that._round) {
375 ret += ((this->_round - that._round) * _cq->capacity());
392 return (this->_round < that._round) ||
393 (this->_round == that._round && _idx < that._idx);
414 : _capacity(size), _head(1), _tail(0), _empty(true), _round(0)
428 _round = 0;
482 (round == _round && idx <= _tail && (
484 (round + 1 == _round &&
541 --_round;
559 ++_round;
597 return iterator(this, _head, _round - 1);
599 return iterator(this, _head, _round);
609 _round - 1);
612 _round);
618 auto round = _round;
627 auto round = _round;
636 * possible, then the round value is _round, unless _tail is at the end of
637 * the storage, in which case the PTE wraps up and becomes _round + 1
645 uint32_t round = _round;