Home
last modified time | relevance | path

Searched full:return (Results 1 – 25 of 4098) sorted by relevance

12345678910>>...164

/qemu/target/i386/tcg/
H A Dcc_helper.c48 return (src1 & ~CC_C) | (dst * CC_C); in compute_all_adcx()
54 return (src1 & ~CC_O) | (src2 * CC_O); in compute_all_adox()
60 return (src1 & ~(CC_C | CC_O)) | (dst * CC_C) | (src2 * CC_O); in compute_all_adcox()
67 return ~src1 & CC_Z; in helper_cc_compute_nz()
72 return dst & mask; in helper_cc_compute_nz()
81 return 0; in helper_cc_compute_all()
84 return src1; in helper_cc_compute_all()
86 return dst ? 0 : CC_Z; in helper_cc_compute_all()
89 return compute_all_mulb(dst, src1); in helper_cc_compute_all()
91 return compute_all_mulw(dst, src1); in helper_cc_compute_all()
[all …]
/qemu/nbd/
H A Dcommon.c26 /* Discard length bytes from channel. Return -errno on failure and 0 on
49 return ret; in nbd_drop()
57 return "export name"; in nbd_opt_lookup()
59 return "abort"; in nbd_opt_lookup()
61 return "list"; in nbd_opt_lookup()
63 return "starttls"; in nbd_opt_lookup()
65 return "info"; in nbd_opt_lookup()
67 return "go"; in nbd_opt_lookup()
69 return "structured reply"; in nbd_opt_lookup()
71 return "list meta context"; in nbd_opt_lookup()
[all …]
/qemu/tests/qemu-iotests/tests/
H A Dimage-fleecing.out13 {"return": {}}
14 {"return": {}}
18 {"return": {}}
19 {"return": {}}
34 {"return": ""}
36 {"return": ""}
38 {"return": ""}
40 {"return": ""}
54 {"return": {}}
55 {"return": {}}
[all …]
/qemu/target/arm/
H A Dcpu-features.h39 * _any_ in their name, and always return the logical OR of the _aa64_
48 return FIELD_EX32(id->id_isar0, ID_ISAR0, DIVIDE) != 0; in isar_feature_aa32_thumb_div()
53 return FIELD_EX32(id->id_isar0, ID_ISAR0, DIVIDE) > 1; in isar_feature_aa32_arm_div()
59 return FIELD_EX32(id->id_isar0, ID_ISAR0, CMPBRANCH) >= 3; in isar_feature_aa32_lob()
64 return FIELD_EX32(id->id_isar1, ID_ISAR1, JAZELLE) != 0; in isar_feature_aa32_jazelle()
69 return FIELD_EX32(id->id_isar5, ID_ISAR5, AES) != 0; in isar_feature_aa32_aes()
74 return FIELD_EX32(id->id_isar5, ID_ISAR5, AES) > 1; in isar_feature_aa32_pmull()
79 return FIELD_EX32(id->id_isar5, ID_ISAR5, SHA1) != 0; in isar_feature_aa32_sha1()
84 return FIELD_EX32(id->id_isar5, ID_ISAR5, SHA2) != 0; in isar_feature_aa32_sha2()
89 return FIELD_EX32(id->id_isar5, ID_ISAR5, CRC32) != 0; in isar_feature_aa32_crc32()
[all …]
/qemu/include/qemu/
H A Dint128.h9 * or return values of this type, force use of the Int128 struct.
17 return a; in int128_make64()
22 return a; in int128_makes64()
27 return (__uint128_t)hi << 64 | lo; in int128_make128()
34 return r; in int128_get64()
39 return a; in int128_getlo()
44 return a >> 64; in int128_gethi()
49 return 0; in int128_zero()
54 return 1; in int128_one()
59 return (Int128)1 << 64; in int128_2_64()
[all …]
/qemu/target/s390x/tcg/
H A Dcc_helper.c38 return 0; in cc_calc_ltgt_32()
40 return 1; in cc_calc_ltgt_32()
42 return 2; in cc_calc_ltgt_32()
48 return cc_calc_ltgt_32(dst, 0); in cc_calc_ltgt0_32()
54 return 0; in cc_calc_ltgt_64()
56 return 1; in cc_calc_ltgt_64()
58 return 2; in cc_calc_ltgt_64()
64 return cc_calc_ltgt_64(dst, 0); in cc_calc_ltgt0_64()
70 return 0; in cc_calc_ltugtu_32()
72 return 1; in cc_calc_ltugtu_32()
[all …]
/qemu/target/hexagon/idef-parser/
H A Didef-parser.lex68 return INAME; }
75 "0x1.0p-52" { return FAIL; }
76 "in" { return IN; }
85 return REG; }
94 return REG; }
102 return REG; }
111 return REG; }
120 return REG; }
128 return IMM; }
135 return PRED; }
[all …]
/qemu/hw/misc/
H A Dimx6_ccm.c26 return "CCR"; in imx6_ccm_reg_name()
28 return "CCDR"; in imx6_ccm_reg_name()
30 return "CSR"; in imx6_ccm_reg_name()
32 return "CCSR"; in imx6_ccm_reg_name()
34 return "CACRR"; in imx6_ccm_reg_name()
36 return "CBCDR"; in imx6_ccm_reg_name()
38 return "CBCMR"; in imx6_ccm_reg_name()
40 return "CSCMR1"; in imx6_ccm_reg_name()
42 return "CSCMR2"; in imx6_ccm_reg_name()
44 return "CSCDR1"; in imx6_ccm_reg_name()
[all …]
H A Dimx6ul_ccm.c84 return "CCR"; in imx6ul_ccm_reg_name()
86 return "CCDR"; in imx6ul_ccm_reg_name()
88 return "CSR"; in imx6ul_ccm_reg_name()
90 return "CCSR"; in imx6ul_ccm_reg_name()
92 return "CACRR"; in imx6ul_ccm_reg_name()
94 return "CBCDR"; in imx6ul_ccm_reg_name()
96 return "CBCMR"; in imx6ul_ccm_reg_name()
98 return "CSCMR1"; in imx6ul_ccm_reg_name()
100 return "CSCMR2"; in imx6ul_ccm_reg_name()
102 return "CSCDR1"; in imx6ul_ccm_reg_name()
[all …]
/qemu/hw/net/
H A Digbvf.c67 return E1000_PVTCTRL(vfn); in vf_to_pf_addr()
69 return E1000_PVTEICS(vfn); in vf_to_pf_addr()
71 return E1000_PVTEIMS(vfn); in vf_to_pf_addr()
73 return E1000_PVTEIMC(vfn); in vf_to_pf_addr()
75 return E1000_PVTEIAC(vfn); in vf_to_pf_addr()
77 return E1000_PVTEIAM(vfn); in vf_to_pf_addr()
79 return E1000_PVTEICR(vfn); in vf_to_pf_addr()
83 return E1000_EITR(22) + (addr - E1000_EITR(0)) - vfn * 0xC; in vf_to_pf_addr()
85 return E1000_VTIVAR + vfn * 4; in vf_to_pf_addr()
87 return E1000_VTIVAR_MISC + vfn * 4; in vf_to_pf_addr()
[all …]
/qemu/util/
H A Doslib-win32.c44 return system_info.dwAllocationGranularity; in get_allocation_granularity()
58 return NULL; in qemu_anon_ram_alloc()
67 return ptr; in qemu_anon_ram_alloc()
88 return p; in gmtime_r()
100 return p; in localtime_r()
108 return 0; in socket_error()
110 return EINTR; in socket_error()
112 return EINVAL; in socket_error()
114 return EBADF; in socket_error()
116 return ENOMEM; in socket_error()
[all …]
/qemu/target/i386/
H A Dgdbstub.c89 return gdb_get_reg64(buf, val); in gdb_read_reg_cs64()
91 return gdb_get_reg32(buf, val); in gdb_read_reg_cs64()
98 return 8; in gdb_write_reg_cs64()
101 return 4; in gdb_write_reg_cs64()
108 return gdb_get_reg64(mem_buf, val); in gdb_get_reg()
110 return gdb_get_reg64(mem_buf, val & 0xffffffffUL); in gdb_get_reg()
113 return gdb_get_reg32(mem_buf, val); in gdb_get_reg()
131 return gdb_get_reg64(mem_buf, env->regs[gpr_map[n]]); in x86_cpu_gdb_read_register()
133 return gdb_get_reg64(mem_buf, in x86_cpu_gdb_read_register()
136 return gdb_get_regl(mem_buf, 0); in x86_cpu_gdb_read_register()
[all …]
/qemu/tests/qemu-iotests/
H A D257.out7 {"return": {}}
12 {"return": ""}
14 {"return": ""}
16 {"return": ""}
18 {"return": ""}
27 {"return": {}}
31 {"return": {}}
34 {"return": {}}
40 {"return": {}}
45 {"return": ""}
[all …]
H A D219.out5 {"return": {}}
6 {"return": [{"current-progress": "FILTERED", "id": "job0", "status": "running", "total-progress": "…
12 {"return": {}}
14 {"return": [{"current-progress": 65536, "id": "job0", "status": "paused", "total-progress": 4194304…
15 {"return": {}}
17 {"return": [{"current-progress": 131072, "id": "job0", "status": "running", "total-progress": 41943…
19 {"return": {}}
21 {"return": [{"current-progress": 131072, "id": "job0", "status": "paused", "total-progress": 419430…
22 {"return": {}}
24 {"return": [{"current-progress": 196608, "id": "job0", "status": "running", "total-progress": 41943…
[all …]
H A D212.out4 {"return": {}}
6 {"return": {}}
9 {"return": {}}
11 {"return": {}}
13 {"return": {}}
22 {"return": {}}
24 {"return": {}}
27 {"return": {}}
29 {"return": {}}
38 {"return": {}}
[all …]
H A D240.out3 {"return": {}}
5 {"return": {}}
7 {"return": {}}
9 {"return": {}}
11 {"return": {}}
13 {"return": {}}
15 {"return": {}}
17 {"return": {}}
20 {"return": {}}
22 {"return": {}}
[all …]
H A D213.out4 {"return": {}}
6 {"return": {}}
9 {"return": {}}
11 {"return": {}}
13 {"return": {}}
23 {"return": {}}
25 {"return": {}}
28 {"return": {}}
30 {"return": {}}
40 {"return": {}}
[all …]
/qemu/include/hw/xen/
H A Dxen_backend_ops.h70 return NULL; in qemu_xen_evtchn_open()
72 return xen_evtchn_ops->open(); in qemu_xen_evtchn_open()
80 return -ENOSYS; in qemu_xen_evtchn_bind_interdomain()
82 return xen_evtchn_ops->bind_interdomain(xc, domid, guest_port); in qemu_xen_evtchn_bind_interdomain()
89 return -ENOSYS; in qemu_xen_evtchn_unbind()
91 return xen_evtchn_ops->unbind(xc, port); in qemu_xen_evtchn_unbind()
97 return -ENOSYS; in qemu_xen_evtchn_close()
99 return xen_evtchn_ops->close(xc); in qemu_xen_evtchn_close()
105 return -ENOSYS; in qemu_xen_evtchn_fd()
107 return xen_evtchn_ops->get_fd(xc); in qemu_xen_evtchn_fd()
[all …]
/qemu/crypto/
H A Dcipher-gcrypt.c.inc27 return GCRY_CIPHER_DES;
29 return GCRY_CIPHER_3DES;
31 return GCRY_CIPHER_AES128;
33 return GCRY_CIPHER_AES192;
35 return GCRY_CIPHER_AES256;
37 return GCRY_CIPHER_CAST5;
39 return GCRY_CIPHER_SERPENT128;
41 return GCRY_CIPHER_SERPENT192;
43 return GCRY_CIPHER_SERPENT256;
45 return GCRY_CIPHER_TWOFISH128;
[all …]
/qemu/target/riscv/
H A Dfpu_helper.c37 return hard; in riscv_cpu_get_fflags()
126 return nanbox_h(env, float16_muladd(frs1, frs2, frs3, flags, in do_fmadd_h()
136 return nanbox_s(env, float32_muladd(frs1, frs2, frs3, flags, in do_fmadd_s()
143 return do_fmadd_s(env, frs1, frs2, frs3, 0); in helper_fmadd_s()
149 return float64_muladd(frs1, frs2, frs3, 0, &env->fp_status); in helper_fmadd_d()
155 return do_fmadd_h(env, frs1, frs2, frs3, 0); in helper_fmadd_h()
161 return do_fmadd_s(env, frs1, frs2, frs3, float_muladd_negate_c); in helper_fmsub_s()
167 return float64_muladd(frs1, frs2, frs3, float_muladd_negate_c, in helper_fmsub_d()
174 return do_fmadd_h(env, frs1, frs2, frs3, float_muladd_negate_c); in helper_fmsub_h()
180 return do_fmadd_s(env, frs1, frs2, frs3, float_muladd_negate_product); in helper_fnmsub_s()
[all …]
/qemu/bsd-user/
H A Dbsd-proc.h39 return 0; in do_bsd_exit()
56 return -TARGET_EFAULT; in do_bsd_getgroups()
64 return ret; in do_bsd_getgroups()
77 return -TARGET_EFAULT; in do_bsd_setgroups()
83 return get_errno(setgroups(gidsetsize, grouplist)); in do_bsd_setgroups()
89 return get_errno(umask(arg1)); in do_bsd_umask()
100 return -TARGET_EFAULT; in do_bsd_setlogin()
105 return ret; in do_bsd_setlogin()
116 return -TARGET_EFAULT; in do_bsd_getlogin()
121 return ret; in do_bsd_getlogin()
[all …]
/qemu/target/ppc/
H A Dkvm_ppc.h129 return 0; in kvmppc_get_tbfreq()
134 return false; in kvmppc_get_host_model()
139 return false; in kvmppc_get_host_serial()
144 return 0; in kvmppc_get_clockfreq()
149 return 0; in kvmppc_get_vmx()
154 return 0; in kvmppc_get_dfp()
159 return 0; in kvmppc_get_hasidle()
165 return -1; in kvmppc_get_hypercall()
170 return -1; in kvmppc_set_interrupt()
200 return 0; in kvmppc_set_compat()
[all …]
/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_privileged.c.inc15 return false; \
52 return true;
54 return false;
64 return false;
69 return true;
92 return false;
99 return true;
109 return false;
126 return true;
136 return false;
[all …]
/qemu/hw/avr/
H A Dboot.c22 return AVR_CPU_TYPE_NAME("avr1"); in avr_elf_e_flags_to_cpu_type()
24 return AVR_CPU_TYPE_NAME("avr2"); in avr_elf_e_flags_to_cpu_type()
26 return AVR_CPU_TYPE_NAME("avr25"); in avr_elf_e_flags_to_cpu_type()
28 return AVR_CPU_TYPE_NAME("avr3"); in avr_elf_e_flags_to_cpu_type()
30 return AVR_CPU_TYPE_NAME("avr31"); in avr_elf_e_flags_to_cpu_type()
32 return AVR_CPU_TYPE_NAME("avr35"); in avr_elf_e_flags_to_cpu_type()
34 return AVR_CPU_TYPE_NAME("avr4"); in avr_elf_e_flags_to_cpu_type()
36 return AVR_CPU_TYPE_NAME("avr5"); in avr_elf_e_flags_to_cpu_type()
38 return AVR_CPU_TYPE_NAME("avr51"); in avr_elf_e_flags_to_cpu_type()
40 return AVR_CPU_TYPE_NAME("avr6"); in avr_elf_e_flags_to_cpu_type()
[all …]
/qemu/target/xtensa/
H A Dxtensa-isa.c35 return xtisa_errno; in xtensa_isa_errno()
41 return xtisa_error_msg; in xtensa_isa_error_msg()
50 return ERRVAL; \
65 return ERRVAL; \
75 return intisa->insnbuf_size; in xtensa_insnbuf_size()
85 return result; in xtensa_insnbuf_alloc()
98 * internal representation of a xtensa instruction word, return the index of
104 return byte_index / sizeof(xtensa_insnbuf_word); in byte_to_word_index()
110 return (byte_index & 0x3) * 8; in byte_to_bit_index()
153 return XTENSA_UNDEFINED; in xtensa_insnbuf_to_chars()
[all …]

12345678910>>...164