Lines Matching refs:OSST_buffer
146 static OSST_buffer **osst_buffers = NULL;
150 static OSST_buffer *new_tape_buffer(int, int);
151 static int enlarge_buffer(OSST_buffer *, int, int);
152 static void normalize_buffer(OSST_buffer *);
153 static int append_to_buffer(const char *, OSST_buffer *, int);
154 static int from_buffer(OSST_buffer *, char *, int);
155 static int osst_zero_buffer_tail(OSST_buffer *);
156 static int osst_copy_to_buffer(OSST_buffer *, unsigned char *);
157 static int osst_copy_from_buffer(OSST_buffer *, unsigned char *);
373 OSST_buffer * STbuffer; in osst_write_behind_check()
5119 static OSST_buffer * new_tape_buffer( int from_initialization, int need_dma ) in new_tape_buffer()
5122 OSST_buffer *tb; in new_tape_buffer()
5132 i = sizeof(OSST_buffer) + (osst_max_sg_segs - 1) * sizeof(struct scatterlist); in new_tape_buffer()
5133 tb = (OSST_buffer *)kmalloc(i, priority); in new_tape_buffer()
5221 static int enlarge_buffer(OSST_buffer *STbuffer, int new_size, int need_dma) in enlarge_buffer()
5284 static void normalize_buffer(OSST_buffer *STbuffer) in normalize_buffer()
5308 static int append_to_buffer(const char *ubp, OSST_buffer *st_bp, int do_count) in append_to_buffer()
5341 static int from_buffer(OSST_buffer *st_bp, char *ubp, int do_count) in from_buffer()
5373 static int osst_zero_buffer_tail(OSST_buffer *st_bp) in osst_zero_buffer_tail()
5401 static int osst_copy_to_buffer(OSST_buffer *st_bp, unsigned char *ptr) in osst_copy_to_buffer()
5422 static int osst_copy_from_buffer(OSST_buffer *st_bp, unsigned char *ptr) in osst_copy_from_buffer()
5794 (OSST_buffer **)kmalloc(osst_template.dev_max * sizeof(OSST_buffer *),