Name

scsi_10_lba_len — 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.