Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dpipe_fs_i.h21 struct pipe_buffer { struct
61 struct pipe_buffer *bufs;
83 int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *);
89 void (*release)(struct pipe_inode_info *, struct pipe_buffer *);
99 int (*steal)(struct pipe_inode_info *, struct pipe_buffer *);
104 bool (*get)(struct pipe_inode_info *, struct pipe_buffer *);
115 struct pipe_buffer *buf) in pipe_buf_get()
126 struct pipe_buffer *buf) in pipe_buf_release()
140 struct pipe_buffer *buf) in pipe_buf_confirm()
151 struct pipe_buffer *buf) in pipe_buf_steal()
[all …]
Dsplice.h65 typedef int (splice_actor)(struct pipe_inode_info *, struct pipe_buffer *,
78 struct pipe_buffer *);
/Linux-v5.4/fs/
Dpipe.c123 struct pipe_buffer *buf) in anon_pipe_buf_release()
139 struct pipe_buffer *buf) in anon_pipe_buf_steal()
164 struct pipe_buffer *buf) in generic_pipe_buf_steal()
192 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_confirm()
223 struct pipe_buffer *buf) in generic_pipe_buf_release()
260 void pipe_buf_mark_unmergeable(struct pipe_buffer *buf) in pipe_buf_mark_unmergeable()
266 static bool pipe_buf_can_merge(struct pipe_buffer *buf) in pipe_buf_can_merge()
291 struct pipe_buffer *buf = pipe->bufs + curbuf; in pipe_read()
405 struct pipe_buffer *buf = pipe->bufs + lastbuf; in pipe_write()
[all …]
Dsplice.c48 struct pipe_buffer *buf) in page_cache_pipe_buf_steal()
93 struct pipe_buffer *buf) in page_cache_pipe_buf_release()
104 struct pipe_buffer *buf) in page_cache_pipe_buf_confirm()
149 struct pipe_buffer *buf) in user_page_pipe_buf_steal()
201 struct pipe_buffer *buf = pipe->bufs + newbuf; in splice_to_pipe()
229 ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in add_to_pipe()
335 struct pipe_buffer *buf) in generic_pipe_buf_nosteal()
435 struct pipe_buffer *buf, struct splice_desc *sd) in pipe_to_sendpage()
487 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in splice_from_pipe_feed()
723 struct pipe_buffer *buf = pipe->bufs + idx; in iter_file_splice_write()
[all …]
/Linux-v5.4/fs/fuse/
Ddev.c641 struct pipe_buffer *pipebufs;
642 struct pipe_buffer *currbuf;
663 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish()
693 struct pipe_buffer *buf = cs->pipebufs; in fuse_copy_fill()
787 struct pipe_buffer *buf = cs->pipebufs; in fuse_try_move_page()
881 struct pipe_buffer *buf; in fuse_ref_page()
1339 struct pipe_buffer *bufs; in fuse_dev_splice_read()
1346 bufs = kvmalloc_array(pipe->buffers, sizeof(struct pipe_buffer), in fuse_dev_splice_read()
1942 struct pipe_buffer *bufs; in fuse_dev_splice_write()
1954 bufs = kvmalloc_array(pipe->nrbufs, sizeof(struct pipe_buffer), in fuse_dev_splice_write()
[all …]
/Linux-v5.4/net/smc/
Dsmc_rx.c109 struct pipe_buffer *buf) in smc_rx_pipe_buf_release()
133 struct pipe_buffer *buf) in smc_rx_pipe_buf_nosteal()
/Linux-v5.4/lib/
Diov_iter.c331 struct pipe_buffer *p; in sanity()
371 struct pipe_buffer *buf; in copy_page_to_iter_pipe()
478 static inline bool allocated(struct pipe_buffer *buf) in allocated()
1013 struct pipe_buffer *buf; in pipe_advance()
/Linux-v5.4/drivers/char/
Dmem.c693 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.4/kernel/
Drelay.c1171 struct pipe_buffer *buf) in relay_pipe_buf_release()
/Linux-v5.4/fs/nfsd/
Dvfs.c803 nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in nfsd_splice_actor()
/Linux-v5.4/kernel/trace/
Dtrace.c7350 struct pipe_buffer *buf) in buffer_pipe_buf_release()
7359 struct pipe_buffer *buf) in buffer_pipe_buf_get()