bitmask_copy
if (bitmask_copy(&ctl->nh_idx_head, gr_idx_ptr, new_idx_items) == 0)
if (bitmask_copy(&ctl->nh_idx_head, nh_idx_ptr, new_idx_items) == 0)
int bitmask_copy(const struct bitmask_head *bi, void *new_idx, uint32_t new_items);