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.h184 static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail) in pipe_occupancy() function
196 return !pipe_occupancy(head, tail); in pipe_empty()
208 return pipe_occupancy(head, tail) >= limit; in pipe_full()
235 return pipe_occupancy(pipe->head, pipe->tail); in pipe_buf_usage()
/linux/fs/
H A Dpipe.c1284 n = pipe_occupancy(head, tail); in pipe_resize_ring()
H A Dsplice.c882 if (remain && pipe_occupancy(pipe->head, tail) > 0) in splice_to_socket()
/linux/fs/fuse/
H A Ddev.c2127 count = pipe_occupancy(head, tail); in fuse_dev_splice_write()