/qemu/contrib/elf2dmp/ |
H A D | pdb.c | 27 static uint32_t pdb_get_file_size(const struct pdb_reader *r, unsigned idx) in pdb_get_file_size() 36 static pdb_seg *get_seg_by_num(struct pdb_reader *r, size_t n) in get_seg_by_num() 53 uint64_t pdb_find_public_v3_symbol(struct pdb_reader *r, const char *name) in pdb_find_public_v3_symbol() 85 uint64_t pdb_resolve(uint64_t img_base, struct pdb_reader *r, const char *name) in pdb_resolve() 96 static void pdb_reader_ds_exit(struct pdb_reader *r) in pdb_reader_ds_exit() 101 static void pdb_exit_symbols(struct pdb_reader *r) in pdb_exit_symbols() 107 static void pdb_exit_segments(struct pdb_reader *r) in pdb_exit_segments() 134 static void *pdb_ds_read_file(struct pdb_reader* r, uint32_t file_number) in pdb_ds_read_file() 162 static bool pdb_init_segments(struct pdb_reader *r) in pdb_init_segments() 179 static bool pdb_init_symbols(struct pdb_reader *r) in pdb_init_symbols() [all …]
|
/qemu/include/ui/ |
H A D | pixel_ops.h | 1 static inline unsigned int rgb_to_pixel8(unsigned int r, unsigned int g, in rgb_to_pixel8() 7 static inline unsigned int rgb_to_pixel15(unsigned int r, unsigned int g, in rgb_to_pixel15() 13 static inline unsigned int rgb_to_pixel15bgr(unsigned int r, unsigned int g, in rgb_to_pixel15bgr() 19 static inline unsigned int rgb_to_pixel16(unsigned int r, unsigned int g, in rgb_to_pixel16() 25 static inline unsigned int rgb_to_pixel16bgr(unsigned int r, unsigned int g, in rgb_to_pixel16bgr() 31 static inline unsigned int rgb_to_pixel24(unsigned int r, unsigned int g, in rgb_to_pixel24() 37 static inline unsigned int rgb_to_pixel24bgr(unsigned int r, unsigned int g, in rgb_to_pixel24bgr() 43 static inline unsigned int rgb_to_pixel32(unsigned int r, unsigned int g, in rgb_to_pixel32() 49 static inline unsigned int rgb_to_pixel32bgr(unsigned int r, unsigned int g, in rgb_to_pixel32bgr()
|
/qemu/tcg/ |
H A D | tcg-op-vec.c | 144 void vec_gen_2(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, TCGArg a) in vec_gen_2() 154 TCGArg r, TCGArg a, TCGArg b) in vec_gen_3() 165 TCGArg r, TCGArg a, TCGArg b, TCGArg c) in vec_gen_4() 176 void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, in vec_gen_6() 190 static void vec_gen_op2(TCGOpcode opc, unsigned vece, TCGv_vec r, TCGv_vec a) in vec_gen_op2() 202 TCGv_vec r, TCGv_vec a, TCGv_vec b) in vec_gen_op3() 215 void tcg_gen_mov_vec(TCGv_vec r, TCGv_vec a) in tcg_gen_mov_vec() 222 void tcg_gen_dupi_vec(unsigned vece, TCGv_vec r, uint64_t a) in tcg_gen_dupi_vec() 228 void tcg_gen_dup_i64_vec(unsigned vece, TCGv_vec r, TCGv_i64 a) in tcg_gen_dup_i64_vec() 247 void tcg_gen_dup_i32_vec(unsigned vece, TCGv_vec r, TCGv_i32 a) in tcg_gen_dup_i32_vec() [all …]
|
/qemu/include/tcg/ |
H A D | tcg-op-common.h | 486 static inline void tcg_gen_ld_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o) in tcg_gen_ld_ptr() 491 static inline void tcg_gen_st_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o) in tcg_gen_st_ptr() 501 static inline void tcg_gen_add_ptr(TCGv_ptr r, TCGv_ptr a, TCGv_ptr b) in tcg_gen_add_ptr() 506 static inline void tcg_gen_addi_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t b) in tcg_gen_addi_ptr() 527 static inline void tcg_gen_ext_i32_ptr(TCGv_ptr r, TCGv_i32 a) in tcg_gen_ext_i32_ptr() 536 static inline void tcg_gen_trunc_i64_ptr(TCGv_ptr r, TCGv_i64 a) in tcg_gen_trunc_i64_ptr() 545 static inline void tcg_gen_extu_ptr_i64(TCGv_i64 r, TCGv_ptr a) in tcg_gen_extu_ptr_i64() 554 static inline void tcg_gen_trunc_ptr_i32(TCGv_i32 r, TCGv_ptr a) in tcg_gen_trunc_ptr_i32()
|
/qemu/hw/net/rocker/ |
H A D | rocker.c | 81 Rocker *r; in rocker_find() local 91 World *rocker_get_world(Rocker *r, enum rocker_world_type type) in rocker_get_world() 102 Rocker *r; in qmp_query_rocker() local 121 Rocker *r; in qmp_query_rocker_ports() local 137 static uint32_t rocker_get_pport_by_tx_ring(Rocker *r, in rocker_get_pport_by_tx_ring() 143 static int tx_consume(Rocker *r, DescInfo *info) in tx_consume() 257 static int cmd_get_port_settings(Rocker *r, in cmd_get_port_settings() 332 static int cmd_set_port_settings(Rocker *r, in cmd_set_port_settings() 405 static int cmd_consume(Rocker *r, DescInfo *info) in cmd_consume() 461 static void rocker_msix_irq(Rocker *r, unsigned vector) in rocker_msix_irq() [all …]
|
/qemu/include/crypto/ |
H A D | aes-round.h | 30 static inline void aesenc_MC(AESState *r, const AESState *st, bool be) in aesenc_MC() 50 static inline void aesenc_SB_SR_AK(AESState *r, const AESState *st, in aesenc_SB_SR_AK() 71 static inline void aesenc_SB_SR_MC_AK(AESState *r, const AESState *st, in aesenc_SB_SR_MC_AK() 90 static inline void aesdec_IMC(AESState *r, const AESState *st, bool be) in aesdec_IMC() 110 static inline void aesdec_ISB_ISR_AK(AESState *r, const AESState *st, in aesdec_ISB_ISR_AK() 131 static inline void aesdec_ISB_ISR_AK_IMC(AESState *r, const AESState *st, in aesdec_ISB_ISR_AK_IMC() 152 static inline void aesdec_ISB_ISR_IMC_AK(AESState *r, const AESState *st, in aesdec_ISB_ISR_IMC_AK()
|
/qemu/crypto/ |
H A D | aes.c | 956 aesenc_MC_swap(AESState *r, const AESState *st, bool swap) in aesenc_MC_swap() 1001 void aesenc_MC_gen(AESState *r, const AESState *st) in aesenc_MC_gen() 1006 void aesenc_MC_genrev(AESState *r, const AESState *st) in aesenc_MC_genrev() 1046 void aesenc_SB_SR_AK_gen(AESState *r, const AESState *s, const AESState *k) in aesenc_SB_SR_AK_gen() 1051 void aesenc_SB_SR_AK_genrev(AESState *r, const AESState *s, const AESState *k) in aesenc_SB_SR_AK_genrev() 1060 aesenc_SB_SR_MC_AK_swap(AESState *r, const AESState *st, in aesenc_SB_SR_MC_AK_swap() 1102 void aesenc_SB_SR_MC_AK_gen(AESState *r, const AESState *st, in aesenc_SB_SR_MC_AK_gen() 1108 void aesenc_SB_SR_MC_AK_genrev(AESState *r, const AESState *st, in aesenc_SB_SR_MC_AK_genrev() 1118 aesdec_IMC_swap(AESState *r, const AESState *st, bool swap) in aesdec_IMC_swap() 1163 void aesdec_IMC_gen(AESState *r, const AESState *st) in aesdec_IMC_gen() [all …]
|
H A D | clmul.c | 13 uint64_t r = 0; in clmul_8x8_low() local 26 uint64_t r = 0; in clmul_8x4_even_int() local 64 uint64_t r = 0; in clmul_16x2_even() local 85 uint64_t r = 0; in clmul_32() local
|
/qemu/hw/misc/ |
H A D | sifive_e_aon.c | 48 static void sifive_e_aon_wdt_update_wdogcount(SiFiveEAONState *r) in sifive_e_aon_wdt_update_wdogcount() 65 static void sifive_e_aon_wdt_update_state(SiFiveEAONState *r) in sifive_e_aon_wdt_update_state() 108 SiFiveEAONState *r = SIFIVE_E_AON(opaque); in sifive_e_aon_wdt_expired_cb() local 115 SiFiveEAONState *r = SIFIVE_E_AON(opaque); in sifive_e_aon_wdt_read() local 147 SiFiveEAONState *r = SIFIVE_E_AON(opaque); in sifive_e_aon_wdt_write() local 266 SiFiveEAONState *r = SIFIVE_E_AON(dev); in sifive_e_aon_reset() local 279 SiFiveEAONState *r = SIFIVE_E_AON(obj); in sifive_e_aon_init() local
|
/qemu/block/ |
H A D | block-ram-registrar.c | 15 BlockRAMRegistrar *r = container_of(n, BlockRAMRegistrar, notifier); in ram_block_added() local 32 BlockRAMRegistrar *r = container_of(n, BlockRAMRegistrar, notifier); in ram_block_removed() local 36 void blk_ram_registrar_init(BlockRAMRegistrar *r, BlockBackend *blk) in blk_ram_registrar_init() 53 void blk_ram_registrar_destroy(BlockRAMRegistrar *r) in blk_ram_registrar_destroy()
|
/qemu/tests/tcg/s390x/ |
H A D | div.c | 8 int32_t b = 101, q, r; in test_dr() local 24 uint32_t b = 101, q, r; in test_dlr() local 40 int64_t b = 101, q, r; in test_dsgr() local 56 uint64_t b = 101, q, r; in test_dlgr() local
|
/qemu/hw/scsi/ |
H A D | scsi-generic.c | 46 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_generic_save_request() local 57 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_generic_load_request() local 68 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_free_request() local 74 static void scsi_command_complete_noio(SCSIGenericReq *r, int ret) in scsi_command_complete_noio() 111 SCSIGenericReq *r = (SCSIGenericReq *)opaque; in scsi_command_complete() local 120 SCSIGenericReq *r, int direction, in execute_command() 159 static int scsi_handle_inquiry_reply(SCSIGenericReq *r, SCSIDevice *s, int len) in scsi_handle_inquiry_reply() 235 static int scsi_generic_emulate_block_limits(SCSIGenericReq *r, SCSIDevice *s) in scsi_generic_emulate_block_limits() 269 SCSIGenericReq *r = (SCSIGenericReq *)opaque; in scsi_read_complete() local 358 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_read_data() local [all …]
|
H A D | scsi-disk.c | 129 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_free_request() local 135 static void scsi_check_condition(SCSIDiskReq *r, SCSISense sense) in scsi_check_condition() 143 static void scsi_init_iovec(SCSIDiskReq *r, size_t size) in scsi_init_iovec() 157 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_save_request() local 184 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_load_request() local 221 static bool scsi_handle_rw_error(SCSIDiskReq *r, int ret, bool acct_failed) in scsi_handle_rw_error() 330 static bool scsi_disk_req_check_error(SCSIDiskReq *r, int ret, bool acct_failed) in scsi_disk_req_check_error() 346 SCSIDiskReq *r = (SCSIDiskReq *)opaque; in scsi_aio_complete() local 392 static void scsi_dma_complete_noio(SCSIDiskReq *r, int ret) in scsi_dma_complete_noio() 409 SCSIDiskReq *r = (SCSIDiskReq *)opaque; in scsi_dma_complete() local [all …]
|
/qemu/tests/tcg/i386/ |
H A D | test-avx.c | 15 uint64_t r[16]; member 35 static void dump_ymm(const char *name, int n, const v4di *r, int ff) in dump_ymm() 92 #define LOADMM(r, o) "movq " #r ", " #o "[%0]\n\t" argument 93 #define LOADYMM(r, o) "vmovdqa " #r ", " #o "[%0]\n\t" argument 94 #define STOREMM(r, o) "movq " #o "[%1], " #r "\n\t" argument 95 #define STOREYMM(r, o) "vmovdqa " #o "[%1], " #r "\n\t" argument 122 #define LOADREG(r, o) "mov " #r ", " #o "[rax]\n\t" argument 123 #define STOREREG(r, o) "mov " #o "[rax], " #r "\n\t" argument 249 void init_f16reg(v4di *r) in init_f16reg() 255 void init_f32reg(v4di *r) in init_f32reg() [all …]
|
H A D | test-mmx.c | 22 uint64_t r[16]; member 41 static void dump_mmx(int n, const uint64_t *r, int ff) in dump_mmx() 52 static void dump_xmm(const char *name, int n, const v2di *r, int ff) in dump_xmm() 104 #define LOADMM(r, o) "movq " #r ", " #o "[%0]\n\t" argument 105 #define LOADXMM(r, o) "movdqa " #r ", " #o "[%0]\n\t" argument 106 #define STOREMM(r, o) "movq " #o "[%1], " #r "\n\t" argument 107 #define STOREXMM(r, o) "movdqa " #o "[%1], " #r "\n\t" argument 126 #define LOADREG(r, o) "mov " #r ", " #o "[rax]\n\t" argument 127 #define STOREREG(r, o) "mov " #o "[rax], " #r "\n\t" argument 239 void init_f32reg(uint64_t *r) in init_f32reg() [all …]
|
/qemu/tests/unit/ |
H A D | test-bitops.c | 43 int32_t r = sextract32(test->value, test->start, test->length); in test_sextract32() local 55 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64() local 62 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64() local 94 uint32_t r = half_shuffle32(test->unshuffled); in test_half_shuffle32() local 106 uint64_t r = half_shuffle64(test->unshuffled); in test_half_shuffle64() local 118 uint32_t r = half_unshuffle32(test->shuffled); in test_half_unshuffle32() local 130 uint64_t r = half_unshuffle64(test->shuffled); in test_half_unshuffle64() local
|
H A D | test-resv-mem.c | 29 Range *r = (Range *)l->data; in print_ranges() local 53 Range *r = (Range *)l->data; in compare_ranges() local 187 ReservedRegion *r; in alloc_resv_mem() local 204 ReservedRegion *r = (ReservedRegion *)l->data; in print_resv_region_list() local 222 ReservedRegion *r[10]; in check_resv_region_list_insert() local
|
/qemu/target/i386/tcg/ |
H A D | seg_helper.h | 42 #define cpu_lduw_kernel_ra(e, p, r) \ argument 44 #define cpu_ldl_kernel_ra(e, p, r) \ argument 46 #define cpu_ldq_kernel_ra(e, p, r) \ argument 49 #define cpu_stw_kernel_ra(e, p, v, r) \ argument 51 #define cpu_stl_kernel_ra(e, p, v, r) \ argument 53 #define cpu_stq_kernel_ra(e, p, v, r) \ argument
|
/qemu/audio/ |
H A D | mixeng.h | 30 struct mixeng_volume { int mute; mixeng_real r; mixeng_real l; }; member 31 struct st_sample { mixeng_real l; mixeng_real r; }; member 33 struct mixeng_volume { int mute; int64_t r; int64_t l; }; member 34 struct st_sample { int64_t l; int64_t r; }; member
|
/qemu/tests/tcg/riscv64/ |
H A D | test-div.c | 5 long x, y, q, r; member 17 unsigned long x, y, q, r; member 34 long q, r; in main() local 46 unsigned long q, r; in main() local
|
/qemu/ui/ |
H A D | vnc-enc-zywrle.h | 215 #define ZYWRLE_LOAD_PIXEL15(src, r, g, b) \ argument 223 #define ZYWRLE_SAVE_PIXEL15(dst, r, g, b) \ argument 234 #define ZYWRLE_LOAD_PIXEL16(src, r, g, b) \ argument 242 #define ZYWRLE_SAVE_PIXEL16(dst, r, g,b) \ argument 253 #define ZYWRLE_LOAD_PIXEL32(src, r, g, b) \ argument 259 #define ZYWRLE_SAVE_PIXEL32(dst, r, g, b) \ argument 339 int r, s; in filter_wavelet_square() local 415 int r, s; in filter_wavelet_square() local 472 #define ZYWRLE_LOAD_COEFF(src, r, g, b) \ argument 479 #define ZYWRLE_SAVE_COEFF(dst, r, g, b) \ argument [all …]
|
/qemu/target/ppc/ |
H A D | int_helper.c | 497 void helper_VPRTYBQ(ppc_avr_t *r, ppc_avr_t *b, uint32_t v) in helper_VPRTYBQ() 709 void helper_vcmpbfp(CPUPPCState *env, ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b) in helper_vcmpbfp() 714 void helper_vcmpbfp_dot(CPUPPCState *env, ppc_avr_t *r, ppc_avr_t *a, in helper_vcmpbfp_dot() 880 target_ulong helper_vclzlsbb(ppc_avr_t *r) in helper_vclzlsbb() 893 target_ulong helper_vctzlsbb(ppc_avr_t *r) in helper_vctzlsbb() 906 void helper_VMHADDSHS(CPUPPCState *env, ppc_avr_t *r, ppc_avr_t *a, in helper_VMHADDSHS() 924 void helper_VMHRADDSHS(CPUPPCState *env, ppc_avr_t *r, ppc_avr_t *a, in helper_VMHRADDSHS() 941 void helper_VMLADDUHM(ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b, ppc_avr_t *c, in helper_VMLADDUHM() 989 void helper_VMSUMSHM(ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b, ppc_avr_t *c) in helper_VMSUMSHM() 1003 void helper_VMSUMSHS(CPUPPCState *env, ppc_avr_t *r, ppc_avr_t *a, in helper_VMSUMSHS() [all …]
|
/qemu/util/ |
H A D | int128.c | 126 Int128 q, r; in int128_rems() local 151 Int128Alias r, a, b; in int128_divu() local 161 Int128Alias r, a, b; in int128_remu() local 171 Int128Alias r, a, b; in int128_divs() local 181 Int128Alias r, a, b; in int128_rems() local
|
/qemu/net/ |
H A D | vhost-vdpa.c | 318 int data_queue_pairs, cvq, r; in vhost_vdpa_net_log_global_enable() local 443 int r = ioctl(device_fd, VHOST_VDPA_GET_VRING_GROUP, &state); in vhost_vdpa_get_vring_group() local 462 int r; in vhost_vdpa_set_address_space_id() local 485 int r; in vhost_vdpa_cvq_unmap_buf() local 507 int r; in vhost_vdpa_cvq_map_buf() local 541 int r; in vhost_vdpa_net_cvq_start() local 625 int r; in vhost_vdpa_net_cvq_add() local 700 ssize_t r; in vhost_vdpa_net_load_cmd() local 760 ssize_t r = vhost_vdpa_net_load_cmd(s, out_cursor, in_cursor, in vhost_vdpa_net_load_mac() local 810 ssize_t r = vhost_vdpa_net_load_cmd(s, out_cursor, in_cursor, in vhost_vdpa_net_load_mac() local [all …]
|
/qemu/tests/tcg/aarch64/ |
H A D | test-2248.c | 9 long r; in test() local 25 long r = test(0, 1, 2); in main() local
|