Home
last modified time | relevance | path

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

1234

/qemu/block/
H 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()
H 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/about/
H 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>`
42 - :ref:`Yes<QEMU-PC-System-emulator>`
58 - :ref:`Yes<MIPS-System-emulator>`
66 - :ref:`Yes<PowerPC-System-emulator>`
70 - :ref:`Yes<RISC-V-System-emulator>`
74 - :ref:`Yes<RX-System-emulator>`
78 - :ref:`Yes<s390x-System-emulator>`
94 - :ref:`Yes<Xtensa-System-emulator>`
[all …]
H 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
/qemu/docs/devel/
H 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`.
H A Dqom-api.rst7 This is the complete API documentation for :ref:`qom`.
/qemu/hw/i386/kvm/
H 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 …]
H 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/
H A Dxen-legacy-backend.h58 uint32_t ref, int prot) in xen_be_map_grant_ref() argument
60 return xen_be_map_grant_refs(xendev, &ref, 1, prot); in xen_be_map_grant_ref()
64 void *ptr, uint32_t ref) in xen_be_unmap_grant_ref() argument
66 return xen_be_unmap_grant_refs(xendev, ptr, &ref, 1); in xen_be_unmap_grant_ref()
/qemu/docs/interop/
H A Dindex.rst20 qemu-ga-ref
21 qemu-qmp-ref
22 qemu-storage-daemon-qmp-ref
/qemu/tests/qemu-iotests/
H A Dtestrunner.py217 ref = f'{test}.out.nocache'
218 if os.path.isfile(ref):
219 return ref
221 ref = f'{test}.out.{self.env.imgfmt}'
222 if os.path.isfile(ref):
223 return ref
225 ref = f'{test}.{self.env.qemu_default_machine}.out'
226 if os.path.isfile(ref):
227 return ref
/qemu/docs/system/
H 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/
H 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
70 what kind of ``sbsa-ref`` board it is running on. It is neither
/qemu/include/hw/xen/interface/
H 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/
H 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/
H 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/
H 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/
H 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/
H 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/
H 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/
H 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/
H 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/
H 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/docs/system/devices/
H 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
/qemu/tests/qtest/
H A Dnpcm7xx_adc-test.c149 static uint32_t adc_calculate_output(uint32_t input, uint32_t ref) in adc_calculate_output() argument
153 g_assert_cmpuint(input, <=, ref); in adc_calculate_output()
154 output = (input * (MAX_RESULT + 1)) / ref; in adc_calculate_output()

1234