/qemu/scripts/ |
H A D | block-coroutine-wrapper.py | 156 name = func.target_name 157 struct_name = func.struct_name 186 name = func.target_name 187 struct_name = func.struct_name 210 name = func.target_name 215 if func.graph_rdlock: 220 if func.create_only_co: 250 assert '_co_' in func.name 253 name = func.target_name 258 if func.graph_rdlock: [all …]
|
/qemu/hw/core/ |
H A D | reset.c | 56 QEMUResetHandler *func; member 76 lr->func(lr->opaque); in legacy_reset_hold() 95 void qemu_register_reset(QEMUResetHandler *func, void *opaque) in qemu_register_reset() argument 100 lr->func = func; in qemu_register_reset() 110 lr->func = func; in qemu_register_reset_nosnapshotload() 117 QEMUResetHandler *func; member 129 if (lr && lr->func == fli->func && lr->opaque == fli->opaque) { in find_legacy_reset_cb() 134 static LegacyReset *find_legacy_reset(QEMUResetHandler *func, void *opaque) in find_legacy_reset() argument 145 fli.func = func; in find_legacy_reset() 153 void qemu_unregister_reset(QEMUResetHandler *func, void *opaque) in qemu_unregister_reset() argument [all …]
|
/qemu/tests/fp/ |
H A D | wrap.c.inc | 106 #define WRAP_SF_TO_SF_IEEE(name, func, a_type, b_type) \ 112 ret = func(*ap, true, &qsf); \ 123 #define WRAP_SF_TO_SF(name, func, a_type, b_type) \ 249 #define WRAP_128_TO_SF(name, func, type) \ 256 ret = func(a, &qsf); \ 452 #define WRAP1(name, func, type) \ 458 ret = func(*ap, &qsf); \ 589 #define WRAP_CMP16(name, func, retcond) \ 596 ret = func(*ap, *bp, &qsf); \ 608 #define WRAP_CMP(name, func, type) \ [all …]
|
/qemu/util/ |
H A D | error.c | 23 const char *src, *func; member 36 err->func, err->src, err->line); in error_handle() 58 const char *src, int line, const char *func, in error_setv() argument 80 err->func = func; in error_setv() 88 const char *src, int line, const char *func, in error_set_internal() argument 94 error_setv(errp, src, line, func, err_class, fmt, ap, NULL); in error_set_internal() 99 const char *src, int line, const char *func, in error_setg_internal() argument 117 error_setv(errp, src, line, func, ERROR_CLASS_GENERIC_ERROR, fmt, ap, in error_setg_errno_internal() 128 error_setg_errno_internal(errp, src, line, func, os_errno, in error_setg_file_open_internal() 196 error_setv(errp, src, line, func, ERROR_CLASS_GENERIC_ERROR, in error_setg_win32_internal() [all …]
|
H A D | yank.c | 21 YankFn *func; member 114 YankFn *func, in yank_register_function() argument 125 func_entry->func = func; in yank_register_function() 132 YankFn *func, in yank_unregister_function() argument 143 if (func_entry->func == func && func_entry->opaque == opaque) { in yank_unregister_function() 172 func_entry->func(func_entry->opaque); in qmp_yank()
|
H A D | main-loop.c | 321 PollingFunc *func; 328 int qemu_add_polling_cb(PollingFunc *func, void *opaque) 332 pe->func = func; 339 void qemu_del_polling_cb(PollingFunc *func, void *opaque) 344 if (pe->func == func && pe->opaque == opaque) { 358 WaitObjectFunc *func[MAXIMUM_WAIT_OBJECTS]; 381 w->func[w->num] = func; 400 w->func[i] = w->func[i + 1]; 478 ret |= pe->func(pe->opaque); 531 if (w->revents[i] && w->func[i]) { [all …]
|
H A D | thread-pool.c | 39 ThreadPoolFunc *func; member 111 ret = req->func(req->arg); in worker_thread() 241 BlockAIOCB *thread_pool_submit_aio(ThreadPoolFunc *func, void *arg, in thread_pool_submit_aio() argument 252 req->func = func; in thread_pool_submit_aio() 284 int coroutine_fn thread_pool_submit_co(ThreadPoolFunc *func, void *arg) in thread_pool_submit_co() argument 288 thread_pool_submit_aio(func, arg, thread_pool_co_cb, &tpc); in thread_pool_submit_co() 293 void thread_pool_submit(ThreadPoolFunc *func, void *arg) in thread_pool_submit() argument 295 thread_pool_submit_aio(func, arg, NULL, NULL); in thread_pool_submit()
|
H A D | qht.c | 266 func(&map->tsan_bucket_locks[lock_idx].lock); in qht_do_if_first_in_stripe() 269 func(&b->lock); in qht_do_if_first_in_stripe() 280 func(&map->tsan_bucket_locks[lock_idx].lock); in qht_bucket_lock_do() 282 func(&b->lock); in qht_bucket_lock_do() 571 if (likely(p) && likely(func(p, userp))) { in qht_do_lookup() 591 ret = qht_do_lookup(b, func, userp, hash); in qht_lookup__slowpath() 597 qht_lookup_func_t func) in qht_lookup_custom() argument 608 ret = qht_do_lookup(b, func, userp, hash); in qht_lookup_custom() 616 return qht_lookup__slowpath(b, func, userp, hash); in qht_lookup_custom() 884 .f.retvoid = func, in qht_iter() [all …]
|
/qemu/qga/ |
H A D | vss-win32.c | 28 FARPROC WINAPI func; in call_vss_provider_func() local 32 func = GetProcAddress(provider_lib, func_name); in call_vss_provider_func() 33 if (!func) { in call_vss_provider_func() 45 return func(); in call_vss_provider_func() 154 QGAVSSRequesterFunc func; in qga_vss_fsfreeze() local 161 func = (QGAVSSRequesterFunc)GetProcAddress(provider_lib, func_name); in qga_vss_fsfreeze() 162 if (!func) { in qga_vss_fsfreeze() 168 func(nr_volume, mountpoints, &errset); in qga_vss_fsfreeze()
|
/qemu/ |
H A D | cpu-common.c | 128 run_on_cpu_func func; member 143 void do_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data, in do_run_on_cpu() argument 149 func(cpu, data); in do_run_on_cpu() 153 wi.func = func; in do_run_on_cpu() 168 void async_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data) in async_run_on_cpu() argument 173 wi->func = func; in async_run_on_cpu() 320 void async_safe_run_on_cpu(CPUState *cpu, run_on_cpu_func func, in async_safe_run_on_cpu() argument 326 wi->func = func; in async_safe_run_on_cpu() 356 wi->func(cpu, wi->data); in process_queued_cpu_work() 360 wi->func(cpu, wi->data); in process_queued_cpu_work()
|
/qemu/plugins/ |
H A D | core.c | 109 qemu_plugin_vcpu_simple_cb_t func = cb->f.vcpu_simple; in plugin_vcpu_cb__simple() local 111 func(cb->ctx->id, cpu->cpu_index); in plugin_vcpu_cb__simple() 132 qemu_plugin_simple_cb_t func = cb->f.simple; in plugin_cb__simple() local 134 func(cb->ctx->id); in plugin_cb__simple() 155 qemu_plugin_udata_cb_t func = cb->f.udata; in plugin_cb__udata() local 157 func(cb->ctx->id, cb->udata); in plugin_cb__udata() 167 void *func, void *udata) in do_plugin_register_cb() argument 177 if (func) { in do_plugin_register_cb() 181 cb->f.generic = func; in do_plugin_register_cb() 186 cb->f.generic = func; in do_plugin_register_cb() 202 plugin_register_cb(qemu_plugin_id_t id,enum qemu_plugin_event ev,void * func) plugin_register_cb() argument 209 plugin_register_cb_udata(qemu_plugin_id_t id,enum qemu_plugin_event ev,void * func,void * udata) plugin_register_cb_udata() argument 416 qemu_plugin_vcpu_tb_trans_cb_t func = cb->f.vcpu_tb_trans; qemu_plugin_tb_trans_cb() local 441 qemu_plugin_vcpu_syscall_cb_t func = cb->f.vcpu_syscall; qemu_plugin_vcpu_syscall() local 463 qemu_plugin_vcpu_syscall_ret_cb_t func = cb->f.vcpu_syscall_ret; qemu_plugin_vcpu_syscall_ret() local [all...] |
/qemu/block/ |
H A D | qcow2-threads.c | 42 qcow2_co_process(BlockDriverState *bs, ThreadPoolFunc *func, void *arg) in qcow2_co_process() argument 54 ret = thread_pool_submit_co(func, arg); in qcow2_co_process() 78 Qcow2CompressFunc func; member 332 data->ret = data->func(data->dest, data->dest_size, in qcow2_compress_pool_func() 340 const void *src, size_t src_size, Qcow2CompressFunc func) in qcow2_co_do_compress() argument 347 .func = func, in qcow2_co_do_compress() 446 Qcow2EncDecFunc func; member 453 return data->func(data->block, data->offset, data->buf, data->len, NULL); in qcow2_encdec_pool_func() 459 Qcow2EncDecFunc func) in qcow2_co_encdec() argument 467 .func = func, in qcow2_co_encdec()
|
/qemu/include/qemu/ |
H A D | rcu.h | 140 RCUCBFunc *func; member 143 void call_rcu1(struct rcu_head *head, RCUCBFunc *func); 149 #define call_rcu(head, func, field) \ argument 153 func_type_invalid = (func) - (void (*)(typeof(head)))(func); \ 156 (RCUCBFunc *)(func))
|
/qemu/include/exec/ |
H A D | helper-info.c.inc | 20 .func = HELPER(NAME), .name = str(NAME), \ 27 .func = HELPER(NAME), .name = str(NAME), \ 34 .func = HELPER(NAME), .name = str(NAME), \ 42 .func = HELPER(NAME), .name = str(NAME), \ 50 .func = HELPER(NAME), .name = str(NAME), \ 59 .func = HELPER(NAME), .name = str(NAME), \ 68 .func = HELPER(NAME), .name = str(NAME), \ 78 .func = HELPER(NAME), .name = str(NAME), \
|
H A D | helper-gen.h.inc | 17 tcg_gen_call0(glue(helper_info_,name).func, \ 26 tcg_gen_call1(glue(helper_info_,name).func, \ 36 tcg_gen_call2(glue(helper_info_,name).func, \ 46 tcg_gen_call3(glue(helper_info_,name).func, \ 57 tcg_gen_call4(glue(helper_info_,name).func, \ 69 tcg_gen_call5(glue(helper_info_,name).func, \ 81 tcg_gen_call6(glue(helper_info_,name).func, \ 94 tcg_gen_call7(glue(helper_info_,name).func, \
|
/qemu/hw/usb/ |
H A D | desc-msos.c | 56 msos_compat_func *func; in usb_desc_msos_compat() local 60 func = (void *)(dest + length); in usb_desc_msos_compat() 61 func->bFirstInterfaceNumber = 0; in usb_desc_msos_compat() 62 func->reserved_1 = 0x01; in usb_desc_msos_compat() 64 snprintf(func->compatibleId, sizeof(func->compatibleId), in usb_desc_msos_compat() 67 length += sizeof(*func); in usb_desc_msos_compat()
|
/qemu/include/qapi/ |
H A D | error.h | 321 const char *src, int line, const char *func, 337 const char *fname, int line, const char *func, 351 const char *src, int line, const char *func, 426 const char *src, int line, const char *func, 478 const char *src, int line, const char *func,
|
/qemu/target/mips/tcg/ |
H A D | lcsr_translate.c | 33 void (*func)(TCGv, TCGv_ptr, TCGv)) in gen_rdcsr() 40 func(dest, tcg_env, src1); in gen_rdcsr() 47 void (*func)(TCGv_ptr, TCGv, TCGv)) in gen_wrcsr() 55 func(tcg_env, addr, val); in gen_wrcsr()
|
H A D | dsp_helper.c | 1718 #define SHIFT_QB(name, func) \ argument 1735 #define SHIFT_QB_ENV(name, func) \ argument 1763 #define SHIFT_OB(name, func) \ argument 1782 #define SHIFT_OB_ENV(name, func) \ argument 1813 #define SHIFT_PH(name, func) \ argument 1835 #define SHIFT_QH(name, func) \ argument 1882 #define SHIFT_W(name, func) \ argument 1893 #define SHIFT_W_ENV(name, func) \ argument 1912 #define SHIFT_PW(name, func) \ argument 1952 #define SHIFT_PH(name, func) \ argument [all …]
|
/qemu/include/sysemu/ |
H A D | reset.h | 85 void qemu_register_reset(QEMUResetHandler *func, void *opaque); 97 void qemu_register_reset_nosnapshotload(QEMUResetHandler *func, void *opaque); 109 void qemu_unregister_reset(QEMUResetHandler *func, void *opaque);
|
/qemu/tests/tcg/s390x/ |
H A D | ex-branch.c | 10 void (*func)(long *link, long *magic); member 100 .func = test_ ## insn, \ 105 .func = test_ex_ ## insn, \ 110 .func = test_exrl_ ## insn, \ 139 test->func(&link, &magic); in main()
|
/qemu/io/ |
H A D | task.c | 39 QIOTaskFunc func; member 52 QIOTaskFunc func, in qio_task_new() argument 62 task->func = func; in qio_task_new() 68 trace_qio_task_new(task, source, func, opaque); in qio_task_new() 197 task->func(task, task->opaque); in qio_task_complete()
|
/qemu/hw/i386/ |
H A D | vmport.c | 72 VMPortReadFunc *func[VMPORT_ENTRIES]; member 83 void vmport_register(VMPortCommand command, VMPortReadFunc *func, void *opaque) in vmport_register() argument 88 trace_vmport_register(command, func, opaque); in vmport_register() 89 port_state->func[command] = func; in vmport_register() 116 if (command >= VMPORT_ENTRIES || !s->func[command]) { in vmport_ioport_read() 121 eax = s->func[command](s->opaque[command], addr); in vmport_ioport_read()
|
/qemu/include/block/ |
H A D | thread-pool.h | 36 BlockAIOCB *thread_pool_submit_aio(ThreadPoolFunc *func, void *arg, 38 int coroutine_fn thread_pool_submit_co(ThreadPoolFunc *func, void *arg); 39 void thread_pool_submit(ThreadPoolFunc *func, void *arg);
|
/qemu/scripts/tracetool/ |
H A D | vcpu.py | 52 ok, func = try_import("tracetool.format." + format, 55 assert func 56 return Arguments([func(event.args[:1], *args, **kwargs),
|