Searched refs:write_idx (Results 1 – 9 of 9) 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
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()600 } while (i != queue->write_idx); in util_queue_add_job()607 queue->write_idx = num_jobs; in util_queue_add_job()616 ptr = &queue->jobs[queue->write_idx]; in util_queue_add_job()625 queue->write_idx = (queue->write_idx + 1) % queue->max_jobs; in util_queue_add_job()652 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
196 int check_idx, write_idx, size; in write_primary_superblock() local214 write_idx = check_idx; in write_primary_superblock()218 size = 2 * (check_idx - write_idx); in write_primary_superblock()221 size, write_idx*2); in write_primary_superblock()224 SUPERBLOCK_OFFSET + (2 * write_idx), size, in write_primary_superblock()225 new_super + write_idx); in write_primary_superblock()
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()