Home
last modified time | relevance | path

Searched full:entries (Results 1 – 25 of 388) sorted by relevance

12345678910>>...16

/qemu/block/
H A Dqcow2-cache.c39 Qcow2CachedTable *entries; member
91 Qcow2CachedTable *t = &c->entries[i]; in can_clean_entry()
102 /* Skip the entries that we don't need to clean */ in qcow2_cache_clean_unused()
109 c->entries[i].offset = 0; in qcow2_cache_clean_unused()
110 c->entries[i].lru_counter = 0; in qcow2_cache_clean_unused()
137 c->entries = g_try_new0(Qcow2CachedTable, num_tables); in qcow2_cache_create()
141 if (!c->entries || !c->table_array) { in qcow2_cache_create()
143 g_free(c->entries); in qcow2_cache_create()
156 assert(c->entries[i].ref == 0); in qcow2_cache_destroy()
160 g_free(c->entries); in qcow2_cache_destroy()
[all …]
H A Dqed-l2-cache.c66 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()
172 /* Evict an unused cache entry so we have space. If all entries are in use in qed_commit_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()
/qemu/util/
H A Dqdist.c21 dist->entries = g_new(struct qdist_entry, 1); in qdist_init()
28 g_free(dist->entries); in qdist_destroy()
57 entry = bsearch(&e, dist->entries, dist->n, sizeof(e), qdist_cmp); in qdist_add()
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()
73 qsort(dist->entries, dist->n, sizeof(*entry), qdist_cmp); 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()
[all …]
H A Dqemu-config.c63 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()
H A Dqsp.c23 * all entries in the hash table. Depending on the number of threads and
48 * - Wrap operations on qsp entries with RCU read-side critical sections, so
49 * that qsp_reset() can delete entries. Unfortunately, the overhead of calling
319 * Note: Entries are never removed, so callers do not have to be in an RCU
552 /* entries are never deleted, so we must have this one */ in qsp_iter_diff()
607 * the entries we'll read will be a superset of the snapshot's entries. in qsp_mktree()
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()
[all …]
/qemu/target/xtensa/core-de233_fpu/
H A Dcore-matmap.h156 * entries, page sizes, which fields are writable or constant, etc.
168 * TLB way entries are virtually indexed.
177 * common encoding with PTE entries; the encoding is the index into
221 #define XCHAL_ITLB_SET0_ENTRIES_LOG2 2 /* log2(number of entries in this way) */
222 #define XCHAL_ITLB_SET0_ENTRIES 4 /* number of entries in this way (always a power of 2) */
229 2^PAGESZ_BITS entries in list, unsupported entries are zero */
242 #define XCHAL_ITLB_SET1_ENTRIES_LOG2 2 /* log2(number of entries in this way) */
243 #define XCHAL_ITLB_SET1_ENTRIES 4 /* number of entries in this way (always a power of 2) */
250 2^PAGESZ_BITS entries in list, unsupported entries are zero */
263 #define XCHAL_ITLB_SET2_ENTRIES_LOG2 2 /* log2(number of entries in this way) */
[all …]
/qemu/hw/9pfs/
H A Dcodir.c73 do_readdir_many(V9fsPDU *pdu, V9fsFidState *fidp, struct V9fsDirEnt **entries, in do_readdir_many() argument
86 *entries = NULL; in do_readdir_many()
129 * response message size for the directory entries collected so far, in do_readdir_many()
144 *entries = e = g_new0(V9fsDirEnt, 1); in do_readdir_many()
187 * v9fs_co_readdir_many() - Reads multiple directory entries in one rush.
191 * @entries: output for directory entries (must not be NULL)
193 * seek to before retrieving the directory entries
200 * Retrieves the requested (max. amount of) directory entries from the fs
205 * Acquiring multiple directory entries in one rush from the fs
209 * latencies of several hundred ms for reading all entries (of just a single
[all …]
/qemu/tests/multiboot/
H A Dmodules.out6 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/include/qemu/
H A Dqht.h27 * @entries: total number of entries
34 * Each bucket can host several entries.
40 size_t entries; member
56 * @n_elems: number of entries the hash table should be optimized for.
142 * All entries in the hash table are reset. No resizing is performed.
153 * @n_elems: number of entries the resized hash table should be optimized for.
167 * @n_elems: number of entries the resized hash table should be optimized for
190 * qht_iter_remove - Iterate over a QHT, optionally removing entries
/qemu/hw/i386/kvm/
H A Dxen_gnttab.c56 } 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()
354 * entries are 12 bytes). in xen_be_gnttab_map_refs()
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()
[all …]
/qemu/hw/i386/
H A Dtdvf.c155 /* load and parse metadata entries */ in tdvf_parse_metadata()
158 error_report("Invalid number of fw entries (%u) in TDVF Metadata", in tdvf_parse_metadata()
171 fw->entries = g_new(TdxFirmwareEntry, fw->nr_entries); in tdvf_parse_metadata()
177 if (tdvf_parse_and_check_section_entry(&sections[i], &fw->entries[i])) { in tdvf_parse_metadata()
186 fw->entries = 0; in tdvf_parse_metadata()
187 g_free(fw->entries); in tdvf_parse_metadata()
/qemu/docs/
H A Dqcow2-cache.txt67 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:
227 Extended L2 Entries
230 64-bit L2 entries.
232 Images with extended L2 entries need twice as much L2 metadata, so the L2
/qemu/tests/qtest/
H A Dvirtio-9p-test.c115 struct V9fsDirent *entries = NULL; in fs_readdir() local
134 .count = &count, .nentries = &nentries, .entries = &entries in fs_readdir()
140 * dir entries with only one readdir request. in fs_readdir()
148 * Check all file names exist in returned entries, ignore their order in fs_readdir()
151 g_assert_cmpint(fs_dirents_contain_name(entries, "."), ==, true); in fs_readdir()
152 g_assert_cmpint(fs_dirents_contain_name(entries, ".."), ==, true); in fs_readdir()
156 g_assert_cmpint(fs_dirents_contain_name(entries, name), ==, true); in fs_readdir()
159 v9fs_free_dirents(entries); in fs_readdir()
170 struct V9fsDirent *entries, *tail, *partialentries; in do_readdir_split() local
178 entries = NULL; in do_readdir_split()
[all …]
/qemu/tests/tcg/s390x/
H A Dsam.S41 /* DT = 0b11 (region-first-table), TL = 3 (2k entries) */
46 /* TT = 0b11 (region-first-table), TL = 3 (2k entries) */
51 /* TT = 0b10 (region-second-table), TL = 3 (2k entries) */
56 /* TT = 0b01 (region-third-table), TL = 3 (2k entries) */
/qemu/target/xtensa/core-dsp3400/
H A Dcore-matmap.h140 * entries, page sizes, which fields are writable or constant, etc.
152 * TLB way entries are virtually indexed.
161 * common encoding with PTE entries; the encoding is the index into
195 #define XCHAL_ITLB_SET0_ENTRIES_LOG2 3 /* log2(number of entries in this way) */
196 #define XCHAL_ITLB_SET0_ENTRIES 8 /* number of entries in this way (always a power of 2) */
203 2^PAGESZ_BITS entries in list, unsupported entries are zero */
261 #define XCHAL_DTLB_SET0_ENTRIES_LOG2 3 /* log2(number of entries in this way) */
262 #define XCHAL_DTLB_SET0_ENTRIES 8 /* number of entries in this way (always a power of 2) */
269 2^PAGESZ_BITS entries in list, unsupported entries are zero */
/qemu/audio/
H A Daudio.c393 for (cap = s->cap_head.lh_first; cap; cap = cap->entries.le_next) { in audio_pcm_capture_find_specific()
408 for (cb = cap->cb_head.lh_first; cb; cb = cb->entries.le_next) { in audio_notify_capture()
429 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { in audio_recalc_and_notify_capture()
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()
472 for (cap = s->cap_head.lh_first; cap; cap = cap->entries.le_next) { in audio_attach_capture()
487 QLIST_INSERT_HEAD (&hw_cap->sw_head, sw, entries); in audio_attach_capture()
488 QLIST_INSERT_HEAD (&hw->cap_head, sc, entries); in audio_attach_capture()
510 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { in audio_pcm_hw_find_min_in()
[all …]
H A Daudio_int.h82 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;
H A Daudio-hmp-cmds.c39 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()
/qemu/include/hw/i386/
H A Dtdvf.h37 TdxFirmwareEntry *entries; member
41 for (e = (fw)->entries; e != (fw)->entries + (fw)->nr_entries; e++)
/qemu/include/hw/s390x/
H A Dsclp.h140 struct CPUEntry entries[]; member
143 * start of the entries field begins at an offset denoted by the
155 struct CPUEntry entries[]; member
164 uint32_t entries[]; member
172 uint32_t entries[]; member
/qemu/hw/nvram/
H A Dfw_cfg.c283 e = &s->entries[arch][key & FW_CFG_ENTRY_MASK]; in fw_cfg_select()
298 &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK]; in fw_cfg_data_read()
364 &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK]; in fw_cfg_dma_transfer()
628 ptr = s->entries[arch][key].data; in fw_cfg_update_mr()
708 assert(s->entries[arch][key].data == NULL); /* avoid key conflict */ in fw_cfg_add_bytes_callback()
710 s->entries[arch][key].data = data; in fw_cfg_add_bytes_callback()
711 s->entries[arch][key].len = (uint32_t)len; in fw_cfg_add_bytes_callback()
712 s->entries[arch][key].select_cb = select_cb; in fw_cfg_add_bytes_callback()
713 s->entries[arch][key].write_cb = write_cb; in fw_cfg_add_bytes_callback()
714 s->entries[arch][key].callback_opaque = callback_opaque; in fw_cfg_add_bytes_callback()
[all …]
/qemu/docs/interop/
H A Dqcow2.rst47 Note: if the image has Extended L2 Entries then cluster_bits
70 Number of entries in the active L1 table
126 Bit 4: Extended L2 Entries. If this bit is set then
127 L2 table entries use an extended format that
129 Extended L2 Entries section for more details.
302 The number of entries in the feature name table is determined by the length of
341 size of all (nb_bitmaps) bitmap directory entries.
544 [*] this changes if Extended L2 Entries are enabled, see next section
586 With version 2 or with extended L2 entries (see the next
624 Extended L2 Entries
[all …]
H A Dparallels.rst109 defined by BAT entries (see below).
125 Cluster offsets specified by BAT entries must meet the following requirements:
130 - the value must be unique among all BAT entries
142 should meet the same requirements as clusters specified by BAT entries.
217 The number of entries in the L1 table of the bitmap.
/qemu/qobject/
H A Dblock-qdict.c66 * need to remove list entries during the iteration (the whole list will be in qdict_flatten_qlist()
123 * (Note that we do not need to remove entries from nested in qdict_flatten_qdict()
161 /* extract all the src QDict entries starting by start into dst.
162 * If dst is NULL then the entries are simply removed from src. */
212 * returns if there are both entries with "%u" and "%u." for the same index %u.
590 * qdict_array_entries(): Returns the number of direct array entries if the
600 unsigned entries = 0; in qdict_array_entries() local
607 * entries will lead to -EINVAL. */ in qdict_array_entries()
633 entries += subqdict_entries ? subqdict_entries : 1; in qdict_array_entries()
639 entries++; in qdict_array_entries()
[all …]
/qemu/target/i386/kvm/
H A Dtdx.c145 error_report("KVM TDX seems broken that number of CPUID entries" in get_tdx_capabilities()
398 .entries[0] = {
413 .entries[1] = {
418 .entries[2] = {
434 .entries[3] = {
441 .entries[4] = {
447 .entries[5] = {
454 .entries[6] = {
467 .entries[7] = {
536 error_report("tdx_supported_cpuid requries more space than %d entries", in find_in_supported_entry()
[all …]

12345678910>>...16