Home
last modified time | relevance | path

Searched refs:arg (Results 126 – 150 of 290) sorted by last modified time

12345678910>>...12

/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/include/chardev/
H A Dchar-fe.h270 int qemu_chr_fe_ioctl(CharBackend *be, int cmd, void *arg);
/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/target/i386/whpx/
H A Dwhpx-accel-ops.c21 static void *whpx_cpu_thread_fn(void *arg) in whpx_cpu_thread_fn() argument
23 CPUState *cpu = arg; in whpx_cpu_thread_fn()
/qemu/target/i386/nvmm/
H A Dnvmm-accel-ops.c19 static void *qemu_nvmm_cpu_thread_fn(void *arg) in qemu_nvmm_cpu_thread_fn() argument
21 CPUState *cpu = arg; in qemu_nvmm_cpu_thread_fn()
/qemu/target/i386/kvm/
H A Dxen-emu.c637 uint64_t arg) in do_add_to_physmap() argument
668 uint64_t arg) in do_add_to_physmap_batch() argument
739 err = do_add_to_physmap(exit, cpu, arg); in kvm_xen_hcall_memory_op()
755 uint64_t arg) in handle_set_param() argument
791 uint64_t arg) in handle_get_param() argument
882 return handle_set_param(exit, cpu, arg); in kvm_xen_hcall_hvm_op()
885 return handle_get_param(exit, cpu, arg); in kvm_xen_hcall_hvm_op()
896 uint64_t arg) in vcpuop_register_vcpu_info() argument
1060 uint64_t arg) in vcpuop_set_periodic_timer() argument
1137 if (kvm_copy_from_gva(cs, arg, &sst, 12)) { in vcpuop_set_singleshot_timer()
[all …]
/qemu/scripts/
H A Dblock-coroutine-wrapper.py71 self.args = [ParamDecl(arg.strip()) for arg in args.split(',')]
118 return ', '.join(format.format_map(arg.__dict__) for arg in self.args)
121 return '\n'.join(format.format_map(arg.__dict__) for arg in self.args)
/qemu/
H A Dqemu-img.c5014 static int img_dd_bs(const char *arg, in img_dd_bs() argument
5034 dd->count = cvtnum("count", arg); in img_dd_count()
5043 static int img_dd_if(const char *arg, in img_dd_if() argument
5047 in->filename = g_strdup(arg); in img_dd_if()
5056 out->filename = g_strdup(arg); in img_dd_of()
5077 char *arg = NULL; in img_dd() local
5158 arg = g_strdup(argv[i]); in img_dd()
5160 tmp = strchr(arg, '='); in img_dd()
5185 g_free(arg); in img_dd()
5186 arg = NULL; in img_dd()
[all …]
/qemu/include/qemu/
H A Dthread.h191 void *arg, int mode);
/qemu/hw/virtio/
H A Dvhost-backend.c24 void *arg) in vhost_kernel_call() argument
31 ret = ioctl(fd, request, arg); in vhost_kernel_call()
/qemu/hw/sd/
H A Dallwinner-sdhost.c246 request.arg = s->command_arg; in allwinner_sdhost_send_command()
H A Dbcm2835_sdhost.c119 request.arg = s->cmdarg; in bcm2835_sdhost_send_command()
H A Dpl181.c179 request.arg = s->cmdarg; in pl181_do_command()
180 trace_pl181_command_send(request.cmd, request.arg); in pl181_do_command()
H A Dpxa2xx_mmci.c55 uint32_t arg; member
99 VMSTATE_UINT32(arg, PXA2xxMMCIState),
228 request.arg = s->arg; in pxa2xx_mmci_wakequeues()
324 ret = s->arg >> 16; in pxa2xx_mmci_read()
327 ret = s->arg & 0xffff; in pxa2xx_mmci_read()
443 s->arg &= 0x0000ffff; in pxa2xx_mmci_write()
444 s->arg |= value << 16; in pxa2xx_mmci_write()
448 s->arg &= 0xffff0000; in pxa2xx_mmci_write()
449 s->arg |= value & 0x0000ffff; in pxa2xx_mmci_write()
531 s->arg = 0; in pxa2xx_mmci_reset()
H A Dsd.c547 stl_be_p(&buffer[1], req->arg); in sd_req_crc_validate()
884 mode = !!(arg & 0x80000000); in sd_function_switch()
1096 sd->multi_blk_cnt = req.arg; in sd_cmd_SET_BLOCK_COUNT()
1104 uint64_t addr = (sd->ocr & (1 << 30)) ? (uint64_t) req.arg << 9 : req.arg; in sd_normal_command()
1120 rca = req.arg >> 16; in sd_normal_command()
1210 if (!(req.arg >> 8) || (req.arg >> (ctz32(req.arg & ~0xff) + 1))) { in sd_normal_command()
1215 sd->vhs = req.arg; in sd_normal_command()
1317 sd->blk_len = req.arg; in sd_normal_command()
1474 sd->erase_start = req.arg; in sd_normal_command()
1485 sd->erase_end = req.arg; in sd_normal_command()
[all …]
H A Dssi-sd.c148 request.arg = 0; in OBJECT_DECLARE_SIMPLE_TYPE()
172 request.arg = ldl_be_p(s->cmdarg); in OBJECT_DECLARE_SIMPLE_TYPE()
173 DPRINTF("CMD%d arg 0x%08x\n", s->cmd, request.arg); in OBJECT_DECLARE_SIMPLE_TYPE()
/qemu/hw/isa/
H A Dapm.c44 (apm->callback)(val, apm->arg); in apm_ioport_writeb()
88 void *arg) in apm_init() argument
91 apm->arg = arg; in apm_init()
/qemu/hw/intc/
H A Driscv_imsic.c186 static int riscv_imsic_rmw(void *arg, target_ulong reg, target_ulong *val, in riscv_imsic_rmw() argument
189 RISCVIMSICState *imsic = arg; in riscv_imsic_rmw()
/qemu/hw/acpi/
H A Dpiix4.c69 static void apm_ctrl_changed(uint32_t val, void *arg) in apm_ctrl_changed() argument
71 PIIX4PMState *s = arg; in apm_ctrl_changed()
/qemu/block/
H A Dfile-posix.c2407 static int coroutine_fn raw_thread_pool_submit(ThreadPoolFunc func, void *arg) in raw_thread_pool_submit() argument
2409 return thread_pool_submit_co(func, arg); in raw_thread_pool_submit()
H A Dqapi-sysemu.c427 blk = qmp_get_blk(arg->device, arg->id, errp); in qmp_block_set_io_throttle()
447 if (arg->has_bps_max) { in qmp_block_set_io_throttle()
450 if (arg->has_bps_rd_max) { in qmp_block_set_io_throttle()
453 if (arg->has_bps_wr_max) { in qmp_block_set_io_throttle()
456 if (arg->has_iops_max) { in qmp_block_set_io_throttle()
459 if (arg->has_iops_rd_max) { in qmp_block_set_io_throttle()
462 if (arg->has_iops_wr_max) { in qmp_block_set_io_throttle()
466 if (arg->has_bps_max_length) { in qmp_block_set_io_throttle()
485 if (arg->has_iops_size) { in qmp_block_set_io_throttle()
497 blk_io_limits_enable(blk, arg->group ?: arg->device ?: arg->id); in qmp_block_set_io_throttle()
[all …]
/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()
685 arg = float64_round_to_int(arg, &env->fp_status); in do_fri()
697 return arg; in do_fri()
712 return do_fri(env, arg, float_round_up); in helper_frip()
[all …]
/qemu/util/
H A Dfilemonitor-inotify.c54 static void qemu_file_monitor_watch(void *arg) in qemu_file_monitor_watch() argument
56 QFileMonitor *mon = arg; in qemu_file_monitor_watch()
/qemu/ui/
H A Dui-qmp-cmds.c155 void qmp_display_reload(DisplayReloadOptions *arg, Error **errp) in qmp_display_reload() argument
157 switch (arg->type) { in qmp_display_reload()
160 if (arg->u.vnc.has_tls_certs && arg->u.vnc.tls_certs) { in qmp_display_reload()
172 void qmp_display_update(DisplayUpdateOptions *arg, Error **errp) in qmp_display_update() argument
174 switch (arg->type) { in qmp_display_update()
177 vnc_display_update(&arg->u.vnc, errp); in qmp_display_update()
/qemu/tests/avocado/avocado_qemu/
H A D__init__.py361 def set_vm_arg(self, arg, value): argument
371 if not arg or not value:
373 if arg not in self.vm.args:
374 self.vm.args.extend([arg, value])
376 idx = self.vm.args.index(arg) + 1

12345678910>>...12