Searched refs:newhead (Results 1 – 3 of 3) sorted by relevance
97 __u8 newhead; in uhid_queue() local99 newhead = (uhid->head + 1) % UHID_BUFSIZE; in uhid_queue()101 if (newhead != uhid->tail) { in uhid_queue()103 uhid->head = newhead; in uhid_queue()
77 __u8 newhead; in wiimote_queue() local100 newhead = (wdata->queue.head + 1) % WIIMOTE_BUFSIZE; in wiimote_queue()103 wdata->queue.head = newhead; in wiimote_queue()105 } else if (newhead != wdata->queue.tail) { in wiimote_queue()106 wdata->queue.head = newhead; in wiimote_queue()
1147 struct fuse_forget_link **newhead = &head; in dequeue_forget() local1150 for (count = 0; *newhead != NULL && count < max; count++) in dequeue_forget()1151 newhead = &(*newhead)->next; in dequeue_forget()1153 fiq->forget_list_head.next = *newhead; in dequeue_forget()1154 *newhead = NULL; in dequeue_forget()