Searched refs:pipe_occupancy (Results 1 – 2 of 2) sorted by relevance
175 static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail) in pipe_occupancy() function187 return !pipe_occupancy(head, tail); in pipe_empty()199 return pipe_occupancy(head, tail) >= limit; in pipe_full()226 return pipe_occupancy(pipe->head, pipe->tail); in pipe_buf_usage()
877 if (remain && pipe_occupancy(pipe->head, tail) > 0) in splice_to_socket()