Lines Matching defs:last
37 * @last: the last sequence number marked as ready for retrieve
56 uint32_t last;
132 while (head != READ_ONCE(slot->last)) {
136 * data visibility of 'last' and 'head' could be out of
137 * order since memory updating of 'last' and 'head' are
141 * 'last' is behind 'head', that is to say, there must
143 * by condition 'last != head && last - head <= nr_objs'
144 * that is equivalent to 'last - head - 1 < nr_objs' as
145 * 'last' and 'head' are both unsigned int32
147 if (READ_ONCE(slot->last) - head - 1 >= pool->nr_objs) {
209 smp_store_release(&slot->last, tail + 1);
249 * only when the last outstanding object is dropped could the whole