Lines Matching refs:tail
53 __u8 tail;
98 if (newhead != uhid->tail) {
687 if (uhid->head == uhid->tail)
691 uhid->head != uhid->tail);
700 if (uhid->head == uhid->tail) {
705 if (copy_to_user(buffer, uhid->outq[uhid->tail], len)) {
708 kfree(uhid->outq[uhid->tail]);
709 uhid->outq[uhid->tail] = NULL;
712 uhid->tail = (uhid->tail + 1) % UHID_BUFSIZE;
794 if (uhid->head != uhid->tail)