Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Didr.c1005 struct ida_bitmap *b_p = (struct ida_bitmap *)(stk[0]->ary[idr_id & IDR_MASK]); in ida_remove() local
1008 if (unlikely(NULL == b_p || 0 == ((b_p->bitmap[ary_id] >> bmp_id) & 1))) in ida_remove()
1011 b_p->count--; // 更新了ida_count in ida_remove()
1012 b_p->bitmap[ary_id] ^= (1ull << bmp_id); in ida_remove()
1014 __idr_erase_full(&ida_p->idr, idr_id, stk, (b_p->count > 0 ? 1 : 0)); in ida_remove()
1015 if (0 == b_p->count) in ida_remove()
1017 __ida_bitmap_free(b_p); in ida_remove()