Lines Matching refs:head
85 * increment ring->head to explicitly monopolize the buffer to avoid
160 __u16 head = bl->head;
162 if (unlikely(smp_load_acquire(&br->tail) == head))
165 head &= bl->mask;
167 if (bl->is_mmap || head < IO_BUFFER_LIST_BUF_PER_PAGE) {
168 buf = &br->bufs[head];
170 int off = head & (IO_BUFFER_LIST_BUF_PER_PAGE - 1);
171 int index = head / IO_BUFFER_LIST_BUF_PER_PAGE;
193 bl->head++;
264 i = bl->buf_ring->tail - bl->head;
674 /* cannot disambiguate full vs empty due to head/tail size */