Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/qemu/hw/xen/
H A Dxen-mapcache.c309 while (entry && (lock || entry->lock) && entry->vaddr_base && in xen_map_cache_unlocked()
319 entry = entry->next; in xen_map_cache_unlocked()
417 entry = &mc->entry[paddr_index % mc->nr_buckets]; in xen_ram_addr_from_mapcache_single()
418 while (entry && (entry->paddr_index != paddr_index || entry->size != size)) { in xen_ram_addr_from_mapcache_single()
419 entry = entry->next; in xen_ram_addr_from_mapcache_single()
473 while (entry && (entry->paddr_index != paddr_index || entry->size != size)) { in xen_invalidate_map_cache_entry_unlocked()
475 entry = entry->next; in xen_invalidate_map_cache_entry_unlocked()
487 ram_block_notify_remove(entry->vaddr_base, entry->size, entry->size); in xen_invalidate_map_cache_entry_unlocked()
545 MapCacheEntry *entry = &mc->entry[i]; in xen_invalidate_map_cache_single() local
605 entry = entry->next; in xen_replace_cache_entry_unlocked()
[all …]
H A Dxen_pt_msi.c335 if (!entry->updated) { in xen_pt_msix_update_one()
339 pirq = entry->pirq; in xen_pt_msix_update_one()
349 entry->addr = entry->latch(LOWER_ADDR) | in xen_pt_msix_update_one()
351 entry->data = entry->latch(DATA); in xen_pt_msix_update_one()
354 rc = msi_msix_setup(s, entry->addr, entry->data, &pirq, true, entry_nr, in xen_pt_msix_update_one()
360 entry->pirq = pirq; in xen_pt_msix_update_one()
363 rc = msi_msix_update(s, entry->addr, entry->data, pirq, true, in xen_pt_msix_update_one()
395 msi_msix_disable(s, entry->addr, entry->data, entry->pirq, true, true); in xen_pt_msix_disable()
405 XenPTMSIXEntry *entry; in xen_pt_msix_update_remap() local
444 XenPTMSIXEntry *entry; in pci_msix_write() local
[all …]
/qemu/block/
H A Dqed-l2-cache.c79 g_free(entry); in qed_free_l2_cache()
92 CachedL2Table *entry; in qed_alloc_l2_cache_entry() local
94 entry = g_malloc0(sizeof(*entry)); in qed_alloc_l2_cache_entry()
95 entry->ref++; in qed_alloc_l2_cache_entry()
99 return entry; in qed_alloc_l2_cache_entry()
110 if (!entry) { in qed_unref_l2_cache_entry()
114 entry->ref--; in qed_unref_l2_cache_entry()
115 trace_qed_unref_l2_cache_entry(entry, entry->ref); in qed_unref_l2_cache_entry()
118 g_free(entry); in qed_unref_l2_cache_entry()
137 trace_qed_find_l2_cache_entry(l2_cache, entry, offset, entry->ref); in qed_find_l2_cache_entry()
[all …]
H A Dqcow2-bitmap.c399 entry->bitmap_table_offset = be64_to_cpu(entry->bitmap_table_offset); in bitmap_dir_entry_to_cpu()
400 entry->bitmap_table_size = be32_to_cpu(entry->bitmap_table_size); in bitmap_dir_entry_to_cpu()
401 entry->flags = be32_to_cpu(entry->flags); in bitmap_dir_entry_to_cpu()
402 entry->name_size = be16_to_cpu(entry->name_size); in bitmap_dir_entry_to_cpu()
403 entry->extra_data_size = be32_to_cpu(entry->extra_data_size); in bitmap_dir_entry_to_cpu()
408 entry->bitmap_table_offset = cpu_to_be64(entry->bitmap_table_offset); in bitmap_dir_entry_to_be()
409 entry->bitmap_table_size = cpu_to_be32(entry->bitmap_table_size); in bitmap_dir_entry_to_be()
410 entry->flags = cpu_to_be32(entry->flags); in bitmap_dir_entry_to_be()
411 entry->name_size = cpu_to_be16(entry->name_size); in bitmap_dir_entry_to_be()
412 entry->extra_data_size = cpu_to_be32(entry->extra_data_size); in bitmap_dir_entry_to_be()
[all …]
/qemu/hw/acpi/
H A Dbios-linker-loader.c164 return entry; in bios_linker_find_file()
205 memset(&entry, 0, sizeof entry); in bios_linker_loader_alloc()
206 strncpy(entry.alloc.file, file_name, sizeof entry.alloc.file - 1); in bios_linker_loader_alloc()
213 g_array_prepend_vals(linker->cmd_blob, &entry, sizeof entry); in bios_linker_loader_alloc()
245 memset(&entry, 0, sizeof entry); in bios_linker_loader_add_checksum()
246 strncpy(entry.cksum.file, file_name, sizeof entry.cksum.file - 1); in bios_linker_loader_add_checksum()
252 g_array_append_vals(linker->cmd_blob, &entry, sizeof entry); in bios_linker_loader_add_checksum()
291 memset(&entry, 0, sizeof entry); in bios_linker_loader_add_pointer()
306 g_array_append_vals(linker->cmd_blob, &entry, sizeof entry); in bios_linker_loader_add_pointer()
338 memset(&entry, 0, sizeof entry); in bios_linker_loader_write_pointer()
[all …]
/qemu/target/sh4/
H A Dhelper.c452 if (entry->v) { in cpu_load_tlb()
497 entry->v = 0; in cpu_sh4_invalidate_tlb()
502 entry->v = 0; in cpu_sh4_invalidate_tlb()
528 if (entry->v) { in cpu_sh4_write_mmaped_itlb_addr()
533 entry->asid = asid; in cpu_sh4_write_mmaped_itlb_addr()
534 entry->vpn = vpn; in cpu_sh4_write_mmaped_itlb_addr()
535 entry->v = v; in cpu_sh4_write_mmaped_itlb_addr()
624 && (!use_asid || entry->asid == asid || entry->sh)) { in cpu_sh4_write_mmaped_utlb_addr()
646 && (!use_asid || entry->asid == asid || entry->sh)) { in cpu_sh4_write_mmaped_utlb_addr()
672 entry->d = d; in cpu_sh4_write_mmaped_utlb_addr()
[all …]
/qemu/hw/dma/
H A Dsoc_dma.c135 entry ++; in soc_dma_ch_update_type()
136 if (entry->addr != ch->vaddr[port] || entry->u.fifo.out != port) in soc_dma_ch_update_type()
147 entry->addr + entry->u.mem.size <= ch->vaddr[port]) in soc_dma_ch_update_type()
272 entry->addr + entry->u.mem.size > virt_base) { in soc_dma_port_add_fifo()
277 (entry->addr + entry->u.mem.size)); in soc_dma_port_add_fifo()
286 if (entry->addr == virt_base && entry->u.fifo.out == out) { in soc_dma_port_add_fifo()
296 memmove(entry + 1, entry, in soc_dma_port_add_fifo()
321 if ((entry->addr >= virt_base && entry->addr < virt_base + size) || in soc_dma_port_add_mem()
323 entry->addr + entry->u.mem.size > virt_base)) { in soc_dma_port_add_mem()
328 entry->addr, entry->addr + entry->u.mem.size); in soc_dma_port_add_mem()
[all …]
/qemu/tests/qemu-iotests/
H A D271.out9 L2 entry #0: 0x8000000000050000 0000000000000001
11 L2 entry #0: 0x8000000000050000 0000000000000003
13 L2 entry #0: 0x8000000000050000 0000000000000007
15 L2 entry #0: 0x8000000000050000 000000000000000f
17 L2 entry #0: 0x8000000000050000 000000000000007f
19 L2 entry #0: 0x8000000000050000 00000000000003ff
21 L2 entry #0: 0x8000000000050000 00000000000103ff
23 L2 entry #0: 0x8000000000050000 00000000800103ff
24 L2 entry #1: 0x8000000000060000 0000000000000003
26 L2 entry #0: 0x8000000000050000 00000002800103fd
[all …]
/qemu/util/
H A Denvlist.c49 g_free(entry); in envlist_free()
146 for (entry = envlist->el_entries.lh_first; entry != NULL; in envlist_setenv()
147 entry = entry->ev_link.le_next) { in envlist_setenv()
152 if (entry != NULL) { in envlist_setenv()
155 g_free(entry); in envlist_setenv()
160 entry = g_malloc(sizeof(*entry)); in envlist_setenv()
189 for (entry = envlist->el_entries.lh_first; entry != NULL; in envlist_unsetenv()
190 entry = entry->ev_link.le_next) { in envlist_unsetenv()
197 g_free(entry); in envlist_unsetenv()
222 for (entry = envlist->el_entries.lh_first; entry != NULL; in envlist_to_environ()
[all …]
H A Dyank.c70 YankInstanceEntry *entry; in yank_find_entry() local
74 return entry; in yank_find_entry()
82 YankInstanceEntry *entry; in yank_register_instance() local
101 YankInstanceEntry *entry; in yank_unregister_instance() local
105 assert(entry); in yank_unregister_instance()
110 g_free(entry); in yank_unregister_instance()
117 YankInstanceEntry *entry; in yank_register_function() local
122 assert(entry); in yank_register_function()
140 assert(entry); in yank_unregister_function()
163 if (!entry) { in qmp_yank()
[all …]
/qemu/tests/multiboot/
H A Dmmap.out10 0x0 - 0x9fc00: type 1 [entry size: 20]
11 0x9fc00 - 0xa0000: type 2 [entry size: 20]
12 0xf0000 - 0x100000: type 2 [entry size: 20]
13 0x100000 - 0x7fe0000: type 1 [entry size: 20]
28 0x0 - 0x9fc00: type 1 [entry size: 20]
29 0x9fc00 - 0xa0000: type 2 [entry size: 20]
30 0xf0000 - 0x100000: type 2 [entry size: 20]
45 0x0 - 0x9fc00: type 1 [entry size: 20]
46 0x9fc00 - 0xa0000: type 2 [entry size: 20]
63 0x0 - 0x9fc00: type 1 [entry size: 20]
[all …]
/qemu/hw/i386/
H A Dacpi-common.c36 GArray *entry, bool force_enabled) in pc_madt_cpu_entry() argument
55 build_append_int_noprefix(entry, flags, 4); /* Flags */ in pc_madt_cpu_entry()
70 build_append_int_noprefix(entry, 1, 1); /* Type */ in build_ioapic()
71 build_append_int_noprefix(entry, 12, 1); /* Length */ in build_ioapic()
73 build_append_int_noprefix(entry, 0, 1); /* Reserved */ in build_ioapic()
82 build_append_int_noprefix(entry, 2, 1); /* Type */ in build_xrupt_override()
83 build_append_int_noprefix(entry, 10, 1); /* Length */ in build_xrupt_override()
84 build_append_int_noprefix(entry, 0, 1); /* Bus */ in build_xrupt_override()
85 build_append_int_noprefix(entry, src, 1); /* Source */ in build_xrupt_override()
87 build_append_int_noprefix(entry, gsi, 4); in build_xrupt_override()
[all …]
/qemu/qobject/
H A Dqdict.c58 QDictEntry *entry; in alloc_entry() local
60 entry = g_malloc0(sizeof(*entry)); in alloc_entry()
64 return entry; in alloc_entry()
85 return entry->key; in qdict_entry_key()
94 QDictEntry *entry; in qdict_find() local
118 QDictEntry *entry; in qdict_put_obj() local
122 if (entry) { in qdict_put_obj()
162 QDictEntry *entry; in qdict_get() local
165 return (entry == NULL ? NULL : entry->value); in qdict_get()
355 qdict_put_obj(dest, entry->key, qobject_ref(entry->value)); in qdict_clone_shallow()
[all …]
H A Dqlist.c41 QListEntry *entry; in qlist_copy() local
59 QListEntry *entry; in qlist_append_obj() local
61 entry = g_malloc(sizeof(*entry)); in qlist_append_obj()
62 entry->value = value; in qlist_append_obj()
89 QListEntry *entry; in qlist_pop() local
99 ret = entry->value; in qlist_pop()
100 g_free(entry); in qlist_pop()
107 QListEntry *entry; in qlist_peek() local
115 return entry->value; in qlist_peek()
126 QListEntry *entry; in qlist_size() local
[all …]
H A Dblock-qdict.c58 const QListEntry *entry; in qdict_flatten_qlist() local
72 for (i = 0; entry; entry = qlist_next(entry), i++) { in qdict_flatten_qlist()
104 while (entry != NULL) { in qdict_flatten_qdict()
144 entry = next; in qdict_flatten_qdict()
174 while (entry != NULL) { in qdict_extract_subqdict()
182 entry = next; in qdict_extract_subqdict()
191 for (entry = qdict_first(src); entry; entry = qdict_next(src, entry)) { in qdict_count_prefixed_entries()
637 for (entry = qdict_first(src); entry; entry = qdict_next(src, entry)) { in qdict_array_entries()
670 while (entry) { in qdict_join()
674 qdict_put_obj(dest, entry->key, qobject_ref(entry->value)); in qdict_join()
[all …]
/qemu/stats/
H A Dstats-qmp-cmds.c29 entry->provider = provider; in add_stats_callbacks()
30 entry->stats_cb = stats_fn; in add_stats_callbacks()
31 entry->schemas_cb = schemas_fn; in add_stats_callbacks()
85 StatsCallbacks *entry; in qmp_query_stats() local
112 StatsCallbacks *entry; in qmp_query_stats_schemas() local
132 entry->provider = provider; in add_stats_entry()
133 entry->qom_path = g_strdup(qom_path); in add_stats_entry()
134 entry->stats = stats_list; in add_stats_entry()
145 entry->provider = provider; in add_stats_schema()
146 entry->target = target; in add_stats_schema()
[all …]
/qemu/ui/
H A Dvnc-palette.c35 VncPaletteEntry *entry; in palette_find() local
39 return entry; in palette_find()
80 VncPaletteEntry *entry; in palette_put() local
88 if (!entry) { in palette_put()
90 entry->color = color; in palette_put()
91 entry->idx = idx; in palette_put()
100 VncPaletteEntry *entry; in palette_idx() local
105 return (entry == NULL ? -1 : entry->idx); in palette_idx()
118 VncPaletteEntry *entry; in palette_iter() local
122 iter(entry->idx, entry->color, opaque); in palette_iter()
[all …]
H A Dinput-legacy.c119 if (!entry || !entry->put_kbd) { in legacy_kbd_event()
126 entry->put_kbd(entry->opaque, scancodes[i]); in legacy_kbd_event()
138 QEMUPutKbdEntry *entry; in qemu_add_kbd_event_handler() local
140 entry = g_new0(QEMUPutKbdEntry, 1); in qemu_add_kbd_event_handler()
141 entry->put_kbd = func; in qemu_add_kbd_event_handler()
142 entry->opaque = opaque; in qemu_add_kbd_event_handler()
143 entry->s = qemu_input_handler_register((DeviceState *)entry, in qemu_add_kbd_event_handler()
146 return entry; in qemu_add_kbd_event_handler()
259 g_free(entry); in qemu_remove_mouse_event_handler()
277 if (entry == NULL) in qemu_remove_led_event_handler()
[all …]
/qemu/hw/intc/
H A Dgic_internal.h135 #define GICH_LR_VIRT_ID(entry) (FIELD_EX32(entry, GICH_LR0, VirtualID)) argument
136 #define GICH_LR_PHYS_ID(entry) (FIELD_EX32(entry, GICH_LR0, PhysicalID)) argument
137 #define GICH_LR_CPUID(entry) (FIELD_EX32(entry, GICH_LR0, CPUID)) argument
138 #define GICH_LR_EOI(entry) (FIELD_EX32(entry, GICH_LR0, EOI)) argument
139 #define GICH_LR_PRIORITY(entry) (FIELD_EX32(entry, GICH_LR0, Priority) << 3) argument
140 #define GICH_LR_STATE(entry) (FIELD_EX32(entry, GICH_LR0, State)) argument
141 #define GICH_LR_GROUP(entry) (FIELD_EX32(entry, GICH_LR0, Grp1)) argument
142 #define GICH_LR_HW(entry) (FIELD_EX32(entry, GICH_LR0, HW)) argument
146 #define GICH_LR_SET_ACTIVE(entry) \ argument
239 return entry; in gic_get_lr_entry()
[all …]
H A Dioapic.c80 info->vector = entry & IOAPIC_VECTOR_MASK; in ioapic_entry_parse()
97 uint64_t entry; in ioapic_service() local
104 entry = s->ioredtbl[i]; in ioapic_service()
105 ioapic_entry_parse(entry, &info); in ioapic_service()
168 uint64_t entry = s->ioredtbl[vector]; in ioapic_set_irq() local
226 uint64_t entry; in ioapic_eoi_broadcast() local
237 entry = s->ioredtbl[n]; in ioapic_eoi_broadcast()
263 if (!(entry & IOAPIC_LVT_REMOTE_IRR)) { in ioapic_eoi_broadcast()
359 ioapic_fix_edge_remote_irr(uint64_t *entry) in ioapic_fix_edge_remote_irr() argument
361 if (!(*entry & IOAPIC_LVT_TRIGGER_MODE)) { in ioapic_fix_edge_remote_irr()
[all …]
/qemu/target/s390x/
H A Dmmu_helper.c119 entry, sizeof(*entry)) != in read_table_entry()
123 *entry = be64_to_cpu(*entry); in read_table_entry()
139 uint64_t entry; in mmu_translate_asce() local
189 if (entry & REGION_ENTRY_I) { in mmu_translate_asce()
208 if (entry & REGION_ENTRY_I) { in mmu_translate_asce()
227 if (entry & REGION_ENTRY_I) { in mmu_translate_asce()
257 if (entry & SEGMENT_ENTRY_I) { in mmu_translate_asce()
266 if (entry & SEGMENT_ENTRY_P) { in mmu_translate_asce()
284 if (entry & PAGE_ENTRY_I) { in mmu_translate_asce()
287 if (entry & PAGE_ENTRY_0) { in mmu_translate_asce()
[all …]
/qemu/hw/cxl/
H A Dcxl-events.c59 return QSIMPLEQ_NEXT(entry, node); in cxl_event_get_next()
90 g_free(entry); in cxl_event_delete_head()
102 CXLEvent *entry; in cxl_event_insert() local
123 entry = g_new0(CXLEvent, 1); in cxl_event_insert()
147 CXLEvent *entry; in cxl_event_get_records() local
158 entry = cxl_event_get_head(log); in cxl_event_get_records()
161 entry = cxl_event_get_next(entry); in cxl_event_get_records()
188 CXLEvent *entry; in cxl_event_clear_records() local
209 entry = cxl_event_get_head(log); in cxl_event_clear_records()
217 entry = cxl_event_get_next(entry); in cxl_event_clear_records()
[all …]
/qemu/target/s390x/kvm/
H A Dstsi-topology.c58 tle->mask = cpu_to_be64(entry->mask); in fill_tle_cpu()
89 S390TopologyEntry *entry; in stsi_topology_fill_sysib() local
119 p = fill_tle_cpu(p, entry); in stsi_topology_fill_sysib()
120 last_drawer = entry->id.drawer; in stsi_topology_fill_sysib()
121 last_book = entry->id.book; in stsi_topology_fill_sysib()
265 entry = tmp; in s390_topology_fill_list_sorted()
268 entry = g_malloc0(sizeof(*entry)); in s390_topology_fill_list_sorted()
269 entry->id = id; in s390_topology_fill_list_sorted()
274 assert(entry); in s390_topology_fill_list_sorted()
288 S390TopologyEntry *entry = NULL; in s390_topology_empty_list() local
[all …]
/qemu/tests/plugin/
H A Dsyscall.c30 SyscallStats *entry = in get_or_create_entry() local
33 if (!entry) { in get_or_create_entry()
34 entry = g_new0(SyscallStats, 1); in get_or_create_entry()
35 entry->num = num; in get_or_create_entry()
39 return entry; in get_or_create_entry()
48 SyscallStats *entry; in vcpu_syscall() local
51 entry->calls++; in vcpu_syscall()
63 SyscallStats *entry; in vcpu_syscall_ret() local
69 entry->errors++; in vcpu_syscall_ret()
82 int64_t syscall_num = entry->num; in print_entry()
[all …]
/qemu/target/xtensa/
H A Dmmu_helper.c280 entry->vaddr = vpn; in xtensa_tlb_set_entry_mmu()
283 entry->attr = pte & 0xf; in xtensa_tlb_set_entry_mmu()
294 if (entry->variable) { in xtensa_tlb_set_entry()
475 if (entry[wi][ei].vaddr == vpn && entry[wi][ei].asid) { in xtensa_tlb_lookup()
499 if (entry) { in HELPER()
500 return (entry->vaddr & get_vpn_mask(env, dtlb, wi)) | entry->asid; in HELPER()
513 if (entry) { in HELPER()
514 return entry->paddr | entry->attr; in HELPER()
525 if (entry && entry->variable && entry->asid) { in HELPER()
527 entry->asid = 0; in HELPER()
[all …]

12345678910>>...16