Lines Matching defs:head
85 rbuf->head = 0;127 if (rbuf->head != rbuf->tail) {208 pos = rbuf->head;211 rbuf->head = (pos + 1) & rbuf->lim;242 if (rbuf->head != rbuf->tail) {273 int head;277 head = rbuf->head;280 if (head == tail)282 if (head > tail)283 return (head - tail);285 return ((rbuf->lim + 1 - tail + head));