Searched refs:n_block (Results 1 – 3 of 3) sorted by relevance
/drivers/ata/ |
D | libata-scsi.c | 1629 u32 n_block; in ata_scsi_verify_xlat() local 1640 scsi_10_lba_len(cdb, &block, &n_block); in ata_scsi_verify_xlat() 1646 scsi_16_lba_len(cdb, &block, &n_block); in ata_scsi_verify_xlat() 1652 if (!n_block) in ata_scsi_verify_xlat() 1656 if ((block + n_block) > dev_sectors) in ata_scsi_verify_xlat() 1662 if (lba_28_ok(block, n_block)) { in ata_scsi_verify_xlat() 1666 } else if (lba_48_ok(block, n_block)) { in ata_scsi_verify_xlat() 1674 tf->hob_nsect = (n_block >> 8) & 0xff; in ata_scsi_verify_xlat() 1683 tf->nsect = n_block & 0xff; in ata_scsi_verify_xlat() 1694 if (!lba_28_ok(block, n_block)) in ata_scsi_verify_xlat() [all …]
|
D | libata-core.c | 755 u64 block, u32 n_block, unsigned int tf_flags, in ata_build_rw_tf() argument 763 if (!lba_48_ok(block, n_block)) in ata_build_rw_tf() 775 tf->hob_feature = (n_block >> 8) & 0xff; in ata_build_rw_tf() 776 tf->feature = n_block & 0xff; in ata_build_rw_tf() 791 if (lba_28_ok(block, n_block)) { in ata_build_rw_tf() 794 } else if (lba_48_ok(block, n_block)) { in ata_build_rw_tf() 801 tf->hob_nsect = (n_block >> 8) & 0xff; in ata_build_rw_tf() 813 tf->nsect = n_block & 0xff; in ata_build_rw_tf() 825 if (!lba_28_ok(block, n_block)) in ata_build_rw_tf() 847 tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */ in ata_build_rw_tf()
|
D | libata.h | 68 u64 block, u32 n_block, unsigned int tf_flags,
|