Searched refs:n_block (Results 1 – 3 of 3) sorted by relevance
/drivers/ata/ |
D | libata-scsi.c | 1541 u32 n_block; in ata_scsi_verify_xlat() local 1549 scsi_10_lba_len(cdb, &block, &n_block); in ata_scsi_verify_xlat() 1553 scsi_16_lba_len(cdb, &block, &n_block); in ata_scsi_verify_xlat() 1557 if (!n_block) in ata_scsi_verify_xlat() 1561 if ((block + n_block) > dev_sectors) in ata_scsi_verify_xlat() 1567 if (lba_28_ok(block, n_block)) { in ata_scsi_verify_xlat() 1571 } else if (lba_48_ok(block, n_block)) { in ata_scsi_verify_xlat() 1579 tf->hob_nsect = (n_block >> 8) & 0xff; in ata_scsi_verify_xlat() 1588 tf->nsect = n_block & 0xff; in ata_scsi_verify_xlat() 1599 if (!lba_28_ok(block, n_block)) in ata_scsi_verify_xlat() [all …]
|
D | libata.h | 68 u64 block, u32 n_block, unsigned int tf_flags,
|
D | libata-core.c | 749 u64 block, u32 n_block, unsigned int tf_flags, in ata_build_rw_tf() argument 757 if (!lba_48_ok(block, n_block)) in ata_build_rw_tf() 769 tf->hob_feature = (n_block >> 8) & 0xff; in ata_build_rw_tf() 770 tf->feature = n_block & 0xff; in ata_build_rw_tf() 785 if (lba_28_ok(block, n_block)) { in ata_build_rw_tf() 788 } else if (lba_48_ok(block, n_block)) { in ata_build_rw_tf() 795 tf->hob_nsect = (n_block >> 8) & 0xff; in ata_build_rw_tf() 807 tf->nsect = n_block & 0xff; in ata_build_rw_tf() 819 if (!lba_28_ok(block, n_block)) in ata_build_rw_tf() 841 tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */ in ata_build_rw_tf()
|