Home
last modified time | relevance | path

Searched refs:STbuffer (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/scsi/ !
Dst.c413 ST_buffer *STbuffer; in write_behind_check() local
416 STbuffer = STp->buffer; in write_behind_check()
431 STbuffer->buffer_bytes -= STbuffer->writing; in write_behind_check()
437 STps->drv_block += STbuffer->writing / STp->block_size; in write_behind_check()
439 STbuffer->writing = 0; in write_behind_check()
559 ST_buffer *STbuffer; in flush_buffer() local
562 STbuffer = STp->buffer; in flush_buffer()
3515 static int enlarge_buffer(ST_buffer * STbuffer, int new_size, int need_dma) in enlarge_buffer() argument
3519 normalize_buffer(STbuffer); in enlarge_buffer()
3521 max_segs = STbuffer->use_sg; in enlarge_buffer()
[all …]
Dosst.c373 OSST_buffer * STbuffer; in osst_write_behind_check() local
375 STbuffer = STp->buffer; in osst_write_behind_check()
396 if (STbuffer->writing < STbuffer->buffer_bytes) in osst_write_behind_check()
399 STbuffer->buffer_bytes -= STbuffer->writing; in osst_write_behind_check()
400 STbuffer->writing = 0; in osst_write_behind_check()
5221 static int enlarge_buffer(OSST_buffer *STbuffer, int new_size, int need_dma) in enlarge_buffer() argument
5225 normalize_buffer(STbuffer); in enlarge_buffer()
5227 max_segs = STbuffer->use_sg; in enlarge_buffer()
5230 nbr = max_segs - STbuffer->sg_segs; in enlarge_buffer()
5238 b_size * nbr < new_size - STbuffer->buffer_size; in enlarge_buffer()
[all …]