Searched refs:this_count (Results 1 – 3 of 3) sorted by relevance
259 int this_count = scsi_bufflen(SCpnt); in sr_done() local260 int good_bytes = (result == 0 ? this_count : 0); in sr_done()296 if (good_bytes < 0 || good_bytes >= this_count) in sr_done()321 good_bytes = this_count; in sr_done()334 int block = 0, this_count, s_size; in sr_prep_fn() local431 this_count = (scsi_bufflen(SCpnt) >> 9) / (s_size >> 9); in sr_prep_fn()438 this_count, rq->nr_sectors)); in sr_prep_fn()443 if (this_count > 0xffff) { in sr_prep_fn()444 this_count = 0xffff; in sr_prep_fn()445 SCpnt->sdb.length = this_count * s_size; in sr_prep_fn()[all …]
388 unsigned int this_count = rq->nr_sectors; in sd_prep_fn() local412 this_count)); in sd_prep_fn()440 if (unlikely(sdp->last_sector_bug && block + this_count > threshold)) { in sd_prep_fn()443 this_count = threshold - block; in sd_prep_fn()446 this_count = sdp->sector_size / 512; in sd_prep_fn()471 this_count = this_count >> 1; in sd_prep_fn()481 this_count = this_count >> 2; in sd_prep_fn()491 this_count = this_count >> 3; in sd_prep_fn()516 "writing" : "reading", this_count, in sd_prep_fn()537 SCpnt->cmnd[10] = (unsigned char) (this_count >> 24) & 0xff; in sd_prep_fn()[all …]
932 int this_count; in scsi_io_completion() local990 this_count = blk_rq_bytes(req); in scsi_io_completion()