Searched refs:bitmap_bits (Results 1 – 2 of 2) sorted by relevance
297 unsigned int bitmap_bits; in srmmu_nocache_init() local304 bitmap_bits = srmmu_nocache_size >> SRMMU_NOCACHE_BITMAP_SHIFT; in srmmu_nocache_init()314 memblock_alloc(BITS_TO_LONGS(bitmap_bits) * sizeof(long), in srmmu_nocache_init()318 BITS_TO_LONGS(bitmap_bits) * sizeof(long)); in srmmu_nocache_init()319 bit_map_init(&srmmu_nocache_map, srmmu_nocache_bitmap, bitmap_bits); in srmmu_nocache_init()
454 unsigned bitmap_bits = wc->dirty_bitmap_size * 8; in ssd_commit_flushed() local459 i = find_next_bit(wc->dirty_bitmap, bitmap_bits, i); in ssd_commit_flushed()460 if (unlikely(i == bitmap_bits)) in ssd_commit_flushed()462 j = find_next_zero_bit(wc->dirty_bitmap, bitmap_bits, i); in ssd_commit_flushed()