Searched refs:bs_words (Results 1 – 4 of 4) sorted by relevance
60 if (b->bs_words > 0) in bitset_fini()61 kmem_free(b->bs_set, b->bs_words * sizeof (ulong_t)); in bitset_fini()77 if (b->bs_words == nwords) in bitset_resize()86 if (b->bs_words > 0) in bitset_resize()88 MIN(b->bs_words, nwords) * sizeof (ulong_t)); in bitset_resize()98 if (b->bs_words > 0) in bitset_resize()99 kmem_free(bset_tmp, b->bs_words * sizeof (ulong_t)); in bitset_resize()101 b->bs_words = nwords; in bitset_resize()110 return (b->bs_words * BT_NBIPUL); in bitset_capacity()127 ASSERT(b->bs_words * BT_NBIPUL > pos); in bitset_add()[all …]
42 if (bs->bs_set && bs->bs_words) in bitset_free()43 mdb_free(bs->bs_set, bs->bs_words * sizeof (ulong_t)); in bitset_free()60 bs->bs_set = mdb_alloc(bs->bs_words * sizeof (ulong_t), UM_SLEEP); in bitset_get()62 bs->bs_words * sizeof (ulong_t), bsaddr) == -1) { in bitset_get()77 if ((bs->bs_set == NULL) || (bs->bs_words == 0)) in bitset_highbit()81 for (i = bs->bs_words; i >= 0; i--) in bitset_highbit()
70 if (bs->bs_set && bs->bs_words) in bitset_free()71 mdb_free(bs->bs_set, bs->bs_words * sizeof (ulong_t)); in bitset_free()89 bs->bs_set = mdb_alloc(bs->bs_words * sizeof (ulong_t), UM_SLEEP); in bitset_get()91 bs->bs_words * sizeof (ulong_t), bsaddr) == -1) { in bitset_get()
38 uint_t bs_words; member