Home
last modified time | relevance | path

Searched refs:pv (Results 1 – 25 of 37) sorted by relevance

12

/qemu/accel/tcg/
H A Dldst_atomicity.c.inc104 * @pv: host address
106 * Atomically load 2 aligned bytes from @pv.
108 static inline uint16_t load_atomic2(void *pv)
110 uint16_t *p = __builtin_assume_aligned(pv, 2);
116 * @pv: host address
118 * Atomically load 4 aligned bytes from @pv.
120 static inline uint32_t load_atomic4(void *pv)
122 uint32_t *p = __builtin_assume_aligned(pv, 4);
128 * @pv: host address
130 * Atomically load 8 aligned bytes from @pv.
[all …]
/qemu/include/migration/
H A Dqemu-file-types.h55 static inline void qemu_put_be64s(QEMUFile *f, const uint64_t *pv) in qemu_put_be64s() argument
57 qemu_put_be64(f, *pv); in qemu_put_be64s()
60 static inline void qemu_put_be32s(QEMUFile *f, const uint32_t *pv) in qemu_put_be32s() argument
62 qemu_put_be32(f, *pv); in qemu_put_be32s()
65 static inline void qemu_put_be16s(QEMUFile *f, const uint16_t *pv) in qemu_put_be16s() argument
67 qemu_put_be16(f, *pv); in qemu_put_be16s()
70 static inline void qemu_put_8s(QEMUFile *f, const uint8_t *pv) in qemu_put_8s() argument
72 qemu_put_byte(f, *pv); in qemu_put_8s()
75 static inline void qemu_get_be64s(QEMUFile *f, uint64_t *pv) in qemu_get_be64s() argument
77 *pv = qemu_get_be64(f); in qemu_get_be64s()
[all …]
/qemu/migration/
H A Dvmstate-types.c25 static int get_bool(QEMUFile *f, void *pv, size_t size, in get_bool() argument
28 bool *v = pv; in get_bool()
33 static int put_bool(QEMUFile *f, void *pv, size_t size, in put_bool() argument
36 bool *v = pv; in put_bool()
49 static int get_int8(QEMUFile *f, void *pv, size_t size, in get_int8() argument
52 int8_t *v = pv; in get_int8()
57 static int put_int8(QEMUFile *f, void *pv, size_t size, in put_int8() argument
60 int8_t *v = pv; in put_int8()
73 static int get_int16(QEMUFile *f, void *pv, size_t size, in get_int16() argument
76 int16_t *v = pv; in get_int16()
[all …]
/qemu/host/include/generic/host/
H A Dload-extract-al16-al8.h.inc13 * @pv: host address
16 * Load @s bytes from @pv, when pv % s != 0. If [p, p+s-1] does not
21 load_atom_extract_al16_or_al8(void *pv, int s)
23 uintptr_t pi = (uintptr_t)pv;
28 pv = (void *)(pi & ~7);
30 uint64_t *p8 = __builtin_assume_aligned(pv, 16, 8);
40 r = atomic16_read_ro(pv);
/qemu/host/include/x86_64/host/
H A Dload-extract-al16-al8.h.inc16 * @pv: host address
19 * Load @s bytes from @pv, when pv % s != 0. If [p, p+s-1] does not
24 load_atom_extract_al16_or_al8(void *pv, int s)
26 uintptr_t pi = (uintptr_t)pv;
47 load_atom_extract_al16_or_al8(void *pv, int s);
/qemu/target/i386/kvm/
H A Dkvm-cpu.c185 PropValue *pv; in x86_cpu_change_kvm_default() local
186 for (pv = kvm_default_props; pv->prop; pv++) { in x86_cpu_change_kvm_default()
187 if (!strcmp(pv->prop, prop)) { in x86_cpu_change_kvm_default()
188 pv->value = value; in x86_cpu_change_kvm_default()
197 assert(pv->prop); in x86_cpu_change_kvm_default()
/qemu/host/include/loongarch64/host/
H A Dload-extract-al16-al8.h.inc16 * @pv: host address
19 * Load @s bytes from @pv, when pv % s != 0. If [p, p+s-1] does not
23 static inline uint64_t load_atom_extract_al16_or_al8(void *pv, int s)
25 uintptr_t pi = (uintptr_t)pv;
/qemu/host/include/aarch64/host/
H A Dload-extract-al16-al8.h.inc16 * @pv: host address
19 * Load @s bytes from @pv, when pv % s != 0. If [p, p+s-1] does not
23 static inline uint64_t load_atom_extract_al16_or_al8(void *pv, int s)
25 uintptr_t pi = (uintptr_t)pv;
/qemu/target/ppc/
H A Dmachine.c25 static int get_avr(QEMUFile *f, void *pv, size_t size, in get_avr() argument
28 ppc_avr_t *v = pv; in get_avr()
36 static int put_avr(QEMUFile *f, void *pv, size_t size, in put_avr() argument
39 ppc_avr_t *v = pv; in put_avr()
58 static int get_fpr(QEMUFile *f, void *pv, size_t size, in get_fpr() argument
61 ppc_vsr_t *v = pv; in get_fpr()
68 static int put_fpr(QEMUFile *f, void *pv, size_t size, in put_fpr() argument
71 ppc_vsr_t *v = pv; in put_fpr()
89 static int get_vsr(QEMUFile *f, void *pv, size_t size, in get_vsr() argument
92 ppc_vsr_t *v = pv; in get_vsr()
[all …]
/qemu/docs/system/i386/
H A Dkvm-pv.rst21 - ``kvm-pv-eoi``
53 ``kvm-pv-eoi``
57 ``kvm-pv-unhalt``
60 ``kvm-pv-tlb-flush``
63 ``kvm-pv-ipi``
70 ``kvm-pv-sched-yield``
90 ``kvm-pv-enforce-cpuid``
H A Dxen.rst124 -append "pv-shim console=xen,pv -- console=hvc0 root=/dev/xvda1" \\
/qemu/target/mips/system/
H A Dmachine.c22 static int get_fpr(QEMUFile *f, void *pv, size_t size, in get_fpr() argument
26 fpr_t *v = pv; in get_fpr()
34 static int put_fpr(QEMUFile *f, void *pv, size_t size, in put_fpr() argument
38 fpr_t *v = pv; in put_fpr()
136 static int get_tlb(QEMUFile *f, void *pv, size_t size, in get_tlb() argument
139 r4k_tlb_t *v = pv; in get_tlb()
165 static int put_tlb(QEMUFile *f, void *pv, size_t size, in put_tlb() argument
168 r4k_tlb_t *v = pv; in put_tlb()
/qemu/target/s390x/kvm/
H A Dpv.h34 return ccw->pv; in s390_is_pv()
44 return ccw->pv; in s390_is_pv()
H A Dmeson.build3 'pv.c',
H A Dpv.c274 struct kvm_pv_cmd pv = { in kvm_s390_dump_cpu() local
279 return kvm_vcpu_ioctl(CPU(cpu), KVM_S390_PV_CPU_COMMAND, &pv); in kvm_s390_dump_cpu()
/qemu/hw/nvram/
H A Deeprom93xx.c98 static int get_uint16_from_uint8(QEMUFile *f, void *pv, size_t size, in get_uint16_from_uint8() argument
101 uint16_t *v = pv; in get_uint16_from_uint8()
106 static int put_unused(QEMUFile *f, void *pv, size_t size, in put_unused() argument
/qemu/hw/s390x/
H A Dipl.h124 IPLBlockPV *ipib_pv = &iplb->pv; in ipl_valid_pv_components()
149 IPLBlockPV *ipib_pv = &iplb->pv; in ipl_valid_pv_header()
/qemu/hw/virtio/
H A Dvhost-user-fs.c309 static int vuf_save_state(QEMUFile *f, void *pv, size_t size, in vuf_save_state() argument
312 VirtIODevice *vdev = pv; in vuf_save_state()
333 static int vuf_load_state(QEMUFile *f, void *pv, size_t size, in vuf_load_state() argument
336 VirtIODevice *vdev = pv; in vuf_load_state()
/qemu/include/hw/s390x/
H A Ds390-virtio-ccw.h30 bool pv; member
/qemu/hw/pci/
H A Dmsix.c682 static int put_msix_state(QEMUFile *f, void *pv, size_t size, in put_msix_state() argument
685 msix_save(pv, f); in put_msix_state()
690 static int get_msix_state(QEMUFile *f, void *pv, size_t size, in get_msix_state() argument
693 msix_load(pv, f); in get_msix_state()
H A Dshpc.c762 static int shpc_save(QEMUFile *f, void *pv, size_t size, in shpc_save() argument
765 PCIDevice *d = container_of(pv, PCIDevice, shpc); in shpc_save()
771 static int shpc_load(QEMUFile *f, void *pv, size_t size, in shpc_load() argument
774 PCIDevice *d = container_of(pv, PCIDevice, shpc); in shpc_load()
H A Dpci.c784 static int get_pci_config_device(QEMUFile *f, void *pv, size_t size, in get_pci_config_device() argument
787 PCIDevice *s = container_of(pv, PCIDevice, config); in get_pci_config_device()
821 static int put_pci_config_device(QEMUFile *f, void *pv, size_t size, in put_pci_config_device() argument
824 const uint8_t **v = pv; in put_pci_config_device()
825 assert(size == pci_config_size(container_of(pv, PCIDevice, config))); in put_pci_config_device()
837 static int get_pci_irq_state(QEMUFile *f, void *pv, size_t size, in get_pci_irq_state() argument
840 PCIDevice *s = container_of(pv, PCIDevice, irq_state); in get_pci_irq_state()
859 static int put_pci_irq_state(QEMUFile *f, void *pv, size_t size, in put_pci_irq_state() argument
863 PCIDevice *s = container_of(pv, PCIDevice, irq_state); in put_pci_irq_state()
/qemu/docs/system/
H A Dtarget-i386.rst31 i386/kvm-pv
/qemu/include/hw/s390x/ipl/
H A Dqipl.h114 IPLBlockPV pv; member
/qemu/ui/
H A Dvdagent.c978 static int put_cbinfo(QEMUFile *f, void *pv, size_t size, in put_cbinfo() argument
981 VDAgentChardev *vd = QEMU_VDAGENT_CHARDEV(pv); in put_cbinfo()
998 static int get_cbinfo(QEMUFile *f, void *pv, size_t size, in get_cbinfo() argument
1001 VDAgentChardev *vd = QEMU_VDAGENT_CHARDEV(pv); in get_cbinfo()

12