/qemu/util/ |
H A D | qemu-timer.c | 52 QEMUClockType type; member 130 clock->type = type; in qemu_clock_init() 133 main_loop_tlg.tl[type] = timerlist_new(type, notify_cb, NULL); in qemu_clock_init() 597 for (type = 0; type < QEMU_CLOCK_MAX; type++) { in timerlistgroup_init() 598 tlg->tl[type] = timerlist_new(type, cb, opaque); in timerlistgroup_init() 605 for (type = 0; type < QEMU_CLOCK_MAX; type++) { in timerlistgroup_deinit() 614 for (type = 0; type < QEMU_CLOCK_MAX; type++) { in timerlistgroup_run_timers() 624 for (type = 0; type < QEMU_CLOCK_MAX; type++) { in timerlistgroup_deadline_ns() 635 switch (type) { in qemu_clock_get_ns() 651 for (type = 0; type < QEMU_CLOCK_MAX; type++) { in init_clocks() [all …]
|
H A D | module.c | 34 module_init_type type; member 67 return &init_type_list[type]; in find_type() 77 e->type = type; in register_module_init() 79 l = find_type(type); in register_module_init() 92 e->type = type; in register_dso_module_init() 97 void module_call_init(module_init_type type) in module_call_init() argument 102 if (modules_init_done[type]) { in module_call_init() 106 l = find_type(type); in module_call_init() 112 modules_init_done[type] = true; in module_call_init() 325 if (!type) { in module_load_qom() [all …]
|
/qemu/ |
H A D | meson_options.txt | 5 option('qemu_suffix', type : 'string', value: 'qemu', 11 option('pkgversion', type : 'string', value : '', 13 option('smbd', type : 'string', value : '', 15 option('iasl', type : 'string', value : '', 34 option('coroutine_backend', type: 'combo', 70 option('kvm', type: 'feature', value: 'auto', 74 option('hvf', type: 'feature', value: 'auto', 78 option('xen', type: 'feature', value: 'auto', 96 option('tsan', type: 'boolean', value: false, 100 option('cfi', type: 'boolean', value: false, [all …]
|
/qemu/fsdev/ |
H A D | qemu-fsdev-opts.c | 21 .type = QEMU_OPT_STRING, 24 .type = QEMU_OPT_STRING, 27 .type = QEMU_OPT_STRING, 30 .type = QEMU_OPT_STRING, 33 .type = QEMU_OPT_BOOL, 36 .type = QEMU_OPT_STRING, 39 .type = QEMU_OPT_STRING, 42 .type = QEMU_OPT_NUMBER, 45 .type = QEMU_OPT_NUMBER, 48 .type = QEMU_OPT_NUMBER, [all …]
|
/qemu/tests/multiboot/ |
H A D | mmap.out | 10 0x0 - 0x9fc00: type 1 [entry size: 20] 11 0x9fc00 - 0xa0000: type 2 [entry size: 20] 12 0xf0000 - 0x100000: type 2 [entry size: 20] 13 0x100000 - 0x7fe0000: type 1 [entry size: 20] 28 0x0 - 0x9fc00: type 1 [entry size: 20] 29 0x9fc00 - 0xa0000: type 2 [entry size: 20] 30 0xf0000 - 0x100000: type 2 [entry size: 20] 45 0x0 - 0x9fc00: type 1 [entry size: 20] 46 0x9fc00 - 0xa0000: type 2 [entry size: 20] 63 0x0 - 0x9fc00: type 1 [entry size: 20] [all …]
|
/qemu/qapi/ |
H A D | introspect.json | 90 # @meta-type: the entity's meta type, inherited from @base. 116 # @json-type: the JSON type used for this type on the wire. 128 # type 'value'. 181 # @element-type: the array type's element type. 222 # @type: the name of the member's type. 237 # @default's type must be null or match @type 276 # @type: the name of the member's type. 288 # @arg-type: the name of the object type that provides the command's 291 # @ret-type: the name of the command's result type. 302 'data': { 'arg-type': 'str', 'ret-type': 'str', [all …]
|
/qemu/ui/ |
H A D | clipboard.c | 68 uint32_t type; in qemu_clipboard_update() local 75 for (type = 0; type < QEMU_CLIPBOARD_TYPE__COUNT; type++) { in qemu_clipboard_update() 81 if (info->types[type].available && !info->types[type].data) { in qemu_clipboard_update() 121 uint32_t type; in qemu_clipboard_info_unref() local 132 for (type = 0; type < QEMU_CLIPBOARD_TYPE__COUNT; type++) { in qemu_clipboard_info_unref() 141 if (info->types[type].data || in qemu_clipboard_request() 142 info->types[type].requested || in qemu_clipboard_request() 150 info->owner->request(info, type); in qemu_clipboard_request() 179 g_free(info->types[type].data); in qemu_clipboard_set_data() 182 info->types[type].size = size; in qemu_clipboard_set_data() [all …]
|
/qemu/include/qemu/ |
H A D | throttle-options.h | 38 .type = QEMU_OPT_NUMBER,\ 42 .type = QEMU_OPT_NUMBER,\ 46 .type = QEMU_OPT_NUMBER,\ 50 .type = QEMU_OPT_NUMBER,\ 54 .type = QEMU_OPT_NUMBER,\ 58 .type = QEMU_OPT_NUMBER,\ 62 .type = QEMU_OPT_NUMBER,\ 66 .type = QEMU_OPT_NUMBER,\ 70 .type = QEMU_OPT_NUMBER,\ 74 .type = QEMU_OPT_NUMBER,\ [all …]
|
H A D | coroutine-tls.h | 92 #define QEMU_DECLARE_CO_TLS(type, var) \ argument 93 __attribute__((noinline)) type get_##var(void); \ 94 __attribute__((noinline)) void set_##var(type v); \ 95 __attribute__((noinline)) type *get_ptr_##var(void); 118 #define QEMU_DEFINE_CO_TLS(type, var) \ argument 119 static __thread type co_tls_##var; \ 120 type get_##var(void) { asm volatile(""); return co_tls_##var; } \ 121 void set_##var(type v) { asm volatile(""); co_tls_##var = v; } \ 122 type *get_ptr_##var(void) \ 123 { type *ptr = &co_tls_##var; asm volatile("" : "+rm" (ptr)); return ptr; } [all …]
|
H A D | timer.h | 105 int64_t qemu_clock_get_ns(QEMUClockType type); 118 return qemu_clock_get_ns(type) / SCALE_MS; in qemu_clock_get_ms() 132 return qemu_clock_get_ns(type) / SCALE_US; in qemu_clock_get_us() 149 bool qemu_clock_has_timers(QEMUClockType type); 161 bool qemu_clock_expired(QEMUClockType type); 210 void qemu_clock_notify(QEMUClockType type); 236 bool qemu_clock_run_timers(QEMUClockType type); 264 QEMUTimerList *timerlist_new(QEMUClockType type, 456 timer_init(ts, type, SCALE_NS, cb, opaque); in timer_init_ns() 473 timer_init(ts, type, SCALE_US, cb, opaque); in timer_init_us() [all …]
|
/qemu/scripts/ |
H A D | cocci-macro-file.h | 44 #define typeof_field(type, field) typeof(((type *)0)->field) argument 49 #define QLIST_HEAD(name, type) \ argument 51 struct type *lh_first; /* first element */ \ 57 #define QLIST_ENTRY(type) \ argument 59 struct type *le_next; /* next element */ \ 60 struct type **le_prev; /* address of previous next element */ \ 68 struct type *slh_first; /* first element */ \ 76 struct type *sle_next; /* next element */ \ 82 #define QSIMPLEQ_HEAD(name, type) \ argument 84 struct type *sqh_first; /* first element */ \ [all …]
|
/qemu/tests/unit/ |
H A D | test-util-filemonitor.c | 45 int type; member 244 { .type = QFILE_MONITOR_TEST_OP_EVENT, in test_file_monitor_events() 247 { .type = QFILE_MONITOR_TEST_OP_EVENT, in test_file_monitor_events() 254 { .type = QFILE_MONITOR_TEST_OP_EVENT, in test_file_monitor_events() 257 { .type = QFILE_MONITOR_TEST_OP_EVENT, in test_file_monitor_events() 264 { .type = QFILE_MONITOR_TEST_OP_EVENT, in test_file_monitor_events() 271 { .type = QFILE_MONITOR_TEST_OP_EVENT, in test_file_monitor_events() 278 { .type = QFILE_MONITOR_TEST_OP_EVENT, in test_file_monitor_events() 281 { .type = QFILE_MONITOR_TEST_OP_EVENT, in test_file_monitor_events() 284 { .type = QFILE_MONITOR_TEST_OP_EVENT, in test_file_monitor_events() [all …]
|
H A D | test-visitor-serialization.c | 97 switch(pt->type) { in visit_primitive_type() 142 switch (pl->type) { in visit_primitive_list() 284 const char *type; member 301 pt_copy->type = pt->type; in test_primitives() 307 switch (pt->type) { in test_primitives() 366 pl.type = pl_copy.type = pt->type; in test_primitive_lists() 370 switch (pl.type) { in test_primitive_lists() 749 .type = PTYPE_U8, 754 .type = PTYPE_U8, 759 .type = PTYPE_U8, [all …]
|
/qemu/tests/tcg/arm/ |
H A D | hello-arm.c | 12 #define __syscall_return(type, res) \ argument 14 return (type) (res); \ 17 #define _syscall0(type,name) \ argument 18 type name(void) { \ 24 __syscall_return(type,__res); \ 28 type name(type1 arg1) { \ 37 __syscall_return(type,__res); \ 41 type name(type1 arg1,type2 arg2) { \ 51 __syscall_return(type,__res); \ 67 __syscall_return(type,__res); \ [all …]
|
/qemu/hw/core/ |
H A D | resettable.c | 42 void resettable_reset(Object *obj, ResetType type) in resettable_reset() argument 44 trace_resettable_reset(obj, type); in resettable_reset() 45 resettable_assert_reset(obj, type); in resettable_reset() 46 resettable_release_reset(obj, type); in resettable_reset() 55 resettable_phase_enter(obj, NULL, type); in resettable_assert_reset() 58 resettable_phase_hold(obj, NULL, type); in resettable_assert_reset() 69 resettable_phase_exit(obj, NULL, type); in resettable_release_reset() 92 rc->child_foreach(obj, cb, opaque, type); in resettable_child_foreach() 150 rc->phases.enter(obj, type); in resettable_phase_enter() 180 rc->phases.hold(obj, type); in resettable_phase_hold() [all …]
|
/qemu/tcg/ |
H A D | tcg-op-vec.c | 193 TCGType type = rt->base_type; in vec_gen_op2() local 206 TCGType type = rt->base_type; in vec_gen_op3() local 231 TCGType type = rt->base_type; in tcg_gen_dup_i64_vec() local 251 TCGType type = rt->base_type; in tcg_gen_dup_i32_vec() local 262 TCGType type = rt->base_type; in tcg_gen_dup_mem_vec() local 272 TCGType type = rt->base_type; in vec_gen_ldst() local 292 TCGType type = rt->base_type; in tcg_gen_stl_vec() local 374 TCGType type = rt->base_type; in do_op2() local 452 TCGType type = rt->base_type; in do_shifti() local 514 TCGType type = rt->base_type; in tcg_gen_cmp_vec() local [all …]
|
/qemu/hw/net/rocker/ |
H A D | rocker_tlv.h | 74 return le32_to_cpu(tlv->type); in rocker_tlv_type() 132 uint32_t type = rocker_tlv_type(tlv); in rocker_tlv_parse() local 134 if (type > 0 && type <= maxtype) { in rocker_tlv_parse() 135 tb[type] = (RockerTlv *) tlv; in rocker_tlv_parse() 161 tlv->type = cpu_to_le32(type); in rocker_tlv_put_iov() 175 rocker_tlv_put_iov(buf, buf_pos, type, &iov, 1); in rocker_tlv_put() 179 int type, uint8_t value) in rocker_tlv_put_u8() argument 185 int type, uint16_t value) in rocker_tlv_put_u16() argument 191 int type, uint32_t value) in rocker_tlv_put_u32() argument 224 int type) in rocker_tlv_nest_start() argument [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | zoned.out | 5 start: 0x0, len 0x80000, cap 0x80000, wptr 0x0, zcond:1, [type: 2] 8 start: 0x0, len 0x80000, cap 0x80000, wptr 0x0, zcond:1, [type: 2] 9 start: 0x80000, len 0x80000, cap 0x80000, wptr 0x80000, zcond:1, [type: 2] 10 start: 0x100000, len 0x80000, cap 0x80000, wptr 0x100000, zcond:1, [type: 2] 11 start: 0x180000, len 0x80000, cap 0x80000, wptr 0x180000, zcond:1, [type: 2] 12 start: 0x200000, len 0x80000, cap 0x80000, wptr 0x200000, zcond:1, [type: 2] 25 start: 0x0, len 0x80000, cap 0x80000, wptr 0x0, zcond:3, [type: 2] 38 start: 0x0, len 0x80000, cap 0x80000, wptr 0x0, zcond:1, [type: 2] 56 start: 0x0, len 0x80000, cap 0x80000, wptr 0x0, zcond:1, [type: 2] 59 start: 0x0, len 0x80000, cap 0x80000, wptr 0x18, zcond:2, [type: 2] [all …]
|
/qemu/hw/smbios/ |
H A D | smbios.c | 151 .type = QEMU_OPT_STRING, 160 .type = QEMU_OPT_NUMBER, 164 .type = QEMU_OPT_STRING, 168 .type = QEMU_OPT_STRING, 172 .type = QEMU_OPT_STRING, 176 .type = QEMU_OPT_STRING, 180 .type = QEMU_OPT_BOOL, 189 .type = QEMU_OPT_NUMBER, 193 .type = QEMU_OPT_STRING, 197 .type = QEMU_OPT_STRING, [all …]
|
/qemu/tests/fp/ |
H A D | wrap.c.inc | 141 type *ap = (type *)&a; \ 155 type *ap = (type *)&a; \ 453 static type##_t name(type##_t a) \ 455 type *ap = (type *)&a; \ 463 static type##_t name(type##_t a, type##_t b) \ 465 type *ap = (type *)&a; \ 466 type *bp = (type *)&b; \ 561 static type##_t name(type##_t a, type##_t b, type##_t c) \ 609 static bool name(type##_t a, type##_t b) \ 611 type *ap = (type *)&a; \ [all …]
|
/qemu/block/ |
H A D | accounting.c | 108 assert(type < BLOCK_MAX_IOTYPE); in block_acct_start() 112 cookie->type = type; in block_acct_start() 214 assert(cookie->type < BLOCK_MAX_IOTYPE); in block_account_one_io() 216 if (cookie->type == BLOCK_ACCT_NONE) { in block_account_one_io() 225 stats->nr_ops[cookie->type]++; in block_account_one_io() 241 cookie->type = BLOCK_ACCT_NONE; in block_account_one_io() 256 assert(type < BLOCK_MAX_IOTYPE); in block_acct_invalid() 263 stats->invalid_ops[type]++; in block_acct_invalid() 274 assert(type < BLOCK_MAX_IOTYPE); in block_acct_merge_done() 277 stats->merged[type] += num_requests; in block_acct_merge_done() [all …]
|
H A D | crypto.h | 27 .type = QEMU_OPT_STRING, \ 58 .type = QEMU_OPT_STRING, \ 65 .type = QEMU_OPT_STRING, \ 72 .type = QEMU_OPT_STRING, \ 79 .type = QEMU_OPT_STRING, \ 86 .type = QEMU_OPT_STRING, \ 93 .type = QEMU_OPT_NUMBER, \ 107 .type = QEMU_OPT_BOOL, \ 114 .type = QEMU_OPT_NUMBER, \ 121 .type = QEMU_OPT_STRING, \ [all …]
|
/qemu/scripts/coccinelle/ |
H A D | use-g_new-etc.cocci | 3 type T; 8 type T; 13 type T; 18 type T; 23 type T; 29 type T; 35 type T; 41 type T; 47 type T; 53 type T; [all …]
|
/qemu/semihosting/ |
H A D | guestfd.c | 34 console_in_gf.type = GuestFDGDB; in qemu_semihosting_guestfd_init() 36 console_out_gf.type = GuestFDGDB; in qemu_semihosting_guestfd_init() 39 console_in_gf.type = GuestFDConsole; in qemu_semihosting_guestfd_init() 40 console_out_gf.type = GuestFDConsole; in qemu_semihosting_guestfd_init() 48 gf[0].type = GuestFDConsole; in qemu_semihosting_guestfd_init() 49 gf[1].type = GuestFDConsole; in qemu_semihosting_guestfd_init() 50 gf[2].type = GuestFDConsole; in qemu_semihosting_guestfd_init() 75 if (gf->type == GuestFDUnused) { in alloc_guestfd() 87 gf->type = GuestFDUnused; in do_dealloc_guestfd() 116 if (!gf || gf->type == GuestFDUnused) { in get_guestfd() [all …]
|
/qemu/target/ppc/translate/ |
H A D | fp-ops.c.inc | 1 #define _GEN_FLOAT_ACB(name, op, op1, op2, isfloat, set_fprf, type) \ 2 GEN_HANDLER(f##name, op1, op2, 0xFF, 0x00000000, type) 3 #define GEN_FLOAT_ACB(name, op2, set_fprf, type) \ 5 _GEN_FLOAT_ACB(name##s, name, 0x3B, op2, 1, set_fprf, type) 7 GEN_HANDLER(f##name, op1, op2, 0xFF, inval, type) 10 _GEN_FLOAT_AB(name##s, name, 0x3B, op2, inval, 1, set_fprf, type) 12 GEN_HANDLER(f##name, op1, op2, 0xFF, inval, type) 15 _GEN_FLOAT_AC(name##s, name, 0x3B, op2, inval, 1, set_fprf, type) 17 GEN_HANDLER(f##name, 0x3F, op2, op3, 0x001F0000, type) 19 GEN_HANDLER(f##name, op1, op2, 0xFF, 0x001F07C0, type) [all …]
|