Lines Matching refs:used_bmap_size
219 s->used_bmap_size = DIV_ROUND_UP(payload_bytes, s->cluster_size); in parallels_fill_used_bitmap()
220 if (s->used_bmap_size == 0) { in parallels_fill_used_bitmap()
223 s->used_bmap = bitmap_try_new(s->used_bmap_size); in parallels_fill_used_bitmap()
235 err2 = mark_used(bs, s->used_bmap, s->used_bmap_size, host_off, 1); in parallels_fill_used_bitmap()
246 s->used_bmap_size = 0; in parallels_free_used_bitmap()
279 first_free = find_first_zero_bit(s->used_bmap, s->used_bmap_size); in allocate_clusters()
280 if (first_free == s->used_bmap_size) { in allocate_clusters()
307 new_usedsize = s->used_bmap_size + bytes / s->cluster_size; in allocate_clusters()
308 s->used_bmap = bitmap_zero_extend(s->used_bmap, s->used_bmap_size, in allocate_clusters()
310 s->used_bmap_size = new_usedsize; in allocate_clusters()
313 next_used = find_next_bit(s->used_bmap, s->used_bmap_size, first_free); in allocate_clusters()
368 ret = mark_used(bs, s->used_bmap, s->used_bmap_size, host_off, to_allocate); in allocate_clusters()