/openbmc/linux/include/linux/ |
H A D | pipe_fs_i.h | 58 struct pipe_inode_info { struct 103 int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *); argument 109 void (*release)(struct pipe_inode_info *, struct pipe_buffer *); 124 bool (*get)(struct pipe_inode_info *, struct pipe_buffer *); 262 void pipe_lock(struct pipe_inode_info *); 263 void pipe_unlock(struct pipe_inode_info *); 264 void pipe_double_lock(struct pipe_inode_info *, struct pipe_inode_info *); 267 void pipe_wait_readable(struct pipe_inode_info *); 268 void pipe_wait_writable(struct pipe_inode_info *); 270 struct pipe_inode_info *alloc_pipe_info(void); [all …]
|
H A D | splice.h | 66 typedef int (splice_actor)(struct pipe_inode_info *, struct pipe_buffer *, 68 typedef int (splice_direct_actor)(struct pipe_inode_info *, 71 extern ssize_t splice_from_pipe(struct pipe_inode_info *, struct file *, 74 extern ssize_t __splice_from_pipe(struct pipe_inode_info *, 76 extern ssize_t splice_to_pipe(struct pipe_inode_info *, 78 extern ssize_t add_to_pipe(struct pipe_inode_info *, 81 struct pipe_inode_info *pipe, size_t len, 91 extern ssize_t splice_to_socket(struct pipe_inode_info *pipe, struct file *out, 97 extern int splice_grow_spd(const struct pipe_inode_info *, struct splice_pipe_desc *);
|
H A D | watch_queue.h | 41 struct pipe_inode_info *pipe; /* Pipe we use as a buffer, NULL if queue closed */ 88 extern long watch_queue_set_size(struct pipe_inode_info *, unsigned int); 89 extern long watch_queue_set_filter(struct pipe_inode_info *, 91 extern int watch_queue_init(struct pipe_inode_info *); 126 static inline int watch_queue_init(struct pipe_inode_info *pipe) in watch_queue_init()
|
H A D | net.h | 30 struct pipe_inode_info; 211 struct pipe_inode_info *pipe, size_t len, unsigned int flags);
|
H A D | fs.h | 60 struct pipe_inode_info; 729 struct pipe_inode_info *i_pipe; 1938 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); 1939 ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); 2996 struct pipe_inode_info *pipe, 2999 struct pipe_inode_info *pipe, 3001 extern ssize_t iter_file_splice_write(struct pipe_inode_info *,
|
H A D | sched.h | 59 struct pipe_inode_info; 1331 struct pipe_inode_info *splice_pipe;
|
/openbmc/linux/fs/ |
H A D | pipe.c | 85 void pipe_lock(struct pipe_inode_info *pipe) in pipe_lock() 94 void pipe_unlock(struct pipe_inode_info *pipe) in pipe_unlock() 111 void pipe_double_lock(struct pipe_inode_info *pipe1, in pipe_double_lock() 112 struct pipe_inode_info *pipe2) in pipe_double_lock() 235 struct pipe_inode_info *pipe = filp->private_data; in pipe_read() 788 struct pipe_inode_info *alloc_pipe_info(void) in alloc_pipe_info() 790 struct pipe_inode_info *pipe; in alloc_pipe_info() 836 void free_pipe_info(struct pipe_inode_info *pipe) in free_pipe_info() 880 struct pipe_inode_info *pipe; in get_pipe_inode() 1104 struct pipe_inode_info *pipe; in fifo_open() [all …]
|
H A D | splice.c | 321 struct pipe_inode_info *pipe, in copy_splice_read() 1013 struct pipe_inode_info *pipe; in splice_direct_to_actor() 1220 struct pipe_inode_info *opipe, 1224 struct pipe_inode_info *opipe, in splice_file_to_pipe() 1246 struct pipe_inode_info *ipipe; in do_splice() 1247 struct pipe_inode_info *opipe; in do_splice() 1340 struct pipe_inode_info *ipipe; in __do_splice() 1341 struct pipe_inode_info *opipe; in __do_splice() 1383 struct pipe_inode_info *pipe, in iter_to_pipe() 1476 struct pipe_inode_info *pipe; in vmsplice_to_pipe() [all …]
|
H A D | internal.h | 17 struct pipe_inode_info; 239 struct pipe_inode_info *opipe,
|
/openbmc/linux/kernel/ |
H A D | watch_queue.c | 57 static void watch_queue_pipe_buf_release(struct pipe_inode_info *pipe, in watch_queue_pipe_buf_release() 101 struct pipe_inode_info *pipe = wqueue->pipe; in post_one_notification() 238 long watch_queue_set_size(struct pipe_inode_info *pipe, unsigned int nr_notes) in watch_queue_set_size() 307 long watch_queue_set_filter(struct pipe_inode_info *pipe, in watch_queue_set_filter() 664 struct pipe_inode_info *pipe; in get_watch_queue() 685 int watch_queue_init(struct pipe_inode_info *pipe) in watch_queue_init()
|
H A D | relay.c | 1086 static void relay_pipe_buf_release(struct pipe_inode_info *pipe, in relay_pipe_buf_release() 1110 struct pipe_inode_info *pipe, in subbuf_splice_actor() 1202 struct pipe_inode_info *pipe, in relay_file_splice_read()
|
/openbmc/linux/net/smc/ |
H A D | smc_rx.h | 23 struct pipe_inode_info *pipe, size_t len, int flags);
|
H A D | smc_rx.c | 114 static void smc_rx_pipe_buf_release(struct pipe_inode_info *pipe, in smc_rx_pipe_buf_release() 149 static int smc_rx_splice(struct pipe_inode_info *pipe, char *src, size_t len, in smc_rx_splice() 345 struct pipe_inode_info *pipe, size_t len, int flags) in smc_rx_recvmsg()
|
/openbmc/linux/drivers/char/ |
H A D | mem.c | 465 static int pipe_to_null(struct pipe_inode_info *info, struct pipe_buffer *buf, in pipe_to_null() 471 static ssize_t splice_write_null(struct pipe_inode_info *pipe, struct file *out, in splice_write_null()
|
/openbmc/linux/fs/afs/ |
H A D | file.c | 29 struct pipe_inode_info *pipe, 599 struct pipe_inode_info *pipe, in afs_file_splice_read()
|
/openbmc/linux/fs/overlayfs/ |
H A D | file.c | 438 struct pipe_inode_info *pipe, size_t len, in ovl_splice_read() 466 static ssize_t ovl_splice_write(struct pipe_inode_info *pipe, struct file *out, in ovl_splice_write()
|
/openbmc/linux/fs/ecryptfs/ |
H A D | file.c | 58 struct pipe_inode_info *pipe, in ecryptfs_splice_read_update_atime()
|
/openbmc/linux/fs/coda/ |
H A D | file.c | 100 struct pipe_inode_info *pipe, in coda_file_splice_read()
|
/openbmc/linux/net/tls/ |
H A D | tls.h | 161 struct pipe_inode_info *pipe,
|
/openbmc/linux/fs/orangefs/ |
H A D | file.c | 341 struct pipe_inode_info *pipe, in orangefs_file_splice_read()
|
/openbmc/linux/fs/9p/ |
H A D | vfs_file.c | 386 struct pipe_inode_info *pipe, in v9fs_file_splice_read()
|
/openbmc/linux/fs/fuse/ |
H A D | dev.c | 650 struct pipe_inode_info *pipe; 1371 struct pipe_inode_info *pipe, in fuse_dev_splice_read() 1965 static ssize_t fuse_dev_splice_write(struct pipe_inode_info *pipe, in fuse_dev_splice_write()
|
/openbmc/linux/fs/nfs/ |
H A D | file.c | 182 nfs_file_splice_read(struct file *in, loff_t *ppos, struct pipe_inode_info *pipe, in nfs_file_splice_read()
|
/openbmc/linux/fs/zonefs/ |
H A D | file.c | 674 struct pipe_inode_info *pipe, in zonefs_file_splice_read()
|
/openbmc/linux/mm/ |
H A D | shmem.c | 2895 static bool zero_pipe_buf_get(struct pipe_inode_info *pipe, in zero_pipe_buf_get() 2901 static void zero_pipe_buf_release(struct pipe_inode_info *pipe, in zero_pipe_buf_release() 2906 static bool zero_pipe_buf_try_steal(struct pipe_inode_info *pipe, in zero_pipe_buf_try_steal() 2918 static size_t splice_zeropage_into_pipe(struct pipe_inode_info *pipe, in splice_zeropage_into_pipe() 2941 struct pipe_inode_info *pipe, in shmem_file_splice_read()
|