Searched refs:new_head (Results 1 – 4 of 4) sorted by relevance
284 u16 new_head; in qcaspi_transmit() local327 new_head = qca->txr.head + 1; in qcaspi_transmit()328 if (new_head >= qca->txr.count) in qcaspi_transmit()329 new_head = 0; in qcaspi_transmit()330 qca->txr.head = new_head; in qcaspi_transmit()
102 unsigned long old_head, unsigned long new_head) in job_finished() argument104 if (old_head <= new_head) { in job_finished()105 if (offset > old_head && offset <= new_head) in job_finished()108 if (offset > old_head || offset <= new_head) in job_finished()121 unsigned long off, new_head, hv_ret; in cwq_intr() local129 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr()132 smp_processor_id(), new_head, hv_ret); in cwq_intr()134 for (off = q->head; off != new_head; off = spu_next_offset(q, off)) { in cwq_intr()138 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr()140 q->head = new_head; in cwq_intr()
487 int new_head = (list->head + 1) & (HIDRAW_BUFFER_SIZE - 1); in hidraw_report_event() local489 if (new_head == list->tail) in hidraw_report_event()497 list->head = new_head; in hidraw_report_event()
266 unsigned int new_head; in mousedev_notify_readers() local277 new_head = (client->head + 1) % PACKET_QUEUE_LEN; in mousedev_notify_readers()278 if (new_head != client->tail) { in mousedev_notify_readers()279 p = &client->packets[client->head = new_head]; in mousedev_notify_readers()