Searched refs:next_cons_idx (Results 1 – 1 of 1) sorted by relevance
224 int next_cons_idx; member790 q->next_cons_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()832 struct entry e = q->entries[q->next_cons_idx]; in queue_pop_from_front()834 queue_idx_inc(&q->next_cons_idx); in queue_pop_from_front()