Lines Matching refs:VMAP_BBMAP_BITS
2478 #define VMAP_BBMAP_BITS \ macro
2483 #define VMAP_BLOCK_SIZE (VMAP_BBMAP_BITS * PAGE_SIZE)
2489 #define VMAP_PURGE_THRESHOLD (VMAP_BBMAP_BITS / 4)
2511 DECLARE_BITMAP(used_map, VMAP_BBMAP_BITS);
2635 BUG_ON(VMAP_BBMAP_BITS <= (1UL << order)); in new_vmap_block()
2636 bitmap_zero(vb->used_map, VMAP_BBMAP_BITS); in new_vmap_block()
2637 vb->free = VMAP_BBMAP_BITS - (1UL << order); in new_vmap_block()
2639 vb->dirty_min = VMAP_BBMAP_BITS; in new_vmap_block()
2692 if (vb->free + vb->dirty != VMAP_BBMAP_BITS || in purge_fragmented_block()
2693 vb->dirty == VMAP_BBMAP_BITS) in purge_fragmented_block()
2703 WRITE_ONCE(vb->dirty, VMAP_BBMAP_BITS); in purge_fragmented_block()
2705 vb->dirty_max = VMAP_BBMAP_BITS; in purge_fragmented_block()
2734 if (free + dirty != VMAP_BBMAP_BITS || in purge_fragmented_blocks()
2735 dirty == VMAP_BBMAP_BITS) in purge_fragmented_blocks()
2787 pages_off = VMAP_BBMAP_BITS - vb->free; in vb_alloc()
2844 if (vb->dirty == VMAP_BBMAP_BITS) { in vb_free()
2877 vb->dirty_max && vb->dirty != VMAP_BBMAP_BITS) { in _vm_unmap_aliases()
2888 vb->dirty_min = VMAP_BBMAP_BITS; in _vm_unmap_aliases()
4265 if (bitmap_empty(vb->used_map, VMAP_BBMAP_BITS)) { in vmap_ram_vread_iter()
4270 for_each_set_bitrange(rs, re, vb->used_map, VMAP_BBMAP_BITS) { in vmap_ram_vread_iter()