Home
last modified time | relevance | path

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

/linux-6.6.21/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 *);
180 static inline struct pipe_buffer *pipe_buf(const struct pipe_inode_info *pipe, in pipe_buf()
190 static inline struct pipe_buffer *pipe_head_buf(const struct pipe_inode_info *pipe) in pipe_head_buf()
203 struct pipe_buffer *buf) in pipe_buf_get()
214 struct pipe_buffer *buf) in pipe_buf_release()
[all …]
Dsplice.h66 typedef int (splice_actor)(struct pipe_inode_info *, struct pipe_buffer *,
79 struct pipe_buffer *);
/linux-6.6.21/fs/
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->bufs[head & mask]; in splice_to_pipe()
245 ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in add_to_pipe()
385 struct pipe_buffer *buf = pipe_head_buf(pipe); in copy_splice_read()
388 *buf = (struct pipe_buffer) { in copy_splice_read()
453 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in splice_from_pipe_feed()
498 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in eat_empty_buffer()
[all …]
Dpipe.c126 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()
458 struct pipe_buffer *buf = &pipe->bufs[(head - 1) & mask]; in pipe_write()
490 struct pipe_buffer *buf; in pipe_write()
806 pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer), in alloc_pipe_info()
841 struct pipe_buffer *buf = pipe->bufs + i; in free_pipe_info()
[all …]
/linux-6.6.21/fs/fuse/
Ddev.c648 struct pipe_buffer *pipebufs;
649 struct pipe_buffer *currbuf;
670 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish()
700 struct pipe_buffer *buf = cs->pipebufs; in fuse_copy_fill()
794 struct pipe_buffer *buf = cs->pipebufs; in fuse_try_move_page()
897 struct pipe_buffer *buf; in fuse_ref_page()
1376 struct pipe_buffer *bufs; in fuse_dev_splice_read()
1383 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read()
1970 struct pipe_buffer *bufs; in fuse_dev_splice_write()
1987 bufs = kvmalloc_array(count, sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write()
[all …]
/linux-6.6.21/kernel/
Dwatch_queue.c58 struct pipe_buffer *buf) in watch_queue_pipe_buf_release()
102 struct pipe_buffer *buf; in post_one_notification()
Drelay.c1087 struct pipe_buffer *buf) in relay_pipe_buf_release()
/linux-6.6.21/net/smc/
Dsmc_rx.c115 struct pipe_buffer *buf) in smc_rx_pipe_buf_release()
/linux-6.6.21/drivers/char/
Dmem.c464 static int pipe_to_null(struct pipe_inode_info *info, struct pipe_buffer *buf, in pipe_to_null()
Dvirtio_console.c858 static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in pipe_to_sg()
/linux-6.6.21/mm/
Dshmem.c2889 struct pipe_buffer *buf) in zero_pipe_buf_get()
2895 struct pipe_buffer *buf) in zero_pipe_buf_release()
2900 struct pipe_buffer *buf) in zero_pipe_buf_try_steal()
2919 struct pipe_buffer *buf = pipe_head_buf(pipe); in splice_zeropage_into_pipe()
2921 *buf = (struct pipe_buffer) { in splice_zeropage_into_pipe()
Dfilemap.c2859 struct pipe_buffer *buf = pipe_head_buf(pipe); in splice_folio_into_pipe()
2862 *buf = (struct pipe_buffer) { in splice_folio_into_pipe()
/linux-6.6.21/fs/nfsd/
Dvfs.c939 nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in nfsd_splice_actor()
/linux-6.6.21/kernel/trace/
Dtrace.c8405 struct pipe_buffer *buf) in buffer_pipe_buf_release()
8414 struct pipe_buffer *buf) in buffer_pipe_buf_get()