Searched refs:ida_bitmap (Results 1 – 2 of 2) sorted by relevance
828 static void __ida_bitmap_free(struct ida_bitmap *bitmap) in __ida_bitmap_free()849 struct ida_bitmap *bitmap; in ida_preload()850 bitmap = kzalloc(sizeof(struct ida_bitmap), gfp_mask); in ida_preload()878 struct ida_bitmap *tmp = ida_p->free_list; in __get_ida_bitmap()887 static int __get_id_from_bitmap(struct ida_bitmap *bmp) in __get_id_from_bitmap()946 struct ida_bitmap *bmp = (struct ida_bitmap *)stk[0]->ary[layer_id]; in ida_alloc()976 struct ida_bitmap *bmp = idr_find(&ida_p->idr, idr_id); in ida_count()1005 struct ida_bitmap *b_p = (struct ida_bitmap *)(stk[0]->ary[idr_id & IDR_MASK]); in ida_remove()
144 struct ida_bitmap struct154 struct ida_bitmap *free_list; // 预分配的数据块 argument