Home | History | Annotate | Download | only in nvram

Lines Matching defs:cur_offset

52     uint16_t cur_offset;
62 if (s->cur_entry & FW_CFG_WRITE_CHANNEL && s->cur_offset < e->len) {
63 e->data[s->cur_offset++] = value;
64 if (s->cur_offset == e->len) {
66 s->cur_offset = 0;
75 s->cur_offset = 0;
95 if (s->cur_entry == FW_CFG_INVALID || !e->data || s->cur_offset >= e->len)
98 ret = e->data[s->cur_offset++];
173 qemu_put_be16s(f, &s->cur_offset);
184 qemu_get_be16s(f, &s->cur_offset);