Home
last modified time | relevance | path

Searched refs:read_idx (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/util/
Du_queue.c302 job = queue->jobs[queue->read_idx]; in util_queue_thread_func()
303 memset(&queue->jobs[queue->read_idx], 0, sizeof(struct util_queue_job)); in util_queue_thread_func()
304 queue->read_idx = (queue->read_idx + 1) % queue->max_jobs; in util_queue_thread_func()
324 for (unsigned i = queue->read_idx; i != queue->write_idx; in util_queue_thread_func()
332 queue->read_idx = queue->write_idx; in util_queue_thread_func()
595 unsigned i = queue->read_idx; in util_queue_add_job()
606 queue->read_idx = 0; in util_queue_add_job()
652 for (unsigned i = queue->read_idx; i != queue->write_idx; in util_queue_drop_job()
Du_queue.h218 int write_idx, read_idx; /* ring buffer pointers */ member
/third_party/pulseaudio/src/pulsecore/
Dasyncq.c60 unsigned read_idx; member
233 idx = reduce(l, l->read_idx); in pa_asyncq_pop()
253 l->read_idx++; in pa_asyncq_pop()
275 idx = reduce(l, l->read_idx); in pa_asyncq_read_before_poll()
Dshmasyncq.c159 idx = reduce(l, l->read_idx);
179 l->read_idx++;
201 idx = reduce(l, l->read_idx);
Dshmasyncq.h32 unsigned read_idx; member
/third_party/mesa3d/src/amd/compiler/
Daco_lower_to_cssa.cpp380 uint32_t read_idx; member
402 if (it->second.read_idx != -1u) { in emit_copies_block()
403 auto&& other = ltg.find(it->second.read_idx); in emit_copies_block()
459 uint32_t read_idx = -1u; in emit_parallelcopies() local
461 read_idx = ctx.merge_node_table[cp.op.tempId()].index; in emit_parallelcopies()
464 ltg[write_idx] = {cp, read_idx}; in emit_parallelcopies()
474 if (pair.second.read_idx == -1u) in emit_parallelcopies()
476 auto&& it = ltg.find(pair.second.read_idx); in emit_parallelcopies()
/third_party/libdrm/etnaviv/
Detnaviv_drm.h170 __u32 read_idx; /* in, index of read_bo buffer */ member
Detnaviv_cmd_stream.c276 pmr->read_idx = bo2idx(stream, p->bo, ETNA_SUBMIT_BO_READ | ETNA_SUBMIT_BO_WRITE); in etna_cmd_stream_perf()
/third_party/mesa3d/include/drm-uapi/
Detnaviv_drm.h179 __u32 read_idx; /* in, index of read_bo buffer */ member
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_cmd_stream.c310 pmr->read_idx = bo2idx(stream, p->bo, ETNA_SUBMIT_BO_READ | ETNA_SUBMIT_BO_WRITE); in etna_cmd_stream_perf()