Home
last modified time | relevance | path

Searched refs:vlds_minor_bits (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/uts/sun4v/io/
H A Dvlds.c193 static size_t vlds_minor_bits = BT_NBIPUL; variable
206 if (vlds_minor_bits + BT_NBIPUL > VLDS_MINOR_MAX) { in vlds_minor_alloc()
210 BT_SIZEOFMAP(vlds_minor_bits + BT_NBIPUL), KM_SLEEP); in vlds_minor_alloc()
211 bcopy(bhst, vlds_minor_bitmap, BT_SIZEOFMAP(vlds_minor_bits)); in vlds_minor_alloc()
213 kmem_free(bhst, BT_SIZEOFMAP(vlds_minor_bits)); in vlds_minor_alloc()
214 vlds_minor_bits += BT_NBIPUL; in vlds_minor_alloc()
223 kmem_free(bitmap, BT_SIZEOFMAP(vlds_minor_bits)); in vlds_minor_free()
235 vlds_minor_bits)) == -1) { in vlds_minor_get()
244 idx = bt_availbit(vlds_minor_bitmap, vlds_minor_bits); in vlds_minor_get()