Searched refs:sector_size (Results 1 – 1 of 1) sorted by relevance
129 sector_t sector_size = bdev_logical_block_size(state->bdev) / 512; in parse_extended() local171 offs = start_sect(p)*sector_size; in parse_extended()172 size = nr_sects(p)*sector_size; in parse_extended()205 this_sector = first_sector + start_sect(p) * sector_size; in parse_extended()206 this_size = nr_sects(p) * sector_size; in parse_extended()454 sector_t sector_size = bdev_logical_block_size(state->bdev) / 512; in msdos_partition() local534 sector_t start = start_sect(p)*sector_size; in msdos_partition()535 sector_t size = nr_sects(p)*sector_size; in msdos_partition()548 n = min(size, max(sector_size, n)); in msdos_partition()582 subtypes[n].parse(state, start_sect(p) * sector_size, in msdos_partition()[all …]