theq               35 kern/include/queue.h int           q_len(struct queue *theq);
theq              177 kern/lib/queue.c q_len(struct queue *theq)
theq              180 kern/lib/queue.c 	int tmp = theq->nextread;
theq              181 kern/lib/queue.c 	while (tmp != theq->nextwrite) {
theq              182 kern/lib/queue.c 		tmp = (tmp+1) % theq->size;