Lines Matching refs:osst_buffer
163 static struct osst_buffer *new_tape_buffer(int, int, int);
164 static int enlarge_buffer(struct osst_buffer *, int);
165 static void normalize_buffer(struct osst_buffer *);
166 static int append_to_buffer(const char __user *, struct osst_buffer *, int);
167 static int from_buffer(struct osst_buffer *, char __user *, int);
168 static int osst_zero_buffer_tail(struct osst_buffer *);
169 static int osst_copy_to_buffer(struct osst_buffer *, unsigned char *);
170 static int osst_copy_from_buffer(struct osst_buffer *, unsigned char *);
512 struct osst_buffer * STbuffer;
5303 static struct osst_buffer * new_tape_buffer( int from_initialization, int need_dma, int max_sg )
5307 struct osst_buffer *tb;
5314 i = sizeof(struct osst_buffer) + (osst_max_sg_segs - 1) * sizeof(struct scatterlist);
5336 static int enlarge_buffer(struct osst_buffer *STbuffer, int need_dma)
5409 static void normalize_buffer(struct osst_buffer *STbuffer)
5433 static int append_to_buffer(const char __user *ubp, struct osst_buffer *st_bp, int do_count)
5466 static int from_buffer(struct osst_buffer *st_bp, char __user *ubp, int do_count)
5498 static int osst_zero_buffer_tail(struct osst_buffer *st_bp)
5526 static int osst_copy_to_buffer(struct osst_buffer *st_bp, unsigned char *ptr)
5547 static int osst_copy_from_buffer(struct osst_buffer *st_bp, unsigned char *ptr)
5846 struct osst_buffer * buffer;