Lines Matching defs:block_size
127 int SCSI_ReadBlock(UInt32 id, UInt32 bus, UInt32 block_size, UInt32 block, UInt8 *address);
128 int SCSI_WriteBlock(UInt32 id, UInt32 bus, UInt32 block_size, UInt32 block, UInt8 *address);
329 long block_size;
349 block_size = a->m.grain;
350 block = offset / block_size;
351 block_count = count / block_size;
355 if (SCSI_ReadBlock(a->id, a->bus, block_size, block, buffer) == 0) {
359 buffer += block_size;
374 long block_size;
392 block_size = a->m.grain;
393 block = offset / block_size;
394 block_count = count / block_size;
398 if (SCSI_WriteBlock(a->id, a->bus, block_size, block, buffer) == 0) {
402 buffer += block_size;
479 SCSI_ReadBlock(UInt32 id, UInt32 bus, UInt32 block_size, UInt32 block, UInt8 *address)
492 //printf("scsi read %d:%d block %d size %d\n", bus, id, block, block_size);
512 count * block_size,
528 SCSI_WriteBlock(UInt32 id, UInt32 bus, UInt32 block_size, UInt32 block, UInt8 *address)
560 count * block_size,