Home
last modified time | relevance | path

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

/linux-4.4.14/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.c906 unsigned int this_count = blk_rq_sectors(rq); in sd_setup_read_write_cmnd() local
924 __func__, (unsigned long long)block, this_count)); in sd_setup_read_write_cmnd()
952 if (unlikely(sdp->last_sector_bug && block + this_count > threshold)) { in sd_setup_read_write_cmnd()
955 this_count = threshold - block; in sd_setup_read_write_cmnd()
958 this_count = sdp->sector_size / 512; in sd_setup_read_write_cmnd()
983 this_count = this_count >> 1; in sd_setup_read_write_cmnd()
993 this_count = this_count >> 2; in sd_setup_read_write_cmnd()
1003 this_count = this_count >> 3; in sd_setup_read_write_cmnd()
1022 "writing" : "reading", this_count, in sd_setup_read_write_cmnd()
1065 SCpnt->cmnd[28] = (unsigned char) (this_count >> 24) & 0xff; in sd_setup_read_write_cmnd()
[all …]
/linux-4.4.14/arch/x86/kernel/
Dirq.c350 unsigned int this_cpu, vector, this_count, count; in check_irq_vectors_for_cpu_disable() local
359 this_count = 0; in check_irq_vectors_for_cpu_disable()
397 this_count++; in check_irq_vectors_for_cpu_disable()
421 if (count < this_count) { in check_irq_vectors_for_cpu_disable()
423 this_cpu, this_count, count); in check_irq_vectors_for_cpu_disable()
/linux-4.4.14/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()