/qemu/include/qemu/ |
H A D | bitops.h | 21 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) argument 22 #define BITS_TO_U32S(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(uint32_t)) argument 24 #define BIT(nr) (1UL << (nr)) argument 25 #define BIT_ULL(nr) (1ULL << (nr)) argument 59 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument 60 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) argument 67 static inline void set_bit(long nr, unsigned long *addr) in set_bit() 80 static inline void set_bit_atomic(long nr, unsigned long *addr) in set_bit_atomic() 93 static inline void clear_bit(long nr, unsigned long *addr) in clear_bit() 106 static inline void clear_bit_atomic(long nr, unsigned long *addr) in clear_bit_atomic() [all …]
|
/qemu/linux-user/i386/ |
H A D | vdso.S | 18 .macro vdso_syscall1 name, nr 32 .macro vdso_syscall2 name, nr 47 .macro vdso_syscall3 name, nr
|
/qemu/util/ |
H A D | bitmap.c | 116 long nr = BITS_TO_LONGS(bits); in slow_bitmap_and() local 129 long nr = BITS_TO_LONGS(bits); in slow_bitmap_or() local 140 long nr = BITS_TO_LONGS(bits); in slow_bitmap_xor() local 151 long nr = BITS_TO_LONGS(bits); in slow_bitmap_andnot() local 160 void bitmap_set(unsigned long *map, long start, long nr) in bitmap_set() 182 void bitmap_set_atomic(unsigned long *map, long start, long nr) in bitmap_set_atomic() 221 void bitmap_clear(unsigned long *map, long start, long nr) in bitmap_clear() 243 bool bitmap_test_and_clear(unsigned long *map, long start, long nr) in bitmap_test_and_clear() 288 bool bitmap_test_and_clear_atomic(unsigned long *map, long start, long nr) in bitmap_test_and_clear_atomic() 336 long nr) in bitmap_copy_and_clear_atomic() [all …]
|
/qemu/linux-user/riscv/ |
H A D | vdso.S | 25 .macro raw_syscall nr argument 30 .macro vdso_syscall name, nr
|
/qemu/linux-user/ppc/ |
H A D | vdso.S | 29 .macro raw_syscall nr argument 34 .macro vdso_syscall name, nr
|
/qemu/target/m68k/ |
H A D | semihosting-stub.c | 15 void do_m68k_semihosting(CPUM68KState *env, int nr) in do_m68k_semihosting()
|
/qemu/linux-user/loongarch64/ |
H A D | vdso.S | 22 .macro vdso_syscall name, nr
|
/qemu/linux-user/x86_64/ |
H A D | vdso.S | 22 .macro vdso_syscall name, nr
|
/qemu/linux-user/s390x/ |
H A D | vdso.S | 27 .macro vdso_syscall name, nr
|
/qemu/target/ppc/ |
H A D | mmu_helper.c | 50 int nr, max = 2 * env->nb_tlb; in ppc6xx_tlb_invalidate_all() local 66 int way, nr; in ppc6xx_tlb_invalidate_virt2() local 95 int nr; in ppc6xx_tlb_store() local 174 static inline void dump_store_bat(CPUPPCState *env, char ID, int ul, int nr, in dump_store_bat() 182 void helper_store_ibatu(CPUPPCState *env, uint32_t nr, target_ulong value) in helper_store_ibatu() 209 void helper_store_ibatl(CPUPPCState *env, uint32_t nr, target_ulong value) in helper_store_ibatl() 215 void helper_store_dbatu(CPUPPCState *env, uint32_t nr, target_ulong value) in helper_store_dbatu() 242 void helper_store_dbatl(CPUPPCState *env, uint32_t nr, target_ulong value) in helper_store_dbatl()
|
/qemu/scripts/kvm/ |
H A D | vmxcap | 49 def read2(self, nr): argument 78 def read2(self, nr): argument
|
/qemu/linux-user/aarch64/ |
H A D | vdso.S | 41 .macro vdso_syscall name, nr
|
/qemu/hw/cxl/ |
H A D | cxl-events.c | 161 uint16_t nr; in cxl_event_get_records() local 202 int nr; in cxl_event_clear_records() local
|
/qemu/ui/ |
H A D | input-keymap.c | 46 int qemu_input_key_number_to_qcode(unsigned int nr) in qemu_input_key_number_to_qcode()
|
/qemu/linux-user/arm/ |
H A D | vdso.S | 56 .macro SYSCALL name, nr
|
/qemu/hw/intc/ |
H A D | xics_spapr.c | 157 uint32_t nr, srcno, server, priority; in rtas_set_xive() local 192 uint32_t nr, srcno; in rtas_get_xive() local 224 uint32_t nr, srcno; in rtas_int_off() local 257 uint32_t nr, srcno; in rtas_int_on() local
|
/qemu/block/ |
H A D | linux-aio.c | 121 unsigned nr; /* number of io_events */ member 148 unsigned int nr; in io_getevents_peek() local 166 static inline void io_getevents_commit(io_context_t ctx, unsigned int nr) in io_getevents_commit() 186 unsigned int nr) in io_getevents_advance_and_peek()
|
/qemu/hw/vfio/ |
H A D | pci.c | 61 const char *name, int nr, Error **errp) in vfio_notifier_init() 72 const char *name, int nr) in vfio_notifier_cleanup() 369 int nr = vector - vdev->msi_vectors; in vfio_msi_interrupt() local 494 static void vfio_connect_kvm_msi_virq(VFIOMSIVector *vector, int nr) in vfio_connect_kvm_msi_virq() 522 int nr) in vfio_remove_kvm_msi_virq() 539 unsigned int nr) in set_irq_signalling() 557 void vfio_pci_vector_init(VFIOPCIDevice *vdev, int nr) in vfio_pci_vector_init() 575 static int vfio_msix_vector_do_use(PCIDevice *pdev, unsigned int nr, in vfio_msix_vector_do_use() 657 unsigned int nr, MSIMessage msg) in vfio_msix_vector_use() 662 static void vfio_msix_vector_release(PCIDevice *pdev, unsigned int nr) in vfio_msix_vector_release() [all …]
|
H A D | pci-quirks.c | 399 static void vfio_probe_ati_bar4_quirk(VFIOPCIDevice *vdev, int nr) in vfio_probe_ati_bar4_quirk() 445 static void vfio_probe_ati_bar2_quirk(VFIOPCIDevice *vdev, int nr) in vfio_probe_ati_bar2_quirk() 735 static void vfio_probe_nvidia_bar5_quirk(VFIOPCIDevice *vdev, int nr) in vfio_probe_nvidia_bar5_quirk() 895 static void vfio_probe_nvidia_bar0_quirk(VFIOPCIDevice *vdev, int nr) in vfio_probe_nvidia_bar0_quirk() 1087 static void vfio_probe_rtl8168_bar2_quirk(VFIOPCIDevice *vdev, int nr) in vfio_probe_rtl8168_bar2_quirk() 1169 void vfio_bar_quirk_setup(VFIOPCIDevice *vdev, int nr) in vfio_bar_quirk_setup() 1181 void vfio_bar_quirk_exit(VFIOPCIDevice *vdev, int nr) in vfio_bar_quirk_exit() 1198 void vfio_bar_quirk_finalize(VFIOPCIDevice *vdev, int nr) in vfio_bar_quirk_finalize()
|
/qemu/include/hw/xen/ |
H A D | xen_native.h | 230 uint32_t nr, unsigned long *dirty_bitmap) in xendevicemodel_track_dirty_vram() 238 uint32_t nr) in xendevicemodel_modified_memory() 245 uint64_t first_pfn, uint32_t nr) in xendevicemodel_set_mem_type() 255 uint64_t first_pfn, uint32_t nr) in xen_set_mem_type() 282 uint32_t nr, unsigned long *bitmap) in xen_track_dirty_vram() 289 uint32_t nr) in xen_modified_memory()
|
/qemu/tests/tcg/ppc64/ |
H A D | mffsce.c | 9 #define PPC_BIT_NR(nr) (63 - (nr)) argument
|
/qemu/target/riscv/ |
H A D | common-semi-target.h | 28 static inline bool common_semi_sys_exit_extended(CPUState *cs, int nr) in common_semi_sys_exit_extended()
|
/qemu/target/arm/ |
H A D | common-semi-target.h | 37 static inline bool common_semi_sys_exit_extended(CPUState *cs, int nr) in common_semi_sys_exit_extended()
|
/qemu/hw/nvram/ |
H A D | xlnx-efuse.c | 58 int nr = efuse_bytes(s); in efuse_bdrv_read() local 180 int nr; in xlnx_efuse_tbits_check() local
|
/qemu/include/hw/vfio/ |
H A D | vfio-region.h | 31 uint8_t nr; /* cache the region number for debug */ member
|