Lines Matching refs:tail
53 __u8 tail;
98 if (newhead != uhid->tail) {
688 if (uhid->head == uhid->tail)
692 uhid->head != uhid->tail);
701 if (uhid->head == uhid->tail) {
706 if (copy_to_user(buffer, uhid->outq[uhid->tail], len)) {
709 kfree(uhid->outq[uhid->tail]);
710 uhid->outq[uhid->tail] = NULL;
713 uhid->tail = (uhid->tail + 1) % UHID_BUFSIZE;
795 if (uhid->head != uhid->tail)