Lines Matching refs:dr
199 struct adfs_discrecord *dr = adfs_map_discrecord(asb->s_map); in adfs_map_statfs() local
211 buf->f_blocks = adfs_disc_size(dr) >> sb->s_blocksize_bits; in adfs_map_statfs()
310 struct adfs_discrecord *dr) in adfs_map_layout() argument
315 zone_size = (8 << dr->log2secsize) - le16_to_cpu(dr->zone_spare); in adfs_map_layout()
329 size = adfs_disc_size(dr) >> dr->log2bpmb; in adfs_map_layout()
356 struct adfs_discmap *adfs_read_map(struct super_block *sb, struct adfs_discrecord *dr) in adfs_read_map() argument
363 nzones = dr->nzones | dr->nzones_high << 8; in adfs_read_map()
364 zone_size = (8 << dr->log2secsize) - le16_to_cpu(dr->zone_spare); in adfs_read_map()
366 asb->s_idlen = dr->idlen; in adfs_read_map()
368 asb->s_map2blk = dr->log2bpmb - dr->log2secsize; in adfs_read_map()
369 asb->s_log2sharesize = dr->log2sharesize; in adfs_read_map()
382 adfs_map_layout(dm, nzones, dr); in adfs_read_map()