Searched refs:do_count (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | osst.c | 3142 ssize_t i, do_count, blks, transfer; in osst_write() local 3354 do_count = (STp->buffer)->buffer_blocks * STp->block_size - in osst_write() 3356 if (do_count > count) in osst_write() 3357 do_count = count; in osst_write() 3359 i = append_to_buffer(b_point, STp->buffer, do_count); in osst_write() 3365 blks = do_count / STp->block_size; in osst_write() 3372 if (transfer <= do_count) { in osst_write() 3373 pos += do_count - transfer; in osst_write() 3374 count -= do_count - transfer; in osst_write() 3376 STps->drv_block += (do_count - transfer) / STp->block_size; in osst_write() [all …]
|
D | st.c | 1193 ssize_t i, do_count, blks, transfer; in st_write() local 1385 do_count = count; in st_write() 1387 do_count = (STp->buffer)->buffer_blocks * STp->block_size - in st_write() 1389 if (do_count > count) in st_write() 1390 do_count = count; in st_write() 1393 i = append_to_buffer(b_point, STp->buffer, do_count); in st_write() 1401 blks = transfer = do_count; in st_write() 1430 residual = do_count; in st_write() 1435 if (residual <= do_count) { in st_write() 1437 pos += do_count - residual; in st_write() [all …]
|