Home
last modified time | relevance | path

Searched refs:arg (Results 76 – 100 of 292) sorted by relevance

12345678910>>...12

/qemu/target/mips/tcg/
H A Dldst_helper.c34 target_ulong helper_##name(CPUMIPSState *env, target_ulong arg, int mem_idx) \
36 if (arg & almask) { \
38 env->CP0_BadVAddr = arg; \
42 env->CP0_LLAddr = cpu_mips_translate_address(env, arg, MMU_DATA_LOAD, \
44 env->lladdr = arg; \
45 env->llval = do_cast cpu_##insn##_mmuidx_ra(env, arg, mem_idx, GETPC()); \
/qemu/tcg/sparc64/
H A Dtcg-target.c.inc373 if (ret != arg) {
381 if (ret != arg) {
402 tcg_out_sethi(s, ret, ~arg);
409 tcg_out_sethi(s, ret, arg);
410 if (arg & 0x3ff) {
423 if (check_fit_tl(arg, 13)) {
429 if (type == TCG_TYPE_I32 || arg == (uint32_t)arg) {
444 if (arg == lo) {
450 lsb = ctz64(arg);
472 hi = (arg - lo) >> 32;
[all …]
/qemu/hw/9pfs/
H A Dcoth.c34 static int coroutine_enter_func(void *arg) in coroutine_enter_func() argument
36 Coroutine *co = arg; in coroutine_enter_func()
/qemu/util/
H A Dqemu-thread-posix.c487 static void qemu_thread_atexit_notify(void *arg) in qemu_thread_atexit_notify() argument
498 void *arg; member
506 void *arg = qemu_thread_args->arg; in qemu_thread_start() local
541 r = start_routine(arg); in qemu_thread_start()
551 void *arg, int mode) in qemu_thread_create() argument
579 qemu_thread_args->arg = arg; in qemu_thread_create()
H A Dthread-context.c38 void *arg; member
71 cmd_new->start_routine, cmd_new->arg, in thread_context_run()
336 void *(*start_routine)(void *), void *arg, in type_init()
343 .arg = arg, in type_init()
H A Doslib-win32.c332 u_long arg; in qemu_socketpair() local
379 arg = 1; in qemu_socketpair()
380 if (ioctlsocket(client, FIONBIO, &arg) != NO_ERROR) { in qemu_socketpair()
394 arg = 0; in qemu_socketpair()
395 if (ioctlsocket(client, FIONBIO, &arg) != NO_ERROR) { in qemu_socketpair()
399 arg = 0; in qemu_socketpair()
400 if (ioctlsocket(client, SIO_AF_UNIX_GETPEERPID, &arg) != NO_ERROR) { in qemu_socketpair()
404 if (arg != GetCurrentProcessId()) { in qemu_socketpair()
H A Dqemu-config.c98 char line[1024], prev_group[64], group[64], arg[64], value[1024]; in qemu_config_foreach() local
139 if (sscanf(line, " %63s = \"%1023[^\"]\"", arg, value) == 2 || in qemu_config_foreach()
140 sscanf(line, " %63s = \"\"", arg) == 1) { in qemu_config_foreach()
146 qdict_put_str(qdict, arg, value); in qemu_config_foreach()
/qemu/scripts/qapi/
H A Dexpr.py330 for key, arg in members.items():
331 if isinstance(arg, dict):
333 members[key] = {'type': arg}
386 for (key, arg) in value.items():
395 check_keys(arg, info, key_source, ['type'], ['if', 'features'])
396 check_if(arg, info, key_source)
397 check_features(arg.get('features'), info)
398 check_type_name_or_array(arg['type'], info, key_source)
/qemu/trace/
H A Dtrace-hmp-cmds.c53 const char *arg = qdict_get_try_str(qdict, "arg"); in hmp_trace_file() local
64 if (arg) { in hmp_trace_file()
65 st_set_trace_file(arg); in hmp_trace_file()
/qemu/tcg/ppc/
H A Dtcg-target.c.inc862 tcg_out32(s, OR | SAB(arg, ret, arg));
886 tcg_out32(s, VOR | VRT(ret) | VRA(arg) | VRB(arg));
1121 if (arg == (int16_t)arg) {
1125 if (arg == (int32_t)arg && (arg & 0xffff) == 0) {
1142 arg = (int32_t)arg;
1162 if (arg == sextract64(arg, 0, 34)) {
1178 if (TCG_TARGET_REG_BITS == 32 || arg == (int32_t)arg) {
1183 if (arg == (uint32_t)arg && !(arg & 0x8000)) {
1190 if (arg > 0 && (arg & 0x8000)) {
1714 tcg_out_vsldoi(s, TCG_VEC_TMP1, arg, arg, 8);
[all …]
/qemu/hw/virtio/
H A Dvirtio-mem.c204 ret = cb(vmem, arg, offset, size); in virtio_mem_for_each_unplugged_range()
228 ret = cb(vmem, arg, offset, size); in virtio_mem_for_each_plugged_range()
264 void *arg, in virtio_mem_for_each_plugged_section() argument
284 ret = cb(&tmp, arg); in virtio_mem_for_each_plugged_section()
296 void *arg, in virtio_mem_for_each_unplugged_section() argument
316 ret = cb(&tmp, arg); in virtio_mem_for_each_unplugged_section()
328 RamDiscardListener *rdl = arg; in virtio_mem_notify_populate_cb()
335 RamDiscardListener *rdl = arg; in virtio_mem_notify_discard_cb()
1737 struct VirtIOMEMReplayData *data = arg; in virtio_mem_rdm_replay_populated_cb()
1759 void *arg) in virtio_mem_rdm_replay_discarded_cb() argument
[all …]
/qemu/net/
H A Dtap-linux.c199 int arg = is_le ? 1 : 0; in tap_fd_set_vnet_le() local
201 if (!ioctl(fd, TUNSETVNETLE, &arg)) { in tap_fd_set_vnet_le()
216 int arg = is_be ? 1 : 0; in tap_fd_set_vnet_be() local
218 if (!ioctl(fd, TUNSETVNETBE, &arg)) { in tap_fd_set_vnet_be()
/qemu/target/ppc/
H A Dfpu_helper.c64 uint64_t helper_todouble(uint32_t arg) in helper_todouble() argument
66 uint32_t abs_arg = arg & 0x7fffffff; in helper_todouble()
108 uint32_t helper_tosingle(uint64_t arg) in helper_tosingle() argument
110 int exp = extract64(arg, 52, 11); in helper_tosingle()
115 ret = extract64(arg, 62, 2) << 30; in helper_tosingle()
116 ret |= extract64(arg, 29, 30); in helper_tosingle()
125 ret = extract64(arg, 63, 1) << 31; in helper_tosingle()
603 arg = float64_round_to_int(arg, &env->fp_status); in do_fri()
615 return arg; in do_fri()
630 return do_fri(env, arg, float_round_up); in helper_frip()
[all …]
/qemu/tests/data/acpi/
H A Ddisassemle-aml.sh4 while getopts "o:" arg; do
5 case ${arg} in
/qemu/tests/qtest/
H A Dvirtio-net-test.c274 static void *virtio_net_test_setup(GString *cmd_line, void *arg) in virtio_net_test_setup() argument
315 static void *virtio_net_test_setup_nosocket(GString *cmd_line, void *arg) in virtio_net_test_setup_nosocket() argument
318 return arg; in virtio_net_test_setup_nosocket()
335 opts.arg = (gpointer)UINT_MAX; in register_virtio_net_test()
337 opts.arg = (gpointer)NET_BUFSIZE; in register_virtio_net_test()
/qemu/include/hw/acpi/
H A Daml-build.h298 Aml *aml_to_integer(Aml *arg);
312 Aml *aml_increment(Aml *arg);
313 Aml *aml_decrement(Aml *arg);
348 Aml *aml_lnot(Aml *arg);
409 Aml *aml_refof(Aml *arg);
410 Aml *aml_derefof(Aml *arg);
411 Aml *aml_sizeof(Aml *arg);
/qemu/bsd-user/arm/
H A Dtarget_arch_thread.h25 abi_ulong arg, abi_ulong stack_base, abi_ulong stack_size) in target_thread_set_upcall() argument
40 env->regs[0] = arg; in target_thread_set_upcall()
/qemu/tcg/riscv/
H A Dtcg-target.c.inc498 if (ret == arg) {
637 tcg_out_opc_imm(s, OPC_ADDIW, ret, arg, 0);
642 if (ret != arg) {
643 tcg_out_ext32s(s, ret, arg);
649 tcg_out_ext32u(s, ret, arg);
654 tcg_out_ext32s(s, ret, arg);
702 tcg_out_ldst(s, insn, arg, arg1, arg2);
709 tcg_out_ldst(s, insn, arg, arg1, arg2);
1124 ptrdiff_t offset = tcg_pcrel_diff(s, arg);
1135 ret = reloc_call(s->code_ptr - 2, arg);
[all …]
/qemu/scripts/qemugdb/
H A Dcoroutine.py105 def invoke(self, arg, from_tty): argument
106 argv = gdb.string_to_argv(arg)
119 def invoke(self, arg, from_tty): argument
H A Daio.py41 def invoke(self, arg, from_tty): argument
43 argv = gdb.string_to_argv(arg)
/qemu/audio/
H A Dsndioaudio.c57 static void sndio_poll_in(void *arg);
58 static void sndio_poll_out(void *arg);
297 static void sndio_poll_out(void *arg) in sndio_poll_out() argument
299 struct pollindex *pindex = (struct pollindex *) arg; in sndio_poll_out()
307 static void sndio_poll_in(void *arg) in sndio_poll_in() argument
309 struct pollindex *pindex = (struct pollindex *) arg; in sndio_poll_in()
/qemu/accel/
H A Ddummy-cpus.c21 static void *dummy_cpu_thread_fn(void *arg) in dummy_cpu_thread_fn() argument
23 CPUState *cpu = arg; in dummy_cpu_thread_fn()
/qemu/target/hexagon/
H A Dgen_helper_protos.py39 for arg in hex_common.helper_args(tag, regs, imms):
40 declared.append(arg.proto_arg)
/qemu/tests/image-fuzzer/
H A Drunner.py368 for opt, arg in opts:
374 command = json.loads(arg)
384 seed = arg
386 duration = int(arg)
389 config = json.loads(arg)
/qemu/target/mips/
H A Dfpu_helper.h13 uint32_t float_class_s(uint32_t arg, float_status *fst);
14 uint64_t float_class_d(uint64_t arg, float_status *fst);

12345678910>>...12