Searched refs:block_size_bits (Results 1 – 1 of 1) sorted by relevance
148 unsigned char block_size_bits; member356 return (char *)wc->block_start + (e->index << wc->block_size_bits); in memory_data()362 ((sector_t)e->index << (wc->block_size_bits - SECTOR_SHIFT)); in cache_sector()1533 n_sectors = e->wc_list_contiguous << (wc->block_size_bits - SECTOR_SHIFT); in __writecache_writeback_ssd()1975 wc->block_size_bits = __ffs(wc->block_size); in writecache_ctr()2087 n_bitmap_bits = (((uint64_t)n_metadata_blocks << wc->block_size_bits) + in writecache_ctr()2096 wc->memory_map = vmalloc(n_metadata_blocks << wc->block_size_bits); in writecache_ctr()2111 wc->metadata_sectors = n_metadata_blocks << (wc->block_size_bits - SECTOR_SHIFT); in writecache_ctr()