scsi_10_lba_len(9) Get LBA and transfer length

SYNOPSIS

void scsi_10_lba_len(const u8 * cdb, u64 * plba, u32 * plen);

ARGUMENTS

cdb

SCSI command to translate

plba

the LBA

plen

the transfer length

DESCRIPTION

Calculate LBA and transfer length for 10-byte commands.

AUTHOR

Jeff Garzik

Author.

COPYRIGHT