Searched refs:bdev_size (Results 1 – 3 of 3) sorted by relevance
552 sector_t bdev_size = bdev_nr_sectors(pmd->bdev); in __write_initial_superblock() local554 if (bdev_size > THIN_METADATA_MAX_SECTORS) in __write_initial_superblock()555 bdev_size = THIN_METADATA_MAX_SECTORS; in __write_initial_superblock()587 disk_super->metadata_nr_blocks = cpu_to_le64(bdev_size >> SECTOR_TO_BLOCK_SHIFT); in __write_initial_superblock()
337 sector_t bdev_size = bdev_nr_sectors(cmd->bdev); in __write_initial_superblock() local340 if (bdev_size > DM_CACHE_METADATA_MAX_SECTORS) in __write_initial_superblock()341 bdev_size = DM_CACHE_METADATA_MAX_SECTORS; in __write_initial_superblock()
196 sector_t bdev_size = bdev_nr_sectors(device->bdev); in emulate_report_zones() local208 if (zones[i].wp >= bdev_size) { in emulate_report_zones()