Home
last modified time | relevance | path

Searched refs:pipe_buffer (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/include/linux/
Dpipe_fs_i.h26 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 *);
187 struct pipe_buffer *buf) in pipe_buf_get()
198 struct pipe_buffer *buf) in pipe_buf_release()
212 struct pipe_buffer *buf) in pipe_buf_confirm()
225 struct pipe_buffer *buf) in pipe_buf_try_steal()
[all …]
Dsplice.h65 typedef int (splice_actor)(struct pipe_inode_info *, struct pipe_buffer *,
78 struct pipe_buffer *);
/Linux-v5.15/fs/
Dsplice.c47 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()
349 struct pipe_buffer *buf, struct splice_desc *sd) in pipe_to_sendpage()
405 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in splice_from_pipe_feed()
450 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in eat_empty_buffer()
666 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in iter_file_splice_write()
[all …]
Dpipe.c125 struct pipe_buffer *buf) in anon_pipe_buf_release()
141 struct pipe_buffer *buf) in anon_pipe_buf_try_steal()
165 struct pipe_buffer *buf) in generic_pipe_buf_try_steal()
192 bool generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in generic_pipe_buf_get()
207 struct pipe_buffer *buf) in generic_pipe_buf_release()
284 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in pipe_read()
457 struct pipe_buffer *buf = &pipe->bufs[(head - 1) & mask]; in pipe_write()
489 struct pipe_buffer *buf = &pipe->bufs[head & mask]; in pipe_write()
805 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-v5.15/fs/fuse/
Ddev.c654 struct pipe_buffer *pipebufs;
655 struct pipe_buffer *currbuf;
676 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish()
706 struct pipe_buffer *buf = cs->pipebufs; in fuse_copy_fill()
800 struct pipe_buffer *buf = cs->pipebufs; in fuse_try_move_page()
896 struct pipe_buffer *buf; in fuse_ref_page()
1365 struct pipe_buffer *bufs; in fuse_dev_splice_read()
1372 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read()
1959 struct pipe_buffer *bufs; in fuse_dev_splice_write()
1976 bufs = kvmalloc_array(count, sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write()
[all …]
/Linux-v5.15/lib/
Diov_iter.c353 struct pipe_buffer *p; in sanity()
388 struct pipe_buffer *buf; in copy_page_to_iter_pipe()
479 static inline bool allocated(struct pipe_buffer *buf) in allocated()
529 struct pipe_buffer *buf = &pipe->bufs[iter_head & p_mask]; in push_pipe()
939 struct pipe_buffer *buf; in pipe_truncate()
961 struct pipe_buffer *buf; in pipe_advance()
1050 struct pipe_buffer *b = &pipe->bufs[i_head & p_mask]; in iov_iter_revert()
/Linux-v5.15/kernel/
Dwatch_queue.c38 struct pipe_buffer *buf) in watch_queue_pipe_buf_release()
77 struct pipe_buffer *buf; in post_one_notification()
Drelay.c1089 struct pipe_buffer *buf) in relay_pipe_buf_release()
/Linux-v5.15/net/smc/
Dsmc_rx.c110 struct pipe_buffer *buf) in smc_rx_pipe_buf_release()
/Linux-v5.15/drivers/char/
Dmem.c471 static int pipe_to_null(struct pipe_inode_info *info, struct pipe_buffer *buf, in pipe_to_null()
Dvirtio_console.c864 static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in pipe_to_sg()
/Linux-v5.15/fs/nfsd/
Dvfs.c822 nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in nfsd_splice_actor()
/Linux-v5.15/kernel/trace/
Dtrace.c8114 struct pipe_buffer *buf) in buffer_pipe_buf_release()
8123 struct pipe_buffer *buf) in buffer_pipe_buf_get()