Home
last modified time | relevance | path

Searched refs:pipe_occupancy (Results 1 – 4 of 4) 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 Dpipe.c1310 n = pipe_occupancy(head, tail); in pipe_resize_ring()
H A Dsplice.c879 if (remain && pipe_occupancy(pipe->head, tail) > 0) in splice_to_socket()
/linux/fs/fuse/
H A Ddev.c2312 count = pipe_occupancy(head, tail); in fuse_dev_splice_write()