Searched refs:this_count (Results 1 – 3 of 3) sorted by relevance
321 int this_count = scsi_bufflen(SCpnt); in sr_done() local322 int good_bytes = (result == 0 ? this_count : 0); in sr_done()359 if (good_bytes < 0 || good_bytes >= this_count) in sr_done()375 good_bytes = this_count; in sr_done()388 int block = 0, this_count, s_size; in sr_init_command() local480 this_count = (scsi_bufflen(SCpnt) >> 9) / (s_size >> 9); in sr_init_command()487 this_count, blk_rq_sectors(rq))); in sr_init_command()492 if (this_count > 0xffff) { in sr_init_command()493 this_count = 0xffff; in sr_init_command()494 SCpnt->sdb.length = this_count * s_size; in sr_init_command()[all …]
1018 unsigned int this_count = blk_rq_sectors(rq); in sd_setup_read_write_cmnd() local1035 __func__, (unsigned long long)block, this_count)); in sd_setup_read_write_cmnd()1063 if (unlikely(sdp->last_sector_bug && block + this_count > threshold)) { in sd_setup_read_write_cmnd()1066 this_count = threshold - block; in sd_setup_read_write_cmnd()1069 this_count = sdp->sector_size / 512; in sd_setup_read_write_cmnd()1094 this_count = this_count >> 1; in sd_setup_read_write_cmnd()1104 this_count = this_count >> 2; in sd_setup_read_write_cmnd()1114 this_count = this_count >> 3; in sd_setup_read_write_cmnd()1133 "writing" : "reading", this_count, in sd_setup_read_write_cmnd()1176 SCpnt->cmnd[28] = (unsigned char) (this_count >> 24) & 0xff; in sd_setup_read_write_cmnd()[all …]
425 unsigned this_count = bv->bv_len; in _clear_bio() local427 if (likely(PAGE_SIZE == this_count)) in _clear_bio()430 zero_user(bv->bv_page, bv->bv_offset, this_count); in _clear_bio()