Lines Matching refs:pipe_inode_info
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 *);
119 bool (*try_steal)(struct pipe_inode_info *, struct pipe_buffer *);
124 bool (*get)(struct pipe_inode_info *, struct pipe_buffer *);
134 static inline bool pipe_has_watch_queue(const struct pipe_inode_info *pipe) in pipe_has_watch_queue()
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()
202 static inline __must_check bool pipe_buf_get(struct pipe_inode_info *pipe, in pipe_buf_get()
213 static inline void pipe_buf_release(struct pipe_inode_info *pipe, in pipe_buf_release()
227 static inline int pipe_buf_confirm(struct pipe_inode_info *pipe, in pipe_buf_confirm()
240 static inline bool pipe_buf_try_steal(struct pipe_inode_info *pipe, in pipe_buf_try_steal()
248 static inline void pipe_discard_from(struct pipe_inode_info *pipe, in pipe_discard_from()
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);
271 void free_pipe_info(struct pipe_inode_info *);
274 bool generic_pipe_buf_get(struct pipe_inode_info *, struct pipe_buffer *);
275 bool generic_pipe_buf_try_steal(struct pipe_inode_info *, struct pipe_buffer *);
276 void generic_pipe_buf_release(struct pipe_inode_info *, struct pipe_buffer *);
287 int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots);
289 struct pipe_inode_info *get_pipe_info(struct file *file, bool for_splice);