Home
last modified time | relevance | path

Searched refs:this_count (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/scsi/
Dsr.c321 int this_count = scsi_bufflen(SCpnt); in sr_done() local
322 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() local
477 this_count = (scsi_bufflen(SCpnt) >> 9) / (s_size >> 9); in sr_init_command()
484 this_count, blk_rq_sectors(rq))); in sr_init_command()
489 if (this_count > 0xffff) { in sr_init_command()
490 this_count = 0xffff; in sr_init_command()
491 SCpnt->sdb.length = this_count * s_size; in sr_init_command()
[all …]
Dsd.c891 unsigned int this_count = blk_rq_sectors(rq); in sd_setup_read_write_cmnd() local
909 __func__, (unsigned long long)block, this_count)); in sd_setup_read_write_cmnd()
937 if (unlikely(sdp->last_sector_bug && block + this_count > threshold)) { in sd_setup_read_write_cmnd()
940 this_count = threshold - block; in sd_setup_read_write_cmnd()
943 this_count = sdp->sector_size / 512; in sd_setup_read_write_cmnd()
968 this_count = this_count >> 1; in sd_setup_read_write_cmnd()
978 this_count = this_count >> 2; in sd_setup_read_write_cmnd()
988 this_count = this_count >> 3; in sd_setup_read_write_cmnd()
1007 "writing" : "reading", this_count, in sd_setup_read_write_cmnd()
1050 SCpnt->cmnd[28] = (unsigned char) (this_count >> 24) & 0xff; in sd_setup_read_write_cmnd()
[all …]
/linux-4.1.27/arch/x86/kernel/
Dirq.c292 unsigned int this_cpu, vector, this_count, count; in check_irq_vectors_for_cpu_disable() local
300 this_count = 0; in check_irq_vectors_for_cpu_disable()
333 this_count++; in check_irq_vectors_for_cpu_disable()
355 if (count < this_count) { in check_irq_vectors_for_cpu_disable()
357 this_cpu, this_count, count); in check_irq_vectors_for_cpu_disable()
/linux-4.1.27/fs/exofs/
Dore.c411 unsigned this_count = bv->bv_len; in _clear_bio() local
413 if (likely(PAGE_SIZE == this_count)) in _clear_bio()
416 zero_user(bv->bv_page, bv->bv_offset, this_count); in _clear_bio()