/qemu/accel/ |
H A D | dummy-cpus.c | 21 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 D | char-fe.h | 270 int qemu_chr_fe_ioctl(CharBackend *be, int cmd, void *arg);
|
/qemu/tests/qtest/ |
H A D | virtio-net-test.c | 274 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 D | whpx-accel-ops.c | 21 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 D | nvmm-accel-ops.c | 19 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 D | xen-emu.c | 637 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 D | block-coroutine-wrapper.py | 71 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 D | qemu-img.c | 5014 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 D | thread.h | 191 void *arg, int mode);
|
/qemu/hw/virtio/ |
H A D | vhost-backend.c | 24 void *arg) in vhost_kernel_call() argument 31 ret = ioctl(fd, request, arg); in vhost_kernel_call()
|
/qemu/hw/sd/ |
H A D | allwinner-sdhost.c | 246 request.arg = s->command_arg; in allwinner_sdhost_send_command()
|
H A D | bcm2835_sdhost.c | 119 request.arg = s->cmdarg; in bcm2835_sdhost_send_command()
|
H A D | pl181.c | 179 request.arg = s->cmdarg; in pl181_do_command() 180 trace_pl181_command_send(request.cmd, request.arg); in pl181_do_command()
|
H A D | pxa2xx_mmci.c | 55 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 D | sd.c | 547 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 D | ssi-sd.c | 148 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 D | apm.c | 44 (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 D | riscv_imsic.c | 186 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 D | piix4.c | 69 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 D | file-posix.c | 2407 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 D | qapi-sysemu.c | 427 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 D | fpu_helper.c | 64 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 D | filemonitor-inotify.c | 54 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 D | ui-qmp-cmds.c | 155 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__.py | 361 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
|