ocs_bitmap_t
ocs_bitmap_t *portid_pool;
ocs_bitmap_t *
ocs_bitmap_free(ocs_bitmap_t *bitmap)
ocs_bitmap_find(ocs_bitmap_t *bitmap, uint32_t n_bits)
ocs_bitmap_search(ocs_bitmap_t *bitmap, uint8_t set, uint32_t n_bits)
ocs_bitmap_clear(ocs_bitmap_t *bitmap, uint32_t bit)
extern ocs_bitmap_t *ocs_bitmap_alloc(uint32_t n_bits);
extern void ocs_bitmap_free(ocs_bitmap_t *bitmap);
extern int32_t ocs_bitmap_find(ocs_bitmap_t *bitmap, uint32_t n_bits);
extern int32_t ocs_bitmap_search(ocs_bitmap_t *bitmap, uint8_t set, uint32_t n_bits);
extern void ocs_bitmap_clear(ocs_bitmap_t *bitmap, uint32_t bit);
ocs_bitmap_t *use_map;/* bitmap showing resources in use */