Searched refs:pipe_buffer (Results 1 – 10 of 10) 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 | 143 struct pipe_buffer *buf) in anon_pipe_buf_release() 151 struct pipe_buffer *buf) in anon_pipe_buf_try_steal() 175 struct pipe_buffer *buf) in generic_pipe_buf_try_steal() 202 bool generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in generic_pipe_buf_get() 217 struct pipe_buffer *buf) in generic_pipe_buf_release() 239 struct pipe_buffer *buf, in pipe_update_tail() 322 struct pipe_buffer *buf = pipe_buf(pipe, tail); in anon_pipe_read() 478 struct pipe_buffer *buf = pipe_buf(pipe, head - 1); in anon_pipe_write() 509 struct pipe_buffer *buf; in anon_pipe_write() 815 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() 216 struct pipe_buffer *buf = pipe_buf(pipe, head); in splice_to_pipe() 245 ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in add_to_pipe() 384 struct pipe_buffer *buf = pipe_head_buf(pipe); in copy_splice_read() 387 *buf = (struct pipe_buffer) { in copy_splice_read() 451 struct pipe_buffer *buf = pipe_buf(pipe, tail); in splice_from_pipe_feed() 495 struct pipe_buffer *buf = pipe_buf(pipe, tail); in eat_empty_buffer() [all …]
|
/linux/fs/fuse/ |
H A D | dev.c | 832 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish() 862 struct pipe_buffer *buf = cs->pipebufs; in fuse_copy_fill() 964 struct pipe_buffer *buf = cs->pipebufs; in fuse_try_move_folio() 1065 struct pipe_buffer *buf; in fuse_ref_folio() 1554 struct pipe_buffer *bufs; in fuse_dev_splice_read() 1561 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read() 2252 struct pipe_buffer *bufs; in fuse_dev_splice_write() 2268 bufs = kvmalloc_array(count, sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write() 2285 struct pipe_buffer *ibuf; in fuse_dev_splice_write() 2286 struct pipe_buffer *obuf; in fuse_dev_splice_write() [all …]
|
/linux/mm/ |
H A D | shmem.c | 3535 struct pipe_buffer *buf) in zero_pipe_buf_get() 3541 struct pipe_buffer *buf) in zero_pipe_buf_release() 3546 struct pipe_buffer *buf) in zero_pipe_buf_try_steal() 3565 struct pipe_buffer *buf = pipe_head_buf(pipe); in splice_zeropage_into_pipe() 3567 *buf = (struct pipe_buffer) { in splice_zeropage_into_pipe()
|
H A D | filemap.c | 2922 struct pipe_buffer *buf = pipe_head_buf(pipe); in splice_folio_into_pipe() 2925 *buf = (struct pipe_buffer) { in splice_folio_into_pipe()
|
/linux/drivers/char/ |
H A D | virtio_console.c | 856 static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in pipe_to_sg()
|
/linux/fs/nfsd/ |
H A D | vfs.c | 980 nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in nfsd_splice_actor()
|
/linux/kernel/trace/ |
H A D | trace.c | 8363 struct pipe_buffer *buf) in buffer_pipe_buf_release() 8372 struct pipe_buffer *buf) in buffer_pipe_buf_get()
|