Searched refs:pipe_buffer (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/include/linux/ |
D | pipe_fs_i.h | 26 struct pipe_buffer { struct 78 struct pipe_buffer *bufs; 103 int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *); 109 void (*release)(struct pipe_inode_info *, struct pipe_buffer *); 119 bool (*try_steal)(struct pipe_inode_info *, struct pipe_buffer *); 124 bool (*get)(struct pipe_inode_info *, struct pipe_buffer *); 167 struct pipe_buffer *buf) in pipe_buf_get() 178 struct pipe_buffer *buf) in pipe_buf_release() 192 struct pipe_buffer *buf) in pipe_buf_confirm() 205 struct pipe_buffer *buf) in pipe_buf_try_steal() [all …]
|
D | splice.h | 65 typedef int (splice_actor)(struct pipe_inode_info *, struct pipe_buffer *, 78 struct pipe_buffer *);
|
/Linux-v6.1/fs/ |
D | splice.c | 47 struct pipe_buffer *buf) in page_cache_pipe_buf_try_steal() 92 struct pipe_buffer *buf) in page_cache_pipe_buf_release() 103 struct pipe_buffer *buf) in page_cache_pipe_buf_confirm() 148 struct pipe_buffer *buf) in user_page_pipe_buf_try_steal() 201 struct pipe_buffer *buf = &pipe->bufs[head & mask]; in splice_to_pipe() 230 ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in add_to_pipe() 346 struct pipe_buffer *buf, struct splice_desc *sd) in pipe_to_sendpage() 402 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in splice_from_pipe_feed() 447 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in eat_empty_buffer() 663 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in iter_file_splice_write() [all …]
|
D | pipe.c | 126 struct pipe_buffer *buf) in anon_pipe_buf_release() 142 struct pipe_buffer *buf) in anon_pipe_buf_try_steal() 166 struct pipe_buffer *buf) in generic_pipe_buf_try_steal() 193 bool generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in generic_pipe_buf_get() 208 struct pipe_buffer *buf) in generic_pipe_buf_release() 286 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in pipe_read() 459 struct pipe_buffer *buf = &pipe->bufs[(head - 1) & mask]; in pipe_write() 491 struct pipe_buffer *buf = &pipe->bufs[head & mask]; in pipe_write() 807 pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer), in alloc_pipe_info() 842 struct pipe_buffer *buf = pipe->bufs + i; in free_pipe_info() [all …]
|
/Linux-v6.1/fs/fuse/ |
D | dev.c | 646 struct pipe_buffer *pipebufs; 647 struct pipe_buffer *currbuf; 668 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish() 698 struct pipe_buffer *buf = cs->pipebufs; in fuse_copy_fill() 792 struct pipe_buffer *buf = cs->pipebufs; in fuse_try_move_page() 894 struct pipe_buffer *buf; in fuse_ref_page() 1373 struct pipe_buffer *bufs; in fuse_dev_splice_read() 1380 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read() 1967 struct pipe_buffer *bufs; in fuse_dev_splice_write() 1984 bufs = kvmalloc_array(count, sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write() [all …]
|
/Linux-v6.1/lib/ |
D | iov_iter.c | 189 static inline struct pipe_buffer *pipe_buf(const struct pipe_inode_info *pipe, in pipe_buf() 206 struct pipe_buffer *p; in sanity() 241 struct pipe_buffer *buf = pipe_buf(pipe, pipe->head++); in push_anon() 242 *buf = (struct pipe_buffer) { in push_anon() 255 struct pipe_buffer *buf = pipe_buf(pipe, pipe->head++); in push_page() 256 *buf = (struct pipe_buffer) { in push_page() 265 static inline int last_offset(const struct pipe_buffer *buf) in last_offset() 278 struct pipe_buffer *buf; in append_pipe() 321 struct pipe_buffer *buf = pipe_buf(pipe, head - 1); in copy_page_to_iter_pipe() 840 struct pipe_buffer *buf = pipe_buf(pipe, i->head); in pipe_advance() [all …]
|
/Linux-v6.1/kernel/ |
D | watch_queue.c | 59 struct pipe_buffer *buf) in watch_queue_pipe_buf_release() 103 struct pipe_buffer *buf; in post_one_notification()
|
D | relay.c | 1086 struct pipe_buffer *buf) in relay_pipe_buf_release()
|
/Linux-v6.1/net/smc/ |
D | smc_rx.c | 111 struct pipe_buffer *buf) in smc_rx_pipe_buf_release()
|
/Linux-v6.1/drivers/char/ |
D | mem.c | 471 static int pipe_to_null(struct pipe_inode_info *info, struct pipe_buffer *buf, in pipe_to_null()
|
D | virtio_console.c | 865 static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in pipe_to_sg()
|
/Linux-v6.1/fs/nfsd/ |
D | vfs.c | 868 nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in nfsd_splice_actor()
|
/Linux-v6.1/kernel/trace/ |
D | trace.c | 8208 struct pipe_buffer *buf) in buffer_pipe_buf_release() 8217 struct pipe_buffer *buf) in buffer_pipe_buf_get()
|