Searched refs:read_idx (Results 1 – 3 of 3) sorted by relevance
298 job = queue->jobs[queue->read_idx]; in util_queue_thread_func()299 memset(&queue->jobs[queue->read_idx], 0, sizeof(struct util_queue_job)); in util_queue_thread_func()300 queue->read_idx = (queue->read_idx + 1) % queue->max_jobs; in util_queue_thread_func()320 for (unsigned i = queue->read_idx; i != queue->write_idx; in util_queue_thread_func()328 queue->read_idx = queue->write_idx; in util_queue_thread_func()606 unsigned i = queue->read_idx; in util_queue_add_job_locked()617 queue->read_idx = 0; in util_queue_add_job_locked()676 for (unsigned i = queue->read_idx; i != queue->write_idx; in util_queue_drop_job()
217 int write_idx, read_idx; /* ring buffer pointers */ member
179 __u32 read_idx; /* in, index of read_bo buffer */ member