Scroll to navigation

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

NAME

scsi_16_lba_len - Get LBA and transfer length

SYNOPSIS

void scsi_16_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 16-byte commands.

AUTHOR

Jeff Garzik

Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12