Lines Matching refs:map
27 struct blk_align_bitmap *bm = &bt->map[i]; in bt_has_free_tags()
204 tag = __bt_get_word(&bt->map[index], TAG_TO_BIT(bt, last_tag), in __bt_get()
386 clear_bit(TAG_TO_BIT(bt, tag), &bt->map[index].word); in bt_clear_tag()
431 struct blk_align_bitmap *bm = &bt->map[i]; in bt_for_each()
455 struct blk_align_bitmap *bm = &bt->map[i]; in bt_tags_for_each()
513 struct blk_align_bitmap *bm = &bt->map[i]; in bt_unused_tags()
531 bt->map[i].depth = min(map_depth, tags_per_word); in bt_update_count()
532 map_depth -= bt->map[i].depth; in bt_update_count()
573 bt->map = kzalloc_node(nr * sizeof(struct blk_align_bitmap), in bt_alloc()
575 if (!bt->map) in bt_alloc()
583 kfree(bt->map); in bt_alloc()
584 bt->map = NULL; in bt_alloc()
600 kfree(bt->map); in bt_free()