Searched refs:next_prod_idx (Results 1 – 1 of 1) sorted by relevance
223 int next_prod_idx; member789 q->next_prod_idx = 0; in init_queue()799 if (q->next_prod_idx >= q->next_cons_idx) in queue_len()800 return q->next_prod_idx - q->next_cons_idx; in queue_len()802 return QUEUE_SIZE - q->next_cons_idx + q->next_prod_idx; in queue_len()826 q->entries[q->next_prod_idx] = *e; in queue_push_to_back()827 queue_idx_inc(&q->next_prod_idx); in queue_push_to_back()