Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 101) sorted by relevance

12345

/qemu/block/
A Dqed-l2-cache.c95 entry->ref++; in qed_alloc_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()
116 if (entry->ref == 0) { 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()
138 entry->ref++; in qed_find_l2_cache_entry()
178 if (entry->ref > 1) { in qed_commit_l2_cache_entry()
A Dqcow2-cache.c34 int ref; member
92 return t->ref == 0 && !t->dirty && t->offset != 0 && in can_clean_entry()
156 assert(c->entries[i].ref == 0); in qcow2_cache_destroy()
311 assert(c->entries[i].ref == 0); in qcow2_cache_empty()
353 if (t->ref == 0 && t->lru_counter < min_lru_counter) { in qcow2_cache_do_get()
397 c->entries[i].ref++; in qcow2_cache_do_get()
422 c->entries[i].ref--; in qcow2_cache_put()
425 if (c->entries[i].ref == 0) { in qcow2_cache_put()
429 assert(c->entries[i].ref >= 0); in qcow2_cache_put()
455 assert(c->entries[i].ref == 0); in qcow2_cache_discard()
/qemu/docs/devel/
A Dindex.rst17 :ref:`development_process` and how the community interacts. Please pay
18 particular attention to the :ref:`coding-style` and
19 :ref:`submitting-a-patch` sections to avoid common pitfalls.
22 through the :ref:`qom` documentation to understand how QEMU's object
26 want to read our :ref:`tcg` documentation, especially the overview of
27 the :ref:`tcg_internals`.
A Dcrypto.rst1 .. _crypto-ref:
/qemu/hw/i386/kvm/
A Dxen_gnttab.c252 static void gnt_unref(XenGnttabState *s, grant_ref_t ref, in gnt_unref() argument
263 assert(s->map_track[ref] != 0); in gnt_unref()
265 if (--s->map_track[ref] == 0) { in gnt_unref()
266 grant_entry_v1_t *gnt_p = &s->entries.v1[ref]; in gnt_unref()
277 if (ref >= s->max_frames * ENTRIES_PER_FRAME_V1 || in gnt_ref()
278 s->map_track[ref] == UINT8_MAX) { in gnt_ref()
286 gnt_p = &s->entries.v1[ref]; in gnt_ref()
466 uint32_t ref = to_domain ? seg->dest.foreign.ref : in xen_be_gnttab_copy() local
467 seg->source.foreign.ref; in xen_be_gnttab_copy()
469 page = xen_be_gnttab_map_refs(xgt, 1, domid, &ref, prot); in xen_be_gnttab_copy()
[all …]
A Dxenstore_impl.c33 uint32_t ref; member
109 n->ref = 1; in xs_node_new()
121 g_assert(n->ref < INT_MAX); in xs_node_ref()
123 g_assert(n->ref); in xs_node_ref()
124 n->ref++; in xs_node_ref()
133 g_assert(n->ref); in xs_node_unref()
134 if (--n->ref) { in xs_node_unref()
377 if (n->ref != 1) { in node_rm_recurse()
642 assert(child->ref == 1); in xs_node_walk()
973 if (n->ref != 1) { in tx_commit_walk()
[all …]
/qemu/include/hw/xen/
A Dxen-legacy-backend.h54 uint32_t ref, int prot) in xen_be_map_grant_ref() argument
56 return xen_be_map_grant_refs(xendev, &ref, 1, prot); in xen_be_map_grant_ref()
60 void *ptr, uint32_t ref) in xen_be_unmap_grant_ref() argument
62 return xen_be_unmap_grant_refs(xendev, ptr, &ref, 1); in xen_be_unmap_grant_ref()
/qemu/docs/interop/
A Dindex.rst23 qemu-ga-ref
24 qemu-qmp-ref
25 qemu-storage-daemon-qmp-ref
/qemu/tests/qemu-iotests/
A Dtestrunner.py220 ref = f'{test}.out.nocache'
221 if os.path.isfile(ref):
222 return ref
224 ref = f'{test}.out.{self.env.imgfmt}'
225 if os.path.isfile(ref):
226 return ref
228 ref = f'{test}.{self.env.qemu_default_machine}.out'
229 if os.path.isfile(ref):
230 return ref
/qemu/docs/system/
A Dintroduction.rst47 vhost-user (for VirtIO) or :ref:`Multi-process QEMU`. If the platform
50 :ref:`device-emulation` for more details.
52 There is a full :ref:`featured block layer<Live Block Operations>`
61 :ref:`Human Monitor Protocol (HMP)<QEMU monitor>` that allows you to
63 state. The :ref:`QEMU Monitor Protocol<QMP Ref>` (QMP) is a well
71 :ref:`gdbstub<GDB usage>` which allows users to connect GDB and debug
85 the :ref:`system-targets-ref` section of the manual.
201 We then tell QEMU to multiplex the :ref:`QEMU monitor` with the serial
202 port output (we can switch between the two using :ref:`keys in the
/qemu/docs/system/arm/
A Dsbsa.rst1 Arm Server Base System Architecture Reference board (``sbsa-ref``)
4 The ``sbsa-ref`` board intends to look like real hardware (while the ``virt``
21 The ``sbsa-ref`` board supports:
36 ``sbsa-ref`` is a static system that reports a very minimal devicetree to the
71 what kind of ``sbsa-ref`` board it is running on. It is neither
/qemu/docs/about/
A Dindex.rst8 :ref:`System Emulation`, where it provides a virtual model of an
14 The second supported way to use QEMU is :ref:`User Mode Emulation`,
18 QEMU also provides a number of standalone :ref:`command line
A Demulation.rst6 :ref:`System Emulation` and :ref:`User Mode Emulation` are supported
22 - :ref:`Yes<ARM-System-emulator>`
26 - :ref:`Yes<AVR-System-emulator>`
38 - :ref:`Yes<QEMU-PC-System-emulator>`
54 - :ref:`Yes<MIPS-System-emulator>`
62 - :ref:`Yes<PowerPC-System-emulator>`
66 - :ref:`Yes<RISC-V-System-emulator>`
70 - :ref:`Yes<RX-System-emulator>`
74 - :ref:`Yes<s390x-System-emulator>`
90 - :ref:`Yes<Xtensa-System-emulator>`
[all …]
/qemu/include/hw/xen/interface/
A Dgrant_table.h330 grant_ref_t ref; member
412 grant_ref_t ref; member
447 grant_ref_t ref; member
573 grant_ref_t ref; member
/qemu/hw/xen/
A Dxen-operations.c54 refs[i] = to_domain ? seg->dest.foreign.ref : in libxengnttab_fallback_grant_copy()
55 seg->source.foreign.ref; in libxengnttab_fallback_grant_copy()
112 xengnttab_seg->dest.foreign.ref = seg->dest.foreign.ref; in libxengnttab_backend_grant_copy()
118 xengnttab_seg->source.foreign.ref = seg->source.foreign.ref; in libxengnttab_backend_grant_copy()
/qemu/hw/adc/
A Dnpcm7xx_adc.c56 static uint32_t npcm7xx_adc_convert(uint32_t input, uint32_t ref) in npcm7xx_adc_convert() argument
60 result = input * (NPCM7XX_ADC_MAX_RESULT + 1) / ref; in npcm7xx_adc_convert()
98 uint32_t ref = (s->con & NPCM7XX_ADC_CON_REFSEL) in npcm7xx_adc_convert_done() local
106 s->data = npcm7xx_adc_convert(s->adci[input], ref); in npcm7xx_adc_convert_done()
/qemu/tests/decode/
A Derr_field9.decode11 # Format defines 'c' and sets 'b' to an indirect ref to 'a'
13 # Pattern defines 'a' and sets 'd' to an indirect ref to 'c'
/qemu/tests/tcg/i386/
A DMakefile.target59 test-i386-fprem.ref: test-i386-fprem
63 run-test-i386-fprem: test-i386-fprem test-i386-fprem.ref
65 $(call diff-out,test-i386-fprem, test-i386-fprem.ref)
/qemu/scripts/
A Dget_maintainer.pl1447 foreach my $ref (@{$commit_author}) {
1448 print STDERR " Author: @{$ref}[1]\n";
1453 foreach my $ref (@{$commit_signer}) {
1454 print STDERR " @{$ref}[2]: @{$ref}[1]\n";
1735 foreach my $ref(@{$commit_author_hash{$authors[$i]}}) {
1736 if (@{$ref}[0] eq $commits[$i] &&
1737 @{$ref}[1] eq $subjects[$i]) {
1770 foreach my $ref(@{$commit_signer_hash{$signer}}) {
1771 if (@{$ref}[0] eq $commit &&
1772 @{$ref}[1] eq $subject &&
[all …]
/qemu/docs/
A Dmeson.build49 'qemu-ga-ref.7': (have_ga ? 'man7' : ''),
50 'qemu-qmp-ref.7': 'man7',
51 'qemu-storage-daemon-qmp-ref.7': (have_tools ? 'man7' : ''),
/qemu/hw/usb/
A Dxen-usb.c145 uint32_t ref[USBIF_MAX_SEGMENTS_PER_REQUEST]; in usbback_gnttab_map() local
176 ref[i] = usbback_req->req.seg[i].gref; in usbback_gnttab_map()
179 xen_be_map_grant_refs(xendev, ref, usbback_req->nr_buffer_segs, in usbback_gnttab_map()
210 ref[i] = usbback_req->req.seg[i + usbback_req->req.nr_buffer_segs].gref; in usbback_gnttab_map()
213 xen_be_map_grant_refs(xendev, ref, usbback_req->nr_extra_segs, in usbback_gnttab_map()
282 uint32_t ref[USBIF_MAX_SEGMENTS_PER_REQUEST]; in usbback_do_response() local
300 ref[i] = usbback_req->req.seg[i].gref; in usbback_do_response()
302 xen_be_unmap_grant_refs(xendev, usbback_req->buffer, ref, in usbback_do_response()
309 ref[i] = usbback_req->req.seg[i + usbback_req->req.nr_buffer_segs].gref; in usbback_do_response()
311 xen_be_unmap_grant_refs(xendev, usbback_req->isoc_buffer, ref, in usbback_do_response()
/qemu/hw/9pfs/
A Dxen-9p-backend.c37 int ref; member
355 xen_9pdev->rings[i].intf->ref, in xen_9pfs_disconnect()
362 xen_9pdev->rings[i].ref); in xen_9pfs_disconnect()
417 &xen_9pdev->rings[i].ref) == -1) { in xen_9pfs_connect()
432 xen_9pdev->rings[i].ref, in xen_9pfs_connect()
444 xen_9pdev->rings[i].intf->ref, in xen_9pfs_connect()
/qemu/tests/tcg/multiarch/
A Dtest-aes-main.c.inc114 static void verify(const State *ref, const State *tst, const char *which)
116 if (!memcmp(ref, tst, sizeof(State))) {
121 verify_log("ref", ref);
/qemu/hw/riscv/
A Driscv-iommu.c1130 *ref = ctx_cache; in riscv_iommu_ctx()
1149 *ref = ctx_cache; in riscv_iommu_ctx()
1154 *ref = NULL; in riscv_iommu_ctx()
1165 if (ref) { in riscv_iommu_ctx_put()
1791 void *ref; in riscv_iommu_process_dbg() local
1825 riscv_iommu_ctx_put(s, ref); in riscv_iommu_process_dbg()
2075 void *ref; in riscv_iommu_trap_write() local
2085 ctx = riscv_iommu_ctx(s, devid, 0, &ref); in riscv_iommu_trap_write()
2091 riscv_iommu_ctx_put(s, ref); in riscv_iommu_trap_write()
2286 void *ref; in riscv_iommu_memory_region_translate() local
[all …]
/qemu/docs/system/devices/
A Dvhost-user.rst45 - :ref:`vhost_user_input`
48 - :ref:`vhost_user_rng`
90 following the :ref:`vhost_user_proto`. There are a number of daemons

Completed in 68 milliseconds

12345