bitmask_init
bitmask_init(&ctl->nh_idx_head, ptr, num_items);
void bitmask_init(struct bitmask_head *bh, void *idx, uint32_t num_items);