Lines Matching defs:buf

36 	struct rchan_buf *buf = vmf->vma->vm_private_data;  in relay_buf_fault()  local
86 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
111 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
152 struct rchan_buf *buf; in relay_create_buf() local
196 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
223 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
233 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
244 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
255 static int relay_subbuf_start(struct rchan_buf *buf, void *subbuf, in relay_subbuf_start()
273 struct rchan_buf *buf; in wakeup_readers() local
286 static void __relay_reset(struct rchan_buf *buf, unsigned int init) in __relay_reset()
324 struct rchan_buf *buf; in relay_reset() local
343 static inline void relay_set_buf_dentry(struct rchan_buf *buf, in relay_set_buf_dentry()
351 struct rchan_buf *buf, in relay_create_buf_file()
381 struct rchan_buf *buf = NULL; in relay_open_buf() local
428 static void relay_close_buf(struct rchan_buf *buf) in relay_close_buf()
439 struct rchan_buf *buf; in relay_prepare_cpu() local
486 struct rchan_buf *buf; in relay_open() local
543 struct rchan_buf *buf; member
578 struct rchan_buf *buf; in relay_late_setup_files() local
662 size_t relay_switch_subbuf(struct rchan_buf *buf, size_t length) in relay_switch_subbuf()
733 struct rchan_buf *buf; in relay_subbufs_consumed() local
757 struct rchan_buf *buf; in relay_close() local
790 struct rchan_buf *buf; in relay_flush() local
818 struct rchan_buf *buf = inode->i_private; in relay_file_open() local
834 struct rchan_buf *buf = filp->private_data; in relay_file_mmap() local
848 struct rchan_buf *buf = filp->private_data; in relay_file_poll() local
872 struct rchan_buf *buf = filp->private_data; in relay_file_release() local
881 static void relay_file_read_consume(struct rchan_buf *buf, in relay_file_read_consume()
915 static int relay_file_read_avail(struct rchan_buf *buf) in relay_file_read_avail()
960 struct rchan_buf *buf) in relay_file_read_subbuf_avail()
989 static size_t relay_file_read_start_pos(struct rchan_buf *buf) in relay_file_read_start_pos()
1015 static size_t relay_file_read_end_pos(struct rchan_buf *buf, in relay_file_read_end_pos()
1040 struct rchan_buf *buf = filp->private_data; in relay_file_read() local
1089 struct pipe_buffer *buf) in relay_pipe_buf_release()