Lines Matching full:dr
28 struct adfs_discrecord *dr; in adfs_partition() local
34 dr = (struct adfs_discrecord *)(data + 0x1c0); in adfs_partition()
36 if (dr->disc_size == 0 && dr->disc_size_high == 0) in adfs_partition()
39 nr_sects = (le32_to_cpu(dr->disc_size_high) << 23) | in adfs_partition()
40 (le32_to_cpu(dr->disc_size) >> 9); in adfs_partition()
48 return dr; in adfs_partition()
183 struct adfs_discrecord *dr; in adfspart_check_CUMANA() local
193 dr = adfs_partition(state, name, data, first_sector, slot++); in adfspart_check_CUMANA()
194 if (!dr) in adfspart_check_CUMANA()
200 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) * in adfspart_check_CUMANA()
201 dr->secspertrack; in adfspart_check_CUMANA()
255 struct adfs_discrecord *dr; in adfspart_check_ADFS() local
263 dr = adfs_partition(state, "ADFS", data, 0, slot++); in adfspart_check_ADFS()
264 if (!dr) { in adfspart_check_ADFS()
269 heads = dr->heads + ((dr->lowsector >> 6) & 1); in adfspart_check_ADFS()
270 sectscyl = dr->secspertrack * heads; in adfspart_check_ADFS()