Home
last modified time | relevance | path

Searched refs:IDE_MIN (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dide-scsi.c155 count = IDE_MIN(pc->sg->length - pc->b_count, bcount); in idescsi_input_buffers()
177 count = IDE_MIN(pc->sg->length - pc->b_count, bcount); in idescsi_output_buffers()
390 hexdump(scsi_buf, IDE_MIN(16, pc->scsi_cmd->request_bufflen)); in idescsi_end_request()
576 bcount.all = IDE_MIN(pc->request_transfer, 63 * 1024); in idescsi_issue_pc()
/linux-2.4.37.9/drivers/ide/
Dide-tape.c1524 count = IDE_MIN(bh->b_size - atomic_read(&bh->b_count), bcount); in idetape_input_buffers()
1550 count = IDE_MIN(pc->b_count, bcount); in idetape_output_buffers()
1581 count = IDE_MIN(bh->b_size, bcount); in idetape_update_buffers()
1773 tape->max_stages = IDE_MIN(tape->max_stages, tape->max_pipeline); in idetape_increase_max_pipeline_stages()
3105 count = IDE_MIN(bh->b_size - atomic_read(&bh->b_count), n); in idetape_copy_stage_from_user()
3132 count = IDE_MIN(tape->b_count, n); in idetape_copy_stage_to_user()
4103 min = IDE_MIN(i, bh->b_size - atomic_read(&bh->b_count)); in idetape_empty_write_pipeline()
4398 count = IDE_MIN(tape->stage_size, bcount); in idetape_pad_zeros()
4402 atomic_set(&bh->b_count, IDE_MIN (count, bh->b_size)); in idetape_pad_zeros()
4876 actually_read = IDE_MIN(tape->merge_stage_size, count); in idetape_chrdev_read()
[all …]
Dide-proc.c605 len = IDE_MIN(p - start, MAX_LEN); in proc_ide_write_settings()
606 strncpy(name, start, IDE_MIN(len, MAX_LEN)); in proc_ide_write_settings()
Dide-io.c691 ide_stall_queue(best, IDE_MIN(t, 10 * WAIT_MIN_SLEEP)); in choose_drive()
Dide-floppy.c1083 bcount.all = IDE_MIN(pc->request_transfer, 63 * 1024); in idefloppy_issue_pc()
/linux-2.4.37.9/drivers/ide/legacy/
Dqd65xx.c273 pio = IDE_MIN(pio,4); in qd6580_tune_drive()
/linux-2.4.37.9/include/linux/
Dide.h264 #define IDE_MIN(a,b) ((a)<(b) ? (a):(b)) macro