Lines Matching defs:buf

36 	struct rchan_buf *buf = vmf->vma->vm_private_data;  in relay_buf_fault()  local
83 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf()
108 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf()
149 struct rchan_buf *buf; in relay_create_buf() local
193 static void relay_destroy_buf(struct rchan_buf *buf) in relay_destroy_buf()
220 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() local
230 static int relay_buf_empty(struct rchan_buf *buf) in relay_buf_empty()
241 int relay_buf_full(struct rchan_buf *buf) in relay_buf_full()
252 static int relay_subbuf_start(struct rchan_buf *buf, void *subbuf, in relay_subbuf_start()
270 struct rchan_buf *buf; in wakeup_readers() local
283 static void __relay_reset(struct rchan_buf *buf, unsigned int init) in __relay_reset()
321 struct rchan_buf *buf; in relay_reset() local
340 static inline void relay_set_buf_dentry(struct rchan_buf *buf, in relay_set_buf_dentry()
348 struct rchan_buf *buf, in relay_create_buf_file()
378 struct rchan_buf *buf; in relay_open_buf() local
425 static void relay_close_buf(struct rchan_buf *buf) in relay_close_buf()
436 struct rchan_buf *buf; in relay_prepare_cpu() local
483 struct rchan_buf *buf; in relay_open() local
540 struct rchan_buf *buf; member
575 struct rchan_buf *buf; in relay_late_setup_files() local
659 size_t relay_switch_subbuf(struct rchan_buf *buf, size_t length) in relay_switch_subbuf()
730 struct rchan_buf *buf; in relay_subbufs_consumed() local
754 struct rchan_buf *buf; in relay_close() local
787 struct rchan_buf *buf; in relay_flush() local
815 struct rchan_buf *buf = inode->i_private; in relay_file_open() local
831 struct rchan_buf *buf = filp->private_data; in relay_file_mmap() local
845 struct rchan_buf *buf = filp->private_data; in relay_file_poll() local
869 struct rchan_buf *buf = filp->private_data; in relay_file_release() local
878 static void relay_file_read_consume(struct rchan_buf *buf, in relay_file_read_consume()
912 static int relay_file_read_avail(struct rchan_buf *buf) in relay_file_read_avail()
957 struct rchan_buf *buf) in relay_file_read_subbuf_avail()
986 static size_t relay_file_read_start_pos(struct rchan_buf *buf) in relay_file_read_start_pos()
1013 static size_t relay_file_read_end_pos(struct rchan_buf *buf, in relay_file_read_end_pos()
1038 struct rchan_buf *buf = filp->private_data; in relay_file_read() local