Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Dst.c665 struct st_partstat *STps; in write_behind_check() local
689 STps = &(STp->ps[STp->partition]); in write_behind_check()
690 if (STps->drv_block >= 0) { in write_behind_check()
692 STps->drv_block++; in write_behind_check()
694 STps->drv_block += STbuffer->writing / STp->block_size; in write_behind_check()
710 STps->drv_block = -1; in write_behind_check()
767 struct st_partstat *STps; in st_flush_write_buffer() local
793 STps = &(STp->ps[STp->partition]); in st_flush_write_buffer()
805 if (STps->drv_block >= 0) in st_flush_write_buffer()
806 STps->drv_block += blks; in st_flush_write_buffer()
[all …]
Dosst.c621 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_verify_frame() local
701 STps->eof = ST_FM_HIT; in osst_verify_frame()
717 STps->eof = ST_EOD_1; in osst_verify_frame()
737 STps->eof = ST_NOEOF; in osst_verify_frame()
1106 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_initiate_read() local
1112 if (STps->rw != ST_READING) { /* Initialize read operation */ in osst_initiate_read()
1113 if (STps->rw == ST_WRITING || STp->dirty) { in osst_initiate_read()
1118 STps->rw = ST_READING; in osst_initiate_read()
1144 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_get_logical_frame() local
1159 return (STps->eof); in osst_get_logical_frame()
[all …]