Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dpipe_fs_i.h26 struct pipe_buffer { struct
105 struct pipe_buffer *bufs;
130 int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *);
136 void (*release)(struct pipe_inode_info *, struct pipe_buffer *);
146 bool (*try_steal)(struct pipe_inode_info *, struct pipe_buffer *);
151 bool (*get)(struct pipe_inode_info *, struct pipe_buffer *);
234 static inline struct pipe_buffer *pipe_buf(const struct pipe_inode_info *pipe, in pipe_buf()
244 static inline struct pipe_buffer *pipe_head_buf(const struct pipe_inode_info *pipe) in pipe_head_buf()
257 struct pipe_buffer *buf) in pipe_buf_get()
268 struct pipe_buffer *buf) in pipe_buf_release()
[all …]
H A Dsplice.h66 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 Dpipe.c143 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()
479 struct pipe_buffer *buf = pipe_buf(pipe, head - 1); in anon_pipe_write()
511 struct pipe_buffer *buf; in anon_pipe_write()
817 pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer), in alloc_pipe_info()
[all …]
H A Dsplice.c65 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 Dfuse_dev_i.h27 struct pipe_buffer *pipebufs;
28 struct pipe_buffer *currbuf;
H A Ddev.c852 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish()
882 struct pipe_buffer *buf = cs->pipebufs; in fuse_copy_fill()
984 struct pipe_buffer *buf = cs->pipebufs; in fuse_try_move_folio()
1085 struct pipe_buffer *buf; in fuse_ref_folio()
1594 struct pipe_buffer *bufs; in fuse_dev_splice_read()
1601 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read()
2299 struct pipe_buffer *bufs; in fuse_dev_splice_write()
2314 bufs = kvmalloc_array(count, sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write()
2331 struct pipe_buffer *ibuf; in fuse_dev_splice_write()
2332 struct pipe_buffer *obuf; in fuse_dev_splice_write()
[all …]
/linux/kernel/
H A Dwatch_queue.c58 struct pipe_buffer *buf) in watch_queue_pipe_buf_release()
102 struct pipe_buffer *buf; in post_one_notification()
/linux/drivers/char/
H A Dmem.c439 static int pipe_to_null(struct pipe_inode_info *info, struct pipe_buffer *buf, in pipe_to_null()
H A Dvirtio_console.c856 static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in pipe_to_sg()
/linux/mm/
H A Dshmem.c3497 struct pipe_buffer *buf) in zero_pipe_buf_get()
3503 struct pipe_buffer *buf) in zero_pipe_buf_release()
3508 struct pipe_buffer *buf) in zero_pipe_buf_try_steal()
3527 struct pipe_buffer *buf = pipe_head_buf(pipe); in splice_zeropage_into_pipe()
3529 *buf = (struct pipe_buffer) { in splice_zeropage_into_pipe()
H A Dfilemap.c3010 struct pipe_buffer *buf = pipe_head_buf(pipe); in splice_folio_into_pipe()
3013 *buf = (struct pipe_buffer) { in splice_folio_into_pipe()
/linux/fs/nfsd/
H A Dvfs.c983 nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in nfsd_splice_actor()
/linux/kernel/trace/
H A Dtrace.c8754 struct pipe_buffer *buf) in buffer_pipe_buf_release()
8763 struct pipe_buffer *buf) in buffer_pipe_buf_get()