Home
last modified time | relevance | path

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

/drivers/md/
Ddm-writecache.c141 uint64_t memory_map_size; member
234 s = wc->memory_map_size; in persistent_memory_claim()
296 wc->memory_map_size -= (size_t)wc->start_sector << SECTOR_SHIFT; in persistent_memory_claim()
849 persistent_memory_flush_cache(wc->memory_map, wc->memory_map_size); in writecache_suspend()
885 persistent_memory_invalidate_cache(wc->memory_map, wc->memory_map_size); in writecache_resume()
1750 r = calculate_memory_size(wc->memory_map_size, wc->block_size, &wc->n_blocks, NULL); in init_memory()
1960 wc->memory_map_size = i_size_read(wc->ssd_dev->bdev->bd_inode); in writecache_ctr()
1997 wc->start_sector >= wc->memory_map_size >> SECTOR_SHIFT) in writecache_ctr()
2068 wc->memory_map_size -= (uint64_t)wc->start_sector << SECTOR_SHIFT; in writecache_ctr()
2080 r = calculate_memory_size(wc->memory_map_size, wc->block_size, in writecache_ctr()
[all …]