Searched refs:write_idx (Results 1 – 10 of 10) sorted by relevance
58 if (ds->write_idx == 0) { in emu_set_draw_state_reg()69 ds->state[cur_idx].base_lohi[ds->write_idx - 1] = val; in emu_set_draw_state_reg()72 ds->write_idx = (ds->write_idx + 1) % 3; in emu_set_draw_state_reg()
109 unsigned write_idx; member
317 for (unsigned i = queue->read_idx; i != queue->write_idx; in util_queue_thread_func()325 queue->read_idx = queue->write_idx; in util_queue_thread_func()595 } while (i != queue->write_idx); in util_queue_add_job()602 queue->write_idx = num_jobs; in util_queue_add_job()611 ptr = &queue->jobs[queue->write_idx]; in util_queue_add_job()620 queue->write_idx = (queue->write_idx + 1) % queue->max_jobs; in util_queue_add_job()647 for (unsigned i = queue->read_idx; i != queue->write_idx; in util_queue_drop_job()
218 int write_idx, read_idx; /* ring buffer pointers */ member
28 unsigned int write_idx; member61 b[i] = s->write_idx + i; in write_cb()63 s->write_idx += *nb_elems; in write_cb()
61 unsigned write_idx; member143 idx = reduce(l, l->write_idx); in push()158 l->write_idx++; in push()
127 idx = reduce(l, l->write_idx);142 l->write_idx++;
33 unsigned write_idx; member
462 uint32_t write_idx = ctx.merge_node_table[cp.def.tempId()].index; in emit_parallelcopies() local463 assert(write_idx != -1u); in emit_parallelcopies()464 ltg[write_idx] = {cp, read_idx}; in emit_parallelcopies()
30 int check_idx, write_idx, size;