Home
last modified time | relevance | path

Searched refs:pipe_occupancy (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dpipe_fs_i.h175 static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail) in pipe_occupancy() function
187 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()
/linux/fs/
H A Dsplice.c877 if (remain && pipe_occupancy(pipe->head, tail) > 0) in splice_to_socket()