Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dpipe_fs_i.h158 static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail) in pipe_occupancy() function
172 return pipe_occupancy(head, tail) >= limit; in pipe_full()
/linux/fs/
H A Dsplice.c334 used = pipe_occupancy(pipe->head, pipe->tail); in copy_splice_read()
882 if (remain && pipe_occupancy(pipe->head, tail) > 0) in splice_to_socket()
971 p_space = pipe->max_usage - pipe_occupancy(pipe->head, pipe->tail); in do_splice_read()
H A Dpipe.c1280 n = pipe_occupancy(head, tail); in pipe_resize_ring()
/linux/drivers/char/
H A Dvirtio_console.c933 occupancy = pipe_occupancy(pipe->head, pipe->tail); in port_fops_splice_write()
/linux/fs/fuse/
H A Ddev.c1395 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) { in fuse_dev_splice_read()
/linux/mm/
H A Dfilemap.c2881 used = pipe_occupancy(pipe->head, pipe->tail); in filemap_splice_read()
H A Dshmem.c2982 used = pipe_occupancy(pipe->head, pipe->tail); in shmem_file_splice_read()