Lines Matching refs:cur_entry
51 uint16_t cur_entry;
57 int arch = !!(s->cur_entry & FW_CFG_ARCH_LOCAL);
58 FWCfgEntry *e = &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK];
62 if (s->cur_entry & FW_CFG_WRITE_CHANNEL && s->cur_offset < e->len) {
77 s->cur_entry = FW_CFG_INVALID;
80 s->cur_entry = key;
91 int arch = !!(s->cur_entry & FW_CFG_ARCH_LOCAL);
92 FWCfgEntry *e = &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK];
95 if (s->cur_entry == FW_CFG_INVALID || !e->data || s->cur_offset >= e->len)
172 qemu_put_be16s(f, &s->cur_entry);
183 qemu_get_be16s(f, &s->cur_entry);