Home
last modified time | relevance | path

Searched refs:n_sectors (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dlibata-scsi.c913 u64 dev_sectors = qc->dev->n_sectors; in ata_scsi_verify_xlat()
1791 u64 n_sectors; in ata_scsiop_read_cap() local
1798 n_sectors = ata_id_u64(args->id, 100); in ata_scsiop_read_cap()
1800 n_sectors = ata_id_u32(args->id, 60); in ata_scsiop_read_cap()
1803 n_sectors = args->id[1] * args->id[3] * args->id[6]; in ata_scsiop_read_cap()
1807 n_sectors = ata_id_u32(args->id, 57); in ata_scsiop_read_cap()
1810 n_sectors--; /* ATA TotalUserSectors - 1 */ in ata_scsiop_read_cap()
1813 if( n_sectors >= 0xffffffffULL ) in ata_scsiop_read_cap()
1816 tmp = n_sectors ; in ata_scsiop_read_cap()
1831 tmp = n_sectors >> (8 * 4); in ata_scsiop_read_cap()
[all …]
Dlibata-core.c1229 dev->n_sectors = ata_id_u64(dev->id, 100); in ata_dev_identify()
1231 dev->n_sectors = ata_id_u32(dev->id, 60); in ata_dev_identify()
1239 (unsigned long long)dev->n_sectors, in ata_dev_identify()
1248 dev->n_sectors = dev->cylinders * dev->heads * dev->sectors; in ata_dev_identify()
1256 dev->n_sectors = ata_id_u32(dev->id, 57); in ata_dev_identify()
1264 (unsigned long long)dev->n_sectors, in ata_dev_identify()
/linux-2.4.37.9/fs/hpfs/
Dhpfs.h83 secno n_sectors; /* size of filesystem */ member
Dsuper.c444 s->s_hpfs_fs_size = superblock->n_sectors; in hpfs_read_super()
/linux-2.4.37.9/include/linux/
Dlibata.h296 u64 n_sectors; /* size of device, if ATA */ member