Name

scsi_6_lba_len — Get LBA and transfer length

Synopsis

void scsi_6_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 6-byte commands.