Searched refs:headp (Results 1 – 1 of 1) sorted by relevance
221 if (*tailp > *headp) in eca_circular_buffer_flush_to_cdev()222 n = *tailp - *headp; in eca_circular_buffer_flush_to_cdev()223 else if (*tailp < *headp) in eca_circular_buffer_flush_to_cdev()224 n = bufp->size - *headp; in eca_circular_buffer_flush_to_cdev()234 *headp = 0; in eca_circular_buffer_flush_to_cdev()237 *headp = (*headp + *nb_ops_flushed) % bufp->size; in eca_circular_buffer_flush_to_cdev()690 if (*tailp > *headp) in eca_circular_buffer_flush_to_evdev()691 n = *tailp - *headp; in eca_circular_buffer_flush_to_evdev()692 else if (*tailp < *headp) in eca_circular_buffer_flush_to_evdev()700 *headp = 0; in eca_circular_buffer_flush_to_evdev()[all …]