Lines Matching refs:gnttab_free_bitmap
97 static unsigned long *gnttab_free_bitmap; variable
196 bitmap_clear(gnttab_free_bitmap, head, 1); in get_free_entries()
234 for (from = find_first_bit(gnttab_free_bitmap, gnttab_size); in get_free_seq()
236 from = find_next_bit(gnttab_free_bitmap, gnttab_size, to + 1)) { in get_free_seq()
237 to = find_next_zero_bit(gnttab_free_bitmap, gnttab_size, in get_free_seq()
241 bitmap_clear(gnttab_free_bitmap, ret, count); in get_free_seq()
297 bitmap_clear(gnttab_free_bitmap, ret, count); in get_free_entries_seq()
343 bitmap_set(gnttab_free_bitmap, ref, 1); in put_free_entry_locked()
373 bitmap_set(gnttab_free_bitmap, start, n); in gnttab_set_free()
1653 gnttab_free_bitmap = bitmap_zalloc(max_nr_grefs, GFP_KERNEL); in gnttab_init()
1654 if (!gnttab_free_bitmap) { in gnttab_init()
1681 bitmap_free(gnttab_free_bitmap); in gnttab_init()