Scroll to navigation

SCSI_10_LBA_LEN(9) libata SCSI translation/emulat SCSI_10_LBA_LEN(9)

NAME

scsi_10_lba_len - Get LBA and transfer length

SYNOPSIS

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

ARGUMENTS

const u8 * cdb

SCSI command to translate

u64 * plba

the LBA

u32 * plen

the transfer length

DESCRIPTION

Calculate LBA and transfer length for 10-byte commands.

AUTHOR

Jeff Garzik

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11