| /qemu/block/ |
| A D | qcow2-cache.c | 39 Qcow2CachedTable *entries; member 143 g_free(c->entries); in qcow2_cache_create() 160 g_free(c->entries); in qcow2_cache_destroy() 188 if (!c->entries[i].dirty || !c->entries[i].offset) { in qcow2_cache_entry_flush() 235 c->entries[i].dirty = false; in qcow2_cache_entry_flush() 380 c->entries[i].offset = 0; in qcow2_cache_do_get() 397 c->entries[i].ref++; in qcow2_cache_do_get() 422 c->entries[i].ref--; in qcow2_cache_put() 436 c->entries[i].dirty = true; in qcow2_cache_entry_mark_dirty() 457 c->entries[i].offset = 0; in qcow2_cache_discard() [all …]
|
| A D | qed-l2-cache.c | 66 QTAILQ_INIT(&l2_cache->entries); in qed_init_l2_cache() 77 QTAILQ_FOREACH_SAFE(entry, &l2_cache->entries, node, next_entry) { in qed_free_l2_cache() 135 QTAILQ_FOREACH(entry, &l2_cache->entries, node) { in qed_find_l2_cache_entry() 177 QTAILQ_FOREACH_SAFE(entry, &l2_cache->entries, node, next) { in qed_commit_l2_cache_entry() 182 QTAILQ_REMOVE(&l2_cache->entries, entry, node); in qed_commit_l2_cache_entry() 194 QTAILQ_INSERT_TAIL(&l2_cache->entries, l2_table, node); in qed_commit_l2_cache_entry()
|
| A D | accounting.c | 71 QSLIST_FOREACH_SAFE(s, &stats->intervals, entries, next) { in block_acct_cleanup() 86 QSLIST_INSERT_HEAD(&stats->intervals, s, entries); in block_acct_add_interval() 101 return QSLIST_NEXT(s, entries); in block_acct_interval_next() 235 QSLIST_FOREACH(s, &stats->intervals, entries) { in block_account_one_io()
|
| /qemu/util/ |
| A D | qdist.c | 21 dist->entries = g_new(struct qdist_entry, 1); in qdist_init() 28 g_free(dist->entries); in qdist_destroy() 67 dist->entries = g_renew(struct qdist_entry, dist->entries, dist->size); in qdist_add() 70 entry = &dist->entries[dist->n - 1]; in qdist_add() 114 if (dist->entries[0].count) { in qdist_pr_internal() 123 min = dist->entries[0].count; in qdist_pr_internal() 126 struct qdist_entry *e = &dist->entries[i]; in qdist_pr_internal() 137 struct qdist_entry *e = &dist->entries[i]; in qdist_pr_internal() 192 to->entries = g_renew(struct qdist_entry, to->entries, n); in qdist_bin__internal() 194 memcpy(to->entries, from->entries, sizeof(*to->entries) * to->n); in qdist_bin__internal() [all …]
|
| A D | qemu-config.c | 63 int entries, i; in qemu_add_drive_opts() local 65 entries = ARRAY_SIZE(drive_config_groups); in qemu_add_drive_opts() 66 entries--; /* keep list NULL terminated */ in qemu_add_drive_opts() 67 for (i = 0; i < entries; i++) { in qemu_add_drive_opts() 79 int entries, i; in qemu_add_opts() local 81 entries = ARRAY_SIZE(vm_config_groups); in qemu_add_opts() 82 entries--; /* keep list NULL terminated */ in qemu_add_opts() 83 for (i = 0; i < entries; i++) { in qemu_add_opts()
|
| A D | qemu-coroutine-lock.c | 38 QSIMPLEQ_INIT(&queue->entries); in qemu_co_queue_init() 46 QSIMPLEQ_INSERT_HEAD(&queue->entries, self, co_queue_next); in qemu_co_queue_wait_impl() 48 QSIMPLEQ_INSERT_TAIL(&queue->entries, self, co_queue_next); in qemu_co_queue_wait_impl() 78 next = QSIMPLEQ_FIRST(&queue->entries); in qemu_co_enter_next_impl() 83 QSIMPLEQ_REMOVE_HEAD(&queue->entries, co_queue_next); in qemu_co_enter_next_impl() 115 return QSIMPLEQ_FIRST(&queue->entries) == NULL; in qemu_co_queue_empty()
|
| A D | qsp.c | 673 QSPReportEntry *entries; member 688 entry = &report->entries[report->n_entries]; in qsp_tree_report() 712 const QSPReportEntry *e = &rep->entries[i]; in pr_report() 735 const QSPReportEntry *e = &rep->entries[i]; in pr_report() 761 QSPReportEntry *e = &rep->entries[i]; in report_destroy() 765 g_free(rep->entries); in report_destroy() 776 rep.entries = g_new0(QSPReportEntry, max); in qsp_report()
|
| A D | qht.c | 980 stats->entries = 0; in qht_statistics_init() 995 size_t entries; in qht_statistics_init() local 1001 entries = 0; in qht_statistics_init() 1008 entries++; in qht_statistics_init() 1015 if (entries) { in qht_statistics_init() 1018 (double)entries / QHT_BUCKET_ENTRIES / buckets); in qht_statistics_init() 1020 stats->entries += entries; in qht_statistics_init()
|
| /qemu/tests/multiboot/ |
| A D | modules.out | 6 Module list with 0 entries at 102000 11 Module list with 1 entries at 102000 18 Module list with 1 entries at 102000 25 Module list with 1 entries at 102000 32 Module list with 3 entries at 102000
|
| /qemu/hw/i386/kvm/ |
| A D | xen_gnttab.c | 56 } entries; member 80 s->entries.v1 = memory_region_get_ram_ptr(&s->gnt_frames); in xen_gnttab_realize() 93 memset(s->entries.v1, 0, XEN_PAGE_SIZE * s->max_frames); in xen_gnttab_realize() 94 s->entries.v1[GNTTAB_RESERVED_XENSTORE].flags = GTF_permit_access; in xen_gnttab_realize() 95 s->entries.v1[GNTTAB_RESERVED_XENSTORE].frame = XEN_SPECIAL_PFN(XENSTORE); in xen_gnttab_realize() 266 grant_entry_v1_t *gnt_p = &s->entries.v1[ref]; in gnt_unref() 286 gnt_p = &s->entries.v1[ref]; in gnt_ref() 540 memset(s->entries.v1, 0, XEN_PAGE_SIZE * s->max_frames); in xen_gnttab_reset() 541 s->entries.v1[GNTTAB_RESERVED_XENSTORE].flags = GTF_permit_access; in xen_gnttab_reset() 542 s->entries.v1[GNTTAB_RESERVED_XENSTORE].frame = XEN_SPECIAL_PFN(XENSTORE); in xen_gnttab_reset() [all …]
|
| /qemu/audio/ |
| A D | audio-hmp-cmds.c | 39 for (s = capture_head.lh_first, i = 0; s; s = s->entries.le_next, ++i) { in hmp_info_capture() 51 for (s = capture_head.lh_first, i = 0; s; s = s->entries.le_next, ++i) { in hmp_stopcapture() 54 QLIST_REMOVE (s, entries); in hmp_stopcapture() 84 QLIST_INSERT_HEAD (&capture_head, s, entries); in hmp_wavcapture()
|
| A D | audio.c | 443 SWVoiceCap *sc1 = sc->entries.le_next; in audio_detach_capture() 453 QLIST_REMOVE (sw, entries); in audio_detach_capture() 454 QLIST_REMOVE (sc, entries); in audio_detach_capture() 1633 QLIST_REMOVE(hwo, entries); in free_audio_state() 1641 QLIST_REMOVE(hwi, entries); in free_audio_state() 1820 memset (&card->entries, 0, sizeof (card->entries)); in AUD_register_card() 1828 QLIST_REMOVE (card, entries); in AUD_remove_card() 1914 QLIST_REMOVE (cb, entries); in AUD_del_capture() 1926 sw1 = sw->entries.le_next; in AUD_del_capture() 1931 QLIST_REMOVE (sw, entries); in AUD_del_capture() [all …]
|
| A D | audio_int.h | 82 QLIST_ENTRY (HWVoiceOut) entries; 103 QLIST_ENTRY (HWVoiceIn) entries; 120 QLIST_ENTRY (SWVoiceOut) entries; 136 QLIST_ENTRY (SWVoiceIn) entries; 203 QLIST_ENTRY (capture_callback) entries; 210 QLIST_ENTRY (CaptureVoiceOut) entries; 216 QLIST_ENTRY (SWVoiceCap) entries;
|
| /qemu/tests/qtest/ |
| A D | virtio-9p-test.c | 114 struct V9fsDirent *entries = NULL; in fs_readdir() local 133 .count = &count, .nentries = &nentries, .entries = &entries in fs_readdir() 150 g_assert_cmpint(fs_dirents_contain_name(entries, "."), ==, true); in fs_readdir() 158 v9fs_free_dirents(entries); in fs_readdir() 169 struct V9fsDirent *entries, *tail, *partialentries; in do_readdir_split() local 177 entries = NULL; in do_readdir_split() 203 .entries = &partialentries in do_readdir_split() 207 if (!entries) { in do_readdir_split() 208 entries = partialentries; in do_readdir_split() 233 g_assert_cmpint(fs_dirents_contain_name(entries, "."), ==, true); in do_readdir_split() [all …]
|
| /qemu/hw/nvram/ |
| A D | fw_cfg.c | 629 ptr = s->entries[arch][key].data; in fw_cfg_update_mr() 711 s->entries[arch][key].data = data; in fw_cfg_add_bytes_callback() 712 s->entries[arch][key].len = (uint32_t)len; in fw_cfg_add_bytes_callback() 713 s->entries[arch][key].select_cb = select_cb; in fw_cfg_add_bytes_callback() 714 s->entries[arch][key].write_cb = write_cb; in fw_cfg_add_bytes_callback() 730 ptr = s->entries[arch][key].data; in fw_cfg_modify_bytes_read() 731 s->entries[arch][key].data = data; in fw_cfg_modify_bytes_read() 732 s->entries[arch][key].len = len; in fw_cfg_modify_bytes_read() 733 s->entries[arch][key].callback_opaque = NULL; in fw_cfg_modify_bytes_read() 734 s->entries[arch][key].allow_write = false; in fw_cfg_modify_bytes_read() [all …]
|
| /qemu/tests/tcg/plugins/ |
| A D | syscall.c | 199 GList *entries = g_hash_table_get_values(statistics); in plugin_exit() local 200 entries = g_list_sort(entries, comp_func); in plugin_exit() 203 g_list_foreach(entries, print_entry, NULL); in plugin_exit() 205 g_list_free(entries); in plugin_exit()
|
| /qemu/include/hw/s390x/ |
| A D | sclp.h | 140 struct CPUEntry entries[]; member 155 struct CPUEntry entries[]; member 164 uint32_t entries[]; member 172 uint32_t entries[]; member
|
| /qemu/system/ |
| A D | runstate.c | 301 QTAILQ_ENTRY(VMChangeStateEntry) entries; 359 QTAILQ_FOREACH(other, &vm_change_state_head, entries) { in qemu_add_vm_change_state_handler_prio_full() 361 QTAILQ_INSERT_BEFORE(other, e, entries); in qemu_add_vm_change_state_handler_prio_full() 366 QTAILQ_INSERT_TAIL(&vm_change_state_head, e, entries); in qemu_add_vm_change_state_handler_prio_full() 378 QTAILQ_REMOVE(&vm_change_state_head, e, entries); in qemu_del_vm_change_state_handler() 389 QTAILQ_FOREACH_SAFE(e, &vm_change_state_head, entries, next) { in vm_state_notify() 395 QTAILQ_FOREACH_SAFE(e, &vm_change_state_head, entries, next) { in vm_state_notify() 399 QTAILQ_FOREACH_REVERSE_SAFE(e, &vm_change_state_head, entries, next) { in vm_state_notify() 405 QTAILQ_FOREACH_REVERSE_SAFE(e, &vm_change_state_head, entries, next) { in vm_state_notify()
|
| /qemu/hw/9pfs/ |
| A D | codir.c | 72 do_readdir_many(V9fsPDU *pdu, V9fsFidState *fidp, struct V9fsDirEnt **entries, in do_readdir_many() argument 85 *entries = NULL; in do_readdir_many() 143 *entries = e = g_new0(V9fsDirEnt, 1); in do_readdir_many() 217 struct V9fsDirEnt **entries, in v9fs_co_readdir_many() argument 227 err = do_readdir_many(pdu, fidp, entries, offset, maxsize, dostat); in v9fs_co_readdir_many()
|
| /qemu/pc-bios/s390-ccw/ |
| A D | netmain.c | 329 struct pl_cfg_entry entries[MAX_PXELINUX_ENTRIES]; in net_try_pxelinux_cfg() local 335 entries, MAX_PXELINUX_ENTRIES, &def_ent); in net_try_pxelinux_cfg() 337 return load_kernel_with_initrd(fn_ip, &entries[def_ent]); in net_try_pxelinux_cfg() 421 struct pl_cfg_entry entries[MAX_PXELINUX_ENTRIES]; in net_try_direct_tftp_load() local 424 num_ent = pxelinux_parse_cfg(cfgbuf, sizeof(cfgbuf), entries, in net_try_direct_tftp_load() 429 return load_kernel_with_initrd(fn_ip, &entries[def_ent]); in net_try_direct_tftp_load()
|
| /qemu/hw/i386/xen/ |
| A D | xen-hvm.c | 534 char **entries = NULL; in xen_read_physmap() local 538 entries = xs_directory(state->xenstore, 0, path, &num); in xen_read_physmap() 539 if (entries == NULL) in xen_read_physmap() 544 physmap->phys_offset = strtoull(entries[i], NULL, 16); in xen_read_physmap() 547 xen_domid, entries[i]); in xen_read_physmap() 558 xen_domid, entries[i]); in xen_read_physmap() 569 xen_domid, entries[i]); in xen_read_physmap() 574 free(entries); in xen_read_physmap()
|
| /qemu/docs/specs/ |
| A D | sev-guest-firmware.rst | 8 The guest firmware image (OVMF) may contain some configuration entries 12 reads individual entries when their values are needed. 15 entries in the table are related to SEV and SEV-ES features. 82 Table entries description
|
| /qemu/pc-bios/optionrom/ |
| A D | pvh_main.c | 41 uint32_t entries; member 85 start_info.memmap_entries = pvh_e820.entries; in pvh_load_kernel()
|
| /qemu/target/sh4/ |
| A D | helper.c | 234 tlb_t * entries, uint8_t nbtlb, int use_asid) in find_tlb_entry() argument 244 if (!entries[i].v) in find_tlb_entry() 246 if (!entries[i].sh && use_asid && entries[i].asid != asid) in find_tlb_entry() 248 start = (entries[i].vpn << 10) & ~(entries[i].size - 1); in find_tlb_entry() 249 end = start + entries[i].size - 1; in find_tlb_entry()
|
| /qemu/docs/ |
| A D | qcow2-cache.txt | 67 Each block contains a number of refcount entries. Their size (in bits) 136 The minimal L2 cache size is 2 clusters (or 2 cache entries, see below). 159 Using smaller cache entries 207 It is possible to clean unused cache entries in order to reduce the 211 after which all the cache entries that haven't been accessed during the 215 The following example removes all unused cache entries every 15 minutes: 230 64-bit L2 entries. 232 Images with extended L2 entries need twice as much L2 metadata, so the L2
|