Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/null_blk/
H A Dzoned.c63 sector_t dev_capacity_sects, zone_capacity_sects; in null_init_zoned_dev() local
98 dev_capacity_sects = mb_to_sects(dev->size); in null_init_zoned_dev()
100 dev->nr_zones = round_up(dev_capacity_sects, dev->zone_size_sects) in null_init_zoned_dev()
153 if (zone->start + dev->zone_size_sects > dev_capacity_sects) in null_init_zoned_dev()
154 zone->len = dev_capacity_sects - zone->start; in null_init_zoned_dev()