Lines Matching refs:blks
3054 int offset, transfer, blks = 0; in osst_flush_write_buffer() local
3093 blks = (offset + STp->block_size - 1) / STp->block_size; in osst_flush_write_buffer()
3113 name, blks, STp->frame_seq_number, in osst_flush_write_buffer()
3114 STp->logical_blk_num - blks, STp->logical_blk_num - 1); in osst_flush_write_buffer()
3117 STp->logical_blk_num - blks, STp->block_size, blks); in osst_flush_write_buffer()
3125 STp->logical_blk_num++, 0, blks=1); in osst_flush_write_buffer()
3128 osst_init_aux(STp, OS_FRAME_TYPE_HEADER, 0, 0, 0, blks=0); in osst_flush_write_buffer()
3136 name, offset, transfer, blks); in osst_flush_write_buffer()
3248 int blks; in osst_write_frame() local
3283 blks = STp->buffer->buffer_bytes / STp->block_size; in osst_write_frame()
3286 printk(OSST_DEB_MSG "%s:D: Writing %d blocks to frame %d, lblks %d-%d\n", name, blks, in osst_write_frame()
3287 STp->frame_seq_number, STp->logical_blk_num - blks, STp->logical_blk_num - 1); in osst_write_frame()
3290 STp->logical_blk_num - blks, STp->block_size, blks); in osst_write_frame()
3370 ssize_t i, do_count, blks, transfer; in osst_write() local
3583 blks = do_count / STp->block_size; in osst_write()
3584 STp->logical_blk_num += blks; /* logical_blk_num is incremented as data is moved from user */ in osst_write()
3633 STps->drv_block += blks; in osst_write()
3646 blks = count / STp->block_size; in osst_write()
3647 STp->logical_blk_num += blks; in osst_write()
3649 STps->drv_block += blks; in osst_write()