Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-writecache.c155 sector_t data_device_sectors; member
1000 wc->data_device_sectors = bdev_nr_sectors(wc->dev->bdev); in writecache_resume()
1790 if (unlikely(bio_end_sector(&wb->bio) >= wc->data_device_sectors)) in wc_add_block()
1911 if (unlikely(to.sector + to.count > wc->data_device_sectors)) { in __writecache_writeback_ssd()
1912 if (to.sector >= wc->data_device_sectors) { in __writecache_writeback_ssd()
1916 from.count = to.count = wc->data_device_sectors - to.sector; in __writecache_writeback_ssd()
Ddm-integrity.c206 sector_t data_device_sectors; member
3459 ic->provided_data_sectors = ic->data_device_sectors; in get_provided_data_sectors()
4143 ic->data_device_sectors = bdev_nr_sectors(ic->dev->bdev); in dm_integrity_ctr()
4145 ic->meta_device_sectors = ic->data_device_sectors; in dm_integrity_ctr()
4151 ic->data_device_sectors >> DEFAULT_JOURNAL_SIZE_FACTOR); in dm_integrity_ctr()