free_elem_count
if (elem_needed > free_elem_count(iq_pi, iq_ci,
static uint32_t free_elem_count(pqi_index_t pi, pqi_index_t ci,
if (free_elem_count(iq_pi, iq_ci, s->s_num_elements_per_iq))