Searched refs:IDE_MIN (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | ide-scsi.c | 155 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/ |
D | ide-tape.c | 1524 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 …]
|
D | ide-proc.c | 605 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()
|
D | ide-io.c | 691 ide_stall_queue(best, IDE_MIN(t, 10 * WAIT_MIN_SLEEP)); in choose_drive()
|
D | ide-floppy.c | 1083 bcount.all = IDE_MIN(pc->request_transfer, 63 * 1024); in idefloppy_issue_pc()
|
/linux-2.4.37.9/drivers/ide/legacy/ |
D | qd65xx.c | 273 pio = IDE_MIN(pio,4); in qd6580_tune_drive()
|
/linux-2.4.37.9/include/linux/ |
D | ide.h | 264 #define IDE_MIN(a,b) ((a)<(b) ? (a):(b)) macro
|