Lines Matching refs:this_count
197 int this_count = SCpnt->bufflen >> 9; in rw_intr() local
198 int good_sectors = (result == 0 ? this_count : 0); in rw_intr()
233 if (good_sectors < 0 || good_sectors >= this_count) in rw_intr()
256 good_sectors = this_count; in rw_intr()
388 int dev, devm, block=0, this_count, s_size; in sr_init_command() local
439 this_count = (SCpnt->request_bufflen >> 9) / (s_size >> 9); in sr_init_command()
458 this_count, SCpnt->request.nr_sectors)); in sr_init_command()
463 if (this_count > 0xffff) in sr_init_command()
464 this_count = 0xffff; in sr_init_command()
471 SCpnt->cmnd[7] = (unsigned char) (this_count >> 8) & 0xff; in sr_init_command()
472 SCpnt->cmnd[8] = (unsigned char) this_count & 0xff; in sr_init_command()
480 SCpnt->underflow = this_count << 9; in sr_init_command()