Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-thin-metadata.c552 sector_t bdev_size = bdev_nr_sectors(pmd->bdev); in __write_initial_superblock() local
554 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()
Ddm-cache-metadata.c337 sector_t bdev_size = bdev_nr_sectors(cmd->bdev); in __write_initial_superblock() local
340 if (bdev_size > DM_CACHE_METADATA_MAX_SECTORS) in __write_initial_superblock()
341 bdev_size = DM_CACHE_METADATA_MAX_SECTORS; in __write_initial_superblock()
/linux-6.1.9/fs/btrfs/
Dzoned.c196 sector_t bdev_size = bdev_nr_sectors(device->bdev); in emulate_report_zones() local
208 if (zones[i].wp >= bdev_size) { in emulate_report_zones()