Searched refs:pipe_buffer (Results 1 – 11 of 11) sorted by relevance
/linux/include/linux/ |
H A D | pipe_fs_i.h | 26 struct pipe_buffer { struct 114 struct pipe_buffer *bufs; 139 int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *); 145 void (*release)(struct pipe_inode_info *, struct pipe_buffer *); 155 bool (*try_steal)(struct pipe_inode_info *, struct pipe_buffer *); 160 bool (*get)(struct pipe_inode_info *, struct pipe_buffer *); 243 static inline struct pipe_buffer *pipe_buf(const struct pipe_inode_info *pipe, in pipe_buf() 253 static inline struct pipe_buffer *pipe_head_buf(const struct pipe_inode_info *pipe) in pipe_head_buf() 266 struct pipe_buffer *buf) in pipe_buf_get() 277 struct pipe_buffer *buf) in pipe_buf_release() [all …]
|
H A D | splice.h | 66 typedef int (splice_actor)(struct pipe_inode_info *, struct pipe_buffer *, 78 ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf);
|
/linux/fs/ |
H A D | pipe.c | 116 struct pipe_buffer *buf) in anon_pipe_buf_release() 132 struct pipe_buffer *buf) in anon_pipe_buf_try_steal() 156 struct pipe_buffer *buf) in generic_pipe_buf_try_steal() 183 bool generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in generic_pipe_buf_get() 198 struct pipe_buffer *buf) in generic_pipe_buf_release() 220 struct pipe_buffer *buf, in pipe_update_tail() 304 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in pipe_read() 475 struct pipe_buffer *buf = &pipe->bufs[(head - 1) & mask]; in pipe_write() 507 struct pipe_buffer *buf; in pipe_write() 812 pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer), in alloc_pipe_info() [all …]
|
H A D | splice.c | 65 struct pipe_buffer *buf) in page_cache_pipe_buf_try_steal() 109 struct pipe_buffer *buf) in page_cache_pipe_buf_release() 120 struct pipe_buffer *buf) in page_cache_pipe_buf_confirm() 163 struct pipe_buffer *buf) in user_page_pipe_buf_try_steal() 217 struct pipe_buffer *buf = &pipe->bufs[head & mask]; in splice_to_pipe() 246 ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in add_to_pipe() 386 struct pipe_buffer *buf = pipe_head_buf(pipe); in copy_splice_read() 389 *buf = (struct pipe_buffer) { in copy_splice_read() 454 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in splice_from_pipe_feed() 499 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in eat_empty_buffer() [all …]
|
/linux/fs/fuse/ |
H A D | dev.c | 720 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish() 750 struct pipe_buffer *buf = cs->pipebufs; in fuse_copy_fill() 852 struct pipe_buffer *buf = cs->pipebufs; in fuse_try_move_page() 953 struct pipe_buffer *buf; in fuse_ref_page() 1441 struct pipe_buffer *bufs; in fuse_dev_splice_read() 1448 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read() 2113 struct pipe_buffer *bufs; in fuse_dev_splice_write() 2129 bufs = kvmalloc_array(count, sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write() 2146 struct pipe_buffer *ibuf; in fuse_dev_splice_write() 2147 struct pipe_buffer *obuf; in fuse_dev_splice_write() [all …]
|
/linux/kernel/ |
H A D | watch_queue.c | 58 struct pipe_buffer *buf) in watch_queue_pipe_buf_release() 102 struct pipe_buffer *buf; in post_one_notification()
|
/linux/drivers/char/ |
H A D | mem.c | 454 static int pipe_to_null(struct pipe_inode_info *info, struct pipe_buffer *buf, in pipe_to_null()
|
H A D | virtio_console.c | 855 static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in pipe_to_sg()
|
/linux/mm/ |
H A D | shmem.c | 3484 struct pipe_buffer *buf) in zero_pipe_buf_get() 3490 struct pipe_buffer *buf) in zero_pipe_buf_release() 3495 struct pipe_buffer *buf) in zero_pipe_buf_try_steal() 3514 struct pipe_buffer *buf = pipe_head_buf(pipe); in splice_zeropage_into_pipe() 3516 *buf = (struct pipe_buffer) { in splice_zeropage_into_pipe()
|
H A D | filemap.c | 2900 struct pipe_buffer *buf = pipe_head_buf(pipe); in splice_folio_into_pipe() 2903 *buf = (struct pipe_buffer) { in splice_folio_into_pipe()
|
/linux/kernel/trace/ |
H A D | trace.c | 8026 struct pipe_buffer *buf) in buffer_pipe_buf_release() 8035 struct pipe_buffer *buf) in buffer_pipe_buf_get()
|