Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 159) sorted by relevance

1234567

/qemu/tests/image-fuzzer/qcow2/
H A Dfuzz.py152 def magic(current): argument
158 return current
161 def version(current): argument
191 def size(current): argument
206 def l1_size(current): argument
283 def bf_name(current): argument
291 def ext_magic(current): argument
333 def l1_entry(current): argument
339 random.choice([selector(current, constraints), current])
344 def l2_entry(current): argument
[all …]
/qemu/util/
H A Dqemu-progress.c29 float current; member
46 printf(" (%3.2f/100%%)\r", state.current); in progress_simple_print()
144 float current; in qemu_progress_print() local
147 current = delta; in qemu_progress_print()
149 current = state.current + delta / 100 * max; in qemu_progress_print()
151 if (current > 100) { in qemu_progress_print()
152 current = 100; in qemu_progress_print()
154 state.current = current; in qemu_progress_print()
156 if (current > (state.last_print + state.min_skip) || in qemu_progress_print()
158 current == 100 || current == 0) { in qemu_progress_print()
[all …]
H A Dcoroutine-windows.c38 QEMU_DEFINE_STATIC_CO_TLS(Coroutine *, current);
92 Coroutine *current = get_current(); in qemu_coroutine_self() local
94 if (!current) { in qemu_coroutine_self()
97 current = &leader->base; in qemu_coroutine_self()
98 set_current(current); in qemu_coroutine_self()
101 return current; in qemu_coroutine_self()
106 Coroutine *current = get_current(); in qemu_in_coroutine() local
108 return current && current->caller; in qemu_in_coroutine()
H A Dtimed-average.c88 return &ta->windows[ta->current]; in current_window()
109 ta->current = 0; in timed_average_init()
144 ta->current = 0; in check_expirations()
146 ta->current = 1; in check_expirations()
151 int64_t remaining = ta->windows[ta->current].expiration - now; in check_expirations()
H A Dcoroutine-sigaltstack.c48 Coroutine *current; member
67 s->current = &s->leader.base; in coroutine_get_thread_state()
281 s->current = to_; in qemu_coroutine_switch()
294 return s->current; in qemu_coroutine_self()
301 return s && s->current->caller; in qemu_in_coroutine()
/qemu/hw/misc/macio/
H A Dmac_dbdma.c122 dbdma_cmd *current = &ch->current; in conditional_interrupt() local
166 dbdma_cmd *current = &ch->current; in conditional_wait() local
219 dbdma_cmd *current = &ch->current; in branch() local
228 dbdma_cmd *current = &ch->current; in conditional_branch() local
282 dbdma_cmd *current = &ch->current; in dbdma_end() local
362 dbdma_cmd *current = &ch->current; in load_word() local
394 dbdma_cmd *current = &ch->current; in store_word() local
426 dbdma_cmd *current = &ch->current; in nop() local
450 dbdma_cmd *current = &ch->current; in channel_run() local
456 dump_dbdma_cmd(ch, current); in channel_run()
[all …]
/qemu/tests/qemu-iotests/
H A D219.out6 {"return": [{"current-progress": "FILTERED", "id": "job0", "status": "running", "total-progress": "…
14 {"return": [{"current-progress": 65536, "id": "job0", "status": "paused", "total-progress": 4194304…
17 {"return": [{"current-progress": 131072, "id": "job0", "status": "running", "total-progress": 41943…
21 {"return": [{"current-progress": 131072, "id": "job0", "status": "paused", "total-progress": 419430…
24 {"return": [{"current-progress": 196608, "id": "job0", "status": "running", "total-progress": 41943…
28 {"return": [{"current-progress": 196608, "id": "job0", "status": "paused", "total-progress": 419430…
31 {"return": [{"current-progress": 262144, "id": "job0", "status": "running", "total-progress": 41943…
35 {"return": [{"current-progress": 262144, "id": "job0", "status": "paused", "total-progress": 419430…
38 {"return": [{"current-progress": 327680, "id": "job0", "status": "running", "total-progress": 41943…
49 {"return": [{"current-progress": 4194304, "id": "job0", "status": "ready", "total-progress": 419430…
[all …]
/qemu/tests/qtest/libqos/
H A Dqos_external.c94 int current = 0; in allocate_objects() local
102 node = qos_graph_get_node(path[current]); in allocate_objects()
120 current++; in allocate_objects()
121 edge = qos_graph_get_edge(path[current - 1], path[current]); in allocate_objects()
122 node = qos_graph_get_node(path[current]); in allocate_objects()
131 obj = parent->get_driver(parent, path[current]); in allocate_objects()
141 obj = parent->get_device(parent, path[current]); in allocate_objects()
/qemu/system/
H A Ddirtylimit.c261 min = MIN(quota, current); in dirtylimit_done()
262 max = MAX(quota, current); in dirtylimit_done()
273 min = MIN(quota, current); in dirtylimit_need_linear_adjustment()
274 max = MAX(quota, current); in dirtylimit_need_linear_adjustment()
287 if (current == 0) { in dirtylimit_set_throttle()
295 if (quota < current) { in dirtylimit_set_throttle()
296 sleep_pct = (current - quota) * 100 / current; in dirtylimit_set_throttle()
311 if (quota < current) { in dirtylimit_set_throttle()
332 uint64_t current = 0; in dirtylimit_adjust_throttle() local
336 current = vcpu_dirty_rate_get(cpu_index); in dirtylimit_adjust_throttle()
[all …]
/qemu/block/
H A Dprogress_meter.c41 void progress_get_snapshot(ProgressMeter *pm, uint64_t *current, in progress_get_snapshot() argument
46 *current = pm->current; in progress_get_snapshot()
53 pm->current += done; in progress_work_done()
59 pm->total = pm->current + remaining; in progress_set_remaining()
H A Dvhdx-log.c690 VHDXLogSequence current = { 0 }; in vhdx_log_search() local
701 current.valid = true; in vhdx_log_search()
702 current.log = curr_log; in vhdx_log_search()
703 current.log.read = tail; in vhdx_log_search()
704 current.log.write = curr_log.read; in vhdx_log_search()
705 current.count = 1; in vhdx_log_search()
706 current.hdr = hdr; in vhdx_log_search()
718 current.log.write = curr_log.read; in vhdx_log_search()
719 current.count++; in vhdx_log_search()
725 if (current.valid) { in vhdx_log_search()
[all …]
/qemu/hw/scsi/
H A Dlsi53c895a.c242 lsi_request *current; member
419 assert(!s->current); in lsi_soft_reset()
630 if (!s->current || !s->current->dma_len) { in lsi_do_dma()
657 s->current->dma_buf = scsi_req_get_buf(s->current->req); in lsi_do_dma()
685 s->current = NULL; in lsi_queue_command()
709 s->current = p; in lsi_reselect()
748 if (p == s->current) { in lsi_request_free()
877 s->current->req = scsi_req_new(dev, s->current->tag, s->current_lun, buf, in lsi_do_command()
987 if (s->current) { in lsi_do_msgout()
1134 if (s->current) { in lsi_wait_reselect()
[all …]
/qemu/hw/misc/
H A Dpci-testdev.c90 int current; member
138 if (d->current == -1) { in pci_testdev_reset()
141 pci_testdev_stop(&d->tests[d->current]); in pci_testdev_reset()
142 d->current = -1; in pci_testdev_reset()
169 d->current = t; in pci_testdev_write()
172 if (d->current < 0) { in pci_testdev_write()
175 test = &d->tests[d->current]; in pci_testdev_write()
194 if (d->current < 0) { in pci_testdev_read()
197 test = &d->tests[d->current]; in pci_testdev_read()
270 d->current = -1; in pci_testdev_realize()
/qemu/target/sh4/
H A Dop_helper.c126 memory_content *current = env->movcal_backup; in helper_discard_movcal_backup() local
128 while(current) in helper_discard_movcal_backup()
130 memory_content *next = current->next; in helper_discard_movcal_backup()
131 g_free(current); in helper_discard_movcal_backup()
132 env->movcal_backup = current = next; in helper_discard_movcal_backup()
133 if (current == NULL) in helper_discard_movcal_backup()
141 while (*current) in helper_ocbi()
143 uint32_t a = (*current)->address; in helper_ocbi()
151 env->movcal_backup_tail = current; in helper_ocbi()
154 g_free(*current); in helper_ocbi()
[all …]
/qemu/hw/pci-host/
H A Dpam.c60 mem->current = 0; in init_pam()
67 memory_region_set_enabled(&pam->alias[pam->current], false); in pam_update()
68 pam->current = (val >> ((!(idx & 1)) * 4)) & PAM_ATTR_MASK; in pam_update()
69 memory_region_set_enabled(&pam->alias[pam->current], true); in pam_update()
H A Ddesignware.c275 MemoryRegion *current, *other; in designware_pcie_update_viewport() local
278 current = &viewport->mem; in designware_pcie_update_viewport()
280 memory_region_set_alias_offset(current, target); in designware_pcie_update_viewport()
282 current = &viewport->cfg; in designware_pcie_update_viewport()
293 memory_region_set_size(current, size); in designware_pcie_update_viewport()
294 memory_region_set_address(current, base); in designware_pcie_update_viewport()
296 memory_region_set_enabled(current, enabled); in designware_pcie_update_viewport()
/qemu/hw/char/
H A Dgrlib_apbuart.c96 int current; member
101 return uart->current < uart->len; in uart_data_to_read()
113 ret = uart->buffer[uart->current++]; in uart_pop()
115 if (uart->current >= uart->len) { in uart_pop()
118 uart->current = 0; in uart_pop()
277 uart->current = 0; in grlib_apbuart_reset()
/qemu/qapi/
H A Dreplay.json34 # @mode: current mode.
39 # @icount: current number of executed instructions.
49 # Retrieve the record/replay information. It includes current
72 # i.e. at instruction counts greater than the current one. The
73 # current instruction count can be observed with @query-replay.
/qemu/hw/block/
H A Donenand.c62 uint8_t *current; member
146 if (s->current == s->otp) { in onenand_pre_save()
148 } else if (s->current == s->image) { in onenand_pre_save()
164 s->current = s->otp; in onenand_post_load()
167 s->current = s->image; in onenand_post_load()
225 s->current = s->image; in onenand_reset()
258 memcpy(dest, s->current + (sec << 9), secn << 9); in onenand_load_main()
284 dp = (uint8_t *)s->current + offset; in onenand_prog_main()
390 memcpy(s->current + (sec << 9), blankbuf, 512); in onenand_erase()
391 memcpy(s->current + (s->secs_cur << 9) + (sec << 4), in onenand_erase()
[all …]
/qemu/include/qemu/
H A Dprogress_meter.h38 uint64_t current; member
50 void progress_get_snapshot(ProgressMeter *pm, uint64_t *current,
/qemu/target/hppa/
H A Dsys_helper.c33 uint64_t current = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in HELPER() local
41 timeout = deposit64(current, 0, 34, (uint64_t)val << 2); in HELPER()
44 if (timeout < current + 1000) { in HELPER()
/qemu/
H A Dhmp-commands-info.hx380 .help = "show the current VM status (running|paused)",
387 Show the current VM status (running|paused).
437 .help = "show the current VM name",
444 Show the current VM name.
451 .help = "show the current VM UUID",
458 Show the current VM UUID.
493 .help = "show current migration capabilities",
499 Show current migration capabilities.
506 .help = "show current migration parameters",
512 Show current migration parameters.
[all …]
/qemu/tests/tcg/tricore/c/
H A Dcrt0-tc2x.S177 mov.aa %a4,%a3 #; %a4 = current CSA
186 mov.d %d1,%a4 #; %d1 = current CSA address
190 mov.aa %a4,%a3 #; %a4 = current CSA address
194 mov.d %d1,%a4 #; %d1 = current CSA address
217 ld.a %a15,[%a13+]4 # %a15 = current block base
218 ld.w %d3,[%a13+]4 # %d3 = current block length
/qemu/target/sparc/
H A Dtrace-events21 sparc64_cpu_check_irqs_reset_irq(int intno) "Reset CPU IRQ (current interrupt 0x%x)"
22 …set_irq(uint32_t tl, uint32_t tt, int intno) "Not setting CPU IRQ: TL=%d current 0x%x >= pending 0…
24 …t, int intno) "Interrupts disabled, pil=0x%08x pil_in=0x%08x softint=0x%08x current interrupt 0x%x"
/qemu/replay/
H A Dreplay.c182 uint64_t current = replay_get_current_icount(); in replay_get_instructions() local
183 assert(replay_break_icount >= current); in replay_get_instructions()
184 if (current + res > replay_break_icount) { in replay_get_instructions()
185 res = replay_break_icount - current; in replay_get_instructions()

1234567