Home
last modified time | relevance | path

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

/drivers/md/
Ddm-writecache.c35 #define BITMAP_GRANULARITY 65536 macro
36 #if BITMAP_GRANULARITY < PAGE_SIZE
37 #undef BITMAP_GRANULARITY
38 #define BITMAP_GRANULARITY PAGE_SIZE macro
466 __set_bit(((char *)ptr - (char *)wc->memory_map) / BITMAP_GRANULARITY, in writecache_flush_region()
515 region.sector = (sector_t)i * (BITMAP_GRANULARITY >> SECTOR_SHIFT); in ssd_commit_flushed()
516 region.count = (sector_t)(j - i) * (BITMAP_GRANULARITY >> SECTOR_SHIFT); in ssd_commit_flushed()
528 req.mem.ptr.vma = (char *)wc->memory_map + (size_t)i * BITMAP_GRANULARITY; in ssd_commit_flushed()
2520 BITMAP_GRANULARITY - 1) / BITMAP_GRANULARITY; in writecache_ctr()