Lines Matching refs:BITMAP_GRANULARITY
32 #define BITMAP_GRANULARITY 65536
33 #if BITMAP_GRANULARITY < PAGE_SIZE
34 #undef BITMAP_GRANULARITY
35 #define BITMAP_GRANULARITY PAGE_SIZE
444 __set_bit(((char *)ptr - (char *)wc->memory_map) / BITMAP_GRANULARITY,
493 region.sector = (sector_t)i * (BITMAP_GRANULARITY >> SECTOR_SHIFT);
494 region.count = (sector_t)(j - i) * (BITMAP_GRANULARITY >> SECTOR_SHIFT);
506 req.mem.ptr.vma = (char *)wc->memory_map + (size_t)i * BITMAP_GRANULARITY;
2373 BITMAP_GRANULARITY - 1) / BITMAP_GRANULARITY;