Lines Matching defs:tail
54 unsigned int tail; /* circular buffer tail */
416 CIRC_CNT_TO_END(bc->head, bc->tail, BUF_SIZE),
419 ret = local_ev_byte_channel_send(bc->handle, &len, bc->buf + bc->tail);
423 bc->tail = (bc->tail + len) & (BUF_SIZE - 1);
425 count = CIRC_CNT(bc->head, bc->tail, BUF_SIZE);
430 if (CIRC_CNT(bc->head, bc->tail, BUF_SIZE))
479 len = CIRC_SPACE_TO_END(bc->head, bc->tail, BUF_SIZE);
546 count = CIRC_SPACE(bc->head, bc->tail, BUF_SIZE);
694 bc->tail = 0;