Lines Matching refs:p_head
345 unsigned int p_head = pipe->head; in sanity() local
348 unsigned int p_occupancy = pipe_occupancy(p_head, p_tail); in sanity()
356 if (unlikely(i_head != p_head - 1)) in sanity()
363 if (i_head != p_head) in sanity()
370 p_head, p_tail, pipe->ring_size); in sanity()
935 unsigned int p_head = pipe->head; in pipe_truncate() local
938 if (!pipe_empty(p_head, p_tail)) { in pipe_truncate()
948 while (p_head != i_head) { in pipe_truncate()
949 p_head--; in pipe_truncate()
950 pipe_buf_release(pipe, &pipe->bufs[p_head & p_mask]); in pipe_truncate()
953 pipe->head = p_head; in pipe_truncate()