Lines Matching refs:cur_offset
51 uint16_t cur_offset;
61 if (s->cur_entry & FW_CFG_WRITE_CHANNEL && s->cur_offset < e->len) {
62 e->data[s->cur_offset++] = value;
63 if (s->cur_offset == e->len) {
65 s->cur_offset = 0;
74 s->cur_offset = 0;
94 if (s->cur_entry == FW_CFG_INVALID || !e->data || s->cur_offset >= e->len)
97 ret = e->data[s->cur_offset++];
172 qemu_put_be16s(f, &s->cur_offset);
183 qemu_get_be16s(f, &s->cur_offset);