Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dpipe_fs_i.h26 struct pipe_buffer { struct
76 struct pipe_buffer *bufs;
101 int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *);
107 void (*release)(struct pipe_inode_info *, struct pipe_buffer *);
117 bool (*try_steal)(struct pipe_inode_info *, struct pipe_buffer *);
122 bool (*get)(struct pipe_inode_info *, struct pipe_buffer *);
185 struct pipe_buffer *buf) in pipe_buf_get()
196 struct pipe_buffer *buf) in pipe_buf_release()
210 struct pipe_buffer *buf) in pipe_buf_confirm()
223 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.10/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.c110 struct pipe_buffer *buf) in anon_pipe_buf_release()
126 struct pipe_buffer *buf) in anon_pipe_buf_try_steal()
150 struct pipe_buffer *buf) in generic_pipe_buf_try_steal()
177 bool generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) in generic_pipe_buf_get()
192 struct pipe_buffer *buf) in generic_pipe_buf_release()
269 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in pipe_read()
447 struct pipe_buffer *buf = &pipe->bufs[(head - 1) & mask]; in pipe_write()
479 struct pipe_buffer *buf = &pipe->bufs[head & mask]; in pipe_write()
791 pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer), in alloc_pipe_info()
828 struct pipe_buffer *buf = pipe->bufs + i; in free_pipe_info()
[all …]
/Linux-v5.10/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()
799 struct pipe_buffer *buf = cs->pipebufs; in fuse_try_move_page()
899 struct pipe_buffer *buf; in fuse_ref_page()
1359 struct pipe_buffer *bufs; in fuse_dev_splice_read()
1366 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read()
1953 struct pipe_buffer *bufs; in fuse_dev_splice_write()
1970 bufs = kvmalloc_array(count, sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write()
[all …]
/Linux-v5.10/lib/
Diov_iter.c344 struct pipe_buffer *p; in sanity()
379 struct pipe_buffer *buf; in copy_page_to_iter_pipe()
490 static inline bool allocated(struct pipe_buffer *buf) in allocated()
540 struct pipe_buffer *buf = &pipe->bufs[iter_head & p_mask]; in push_pipe()
1024 struct pipe_buffer *buf; in pipe_truncate()
1048 struct pipe_buffer *buf; in pipe_advance()
1097 struct pipe_buffer *b = &pipe->bufs[i_head & p_mask]; in iov_iter_revert()
/Linux-v5.10/kernel/
Dwatch_queue.c38 struct pipe_buffer *buf) in watch_queue_pipe_buf_release()
77 struct pipe_buffer *buf; in post_one_notification()
Drelay.c1174 struct pipe_buffer *buf) in relay_pipe_buf_release()
/Linux-v5.10/net/smc/
Dsmc_rx.c109 struct pipe_buffer *buf) in smc_rx_pipe_buf_release()
/Linux-v5.10/drivers/char/
Dmem.c697 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.10/fs/nfsd/
Dvfs.c843 nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf, in nfsd_splice_actor()
/Linux-v5.10/kernel/trace/
Dtrace.c7626 struct pipe_buffer *buf) in buffer_pipe_buf_release()
7635 struct pipe_buffer *buf) in buffer_pipe_buf_get()