Lines Matching refs:st_buffer
186 static int enlarge_buffer(struct st_buffer *, int, int);
187 static void clear_buffer(struct st_buffer *);
188 static void normalize_buffer(struct st_buffer *);
189 static int append_to_buffer(const char __user *, struct st_buffer *, int);
190 static int from_buffer(struct st_buffer *, char __user *, int);
191 static void move_buffer_data(struct st_buffer *, int);
193 static int sgl_map_user_pages(struct st_buffer *, const unsigned int,
195 static int sgl_unmap_user_pages(struct st_buffer *, const unsigned int, int);
595 struct st_buffer *STbuffer;
762 struct st_buffer *STbuffer;
1475 struct st_buffer *STbp = STp->buffer;
1534 struct st_buffer *STbp;
1560 struct st_buffer *STbp;
1836 struct st_buffer *STbp;
2027 struct st_buffer *STbp = STp->buffer;
3688 static struct st_buffer *new_tape_buffer(int need_dma, int max_sg)
3690 struct st_buffer *tb;
3692 tb = kzalloc(sizeof(struct st_buffer), GFP_ATOMIC);
3716 static int enlarge_buffer(struct st_buffer * STbuffer, int new_size, int need_dma)
3780 static void clear_buffer(struct st_buffer * st_bp)
3792 static void normalize_buffer(struct st_buffer * STbuffer)
3809 static int append_to_buffer(const char __user *ubp, struct st_buffer * st_bp, int do_count)
3841 static int from_buffer(struct st_buffer * st_bp, char __user *ubp, int do_count)
3873 static void move_buffer_data(struct st_buffer * st_bp, int offset)
3991 struct st_buffer *buffer;
4547 static int sgl_map_user_pages(struct st_buffer *STbp,
4611 static int sgl_unmap_user_pages(struct st_buffer *STbp,