Lines Matching refs:id_bitmap
673 uint32 id_bitmap[0]; /* Second level bitmap */ member
716 mwbmap_p->id_bitmap[wordix] = (uint32)(~0U); in bcm_mwbmap_init()
724 uint32 * bmap_p = &mwbmap_p->id_bitmap[mwbmap_p->imaps - 1]; in bcm_mwbmap_init()
795 count = bcm_cntsetbits(mwbmap_p->id_bitmap[wordix]) - 1; in bcm_mwbmap_alloc()
800 (bcm_cntsetbits(mwbmap_p->id_bitmap[wordix]) - 1)); in bcm_mwbmap_alloc()
814 bitmap_p = &mwbmap_p->id_bitmap[wordix]; in bcm_mwbmap_alloc()
816 bitmap = mwbmap_p->id_bitmap[wordix]; /* get the id bitmap */ in bcm_mwbmap_alloc()
861 bitmap_p = &mwbmap_p->id_bitmap[wordix]; in bcm_mwbmap_force()
881 count = bcm_cntsetbits(mwbmap_p->id_bitmap[bitix]); in bcm_mwbmap_force()
885 MWBMAP_ASSERT(count == bcm_cntsetbits(mwbmap_p->id_bitmap[bitix])); in bcm_mwbmap_force()
915 bitmap_p = &mwbmap_p->id_bitmap[wordix]; in bcm_mwbmap_free()
944 count = bcm_cntsetbits(mwbmap_p->id_bitmap[bitix]); in bcm_mwbmap_free()
947 MWBMAP_ASSERT(count == bcm_cntsetbits(mwbmap_p->id_bitmap[bitix])); in bcm_mwbmap_free()
991 return ((mwbmap_p->id_bitmap[wordix] & bitmap) != 0U); in bcm_mwbmap_isfree()
1014 count = bcm_cntsetbits(mwbmap_p->id_bitmap[ix]); in bcm_mwbmap_show()
1017 MWBMAP_ASSERT(count == bcm_cntsetbits(mwbmap_p->id_bitmap[ix])); in bcm_mwbmap_show()
1019 printf("\tIDMAP:%2u. 0x%08x %02u\t", ix, mwbmap_p->id_bitmap[ix], count); in bcm_mwbmap_show()
1020 bcm_bitprint32(mwbmap_p->id_bitmap[ix]); in bcm_mwbmap_show()
1044 count = bcm_cntsetbits(mwbmap_p->id_bitmap[idmap_ix]); in bcm_mwbmap_audit()
1047 ASSERT(count == bcm_cntsetbits(mwbmap_p->id_bitmap[idmap_ix])); in bcm_mwbmap_audit()