Lines Matching refs:lba
1411 u64 lba = 0; in scsi_6_lba_len() local
1416 lba |= ((u64)(cdb[1] & 0x1f)) << 16; in scsi_6_lba_len()
1417 lba |= ((u64)cdb[2]) << 8; in scsi_6_lba_len()
1418 lba |= ((u64)cdb[3]); in scsi_6_lba_len()
1422 *plba = lba; in scsi_6_lba_len()
1438 u64 lba = 0; in scsi_10_lba_len() local
1443 lba |= ((u64)cdb[2]) << 24; in scsi_10_lba_len()
1444 lba |= ((u64)cdb[3]) << 16; in scsi_10_lba_len()
1445 lba |= ((u64)cdb[4]) << 8; in scsi_10_lba_len()
1446 lba |= ((u64)cdb[5]); in scsi_10_lba_len()
1451 *plba = lba; in scsi_10_lba_len()
1467 u64 lba = 0; in scsi_16_lba_len() local
1472 lba |= ((u64)cdb[2]) << 56; in scsi_16_lba_len()
1473 lba |= ((u64)cdb[3]) << 48; in scsi_16_lba_len()
1474 lba |= ((u64)cdb[4]) << 40; in scsi_16_lba_len()
1475 lba |= ((u64)cdb[5]) << 32; in scsi_16_lba_len()
1476 lba |= ((u64)cdb[6]) << 24; in scsi_16_lba_len()
1477 lba |= ((u64)cdb[7]) << 16; in scsi_16_lba_len()
1478 lba |= ((u64)cdb[8]) << 8; in scsi_16_lba_len()
1479 lba |= ((u64)cdb[9]); in scsi_16_lba_len()
1486 *plba = lba; in scsi_16_lba_len()