Home
last modified time | relevance | path

Searched full:current (Results 1 – 25 of 817) sorted by relevance

12345678910>>...33

/qemu/tests/image-fuzzer/qcow2/
H A Dfuzz.py87 def validator(current, pick, choices): argument
88 """Return a value not equal to the current selected by the pick
93 if not val == current:
97 def int_validator(current, intervals): argument
98 """Return a random value from intervals not equal to the current.
100 This function is useful for selection from valid values except current one.
102 return validator(current, random_from_intervals, intervals)
105 def bit_validator(current, bit_ranges): argument
106 """Return a random bit mask not equal to the current.
108 This function is useful for selection from valid values except current one.
[all …]
/qemu/util/
H A Dqemu-progress.c29 float current; member
41 * @percent relative percent of current operation
46 printf(" (%3.2f/100%%)\r", state.current); in progress_simple_print()
71 fprintf(stderr, " (%3.2f/100%%)\n", state.current); in progress_dummy_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()
[all …]
H A Derror-report.c50 * The top of that stack is the current location.
63 * The top of that stack is the current location.
76 * LOC must be the current location, i.e. the top of the stack.
87 * Save the current location in LOC, return LOC.
97 * Change the current location to the one saved in LOC.
108 * Change the current location to "nowhere in particular".
116 * Change the current location to argument ARGV[IDX..IDX+CNT-1].
126 * Change the current location to file FNAME, line LNO.
139 * Print current location to current monitor if we have one, else to stderr.
180 * Print a message to current monitor if we have one, else to stderr.
[all …]
H A Dcoroutine-windows.c38 QEMU_DEFINE_STATIC_CO_TLS(Coroutine *, current);
42 * hoists the code to get the address of the TLS variable "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.c56 * @now: the current time in nanoseconds
82 /* Get the current window (that is, the one with the earliest
86 * @ret: a pointer to the current window
90 return &ta->windows[ta->current]; in current_window()
111 ta->current = 0; in timed_average_init()
125 * @elapsed: if non-NULL, the elapsed time (in ns) within the current
144 /* Make ta->current point to the oldest window */ in check_expirations()
146 ta->current = 0; in check_expirations()
148 ta->current = 1; in check_expirations()
151 /* Calculate the elapsed time within the current window */ in check_expirations()
[all …]
H A Dqemu-print.c2 * Print to stream or current monitor
19 * Print to current monitor if we have one, else to stdout.
32 * Print to current monitor if we have one, else to stdout.
47 * Print to @stream if non-null, else to current monitor.
59 * Print to @stream if non-null, else to current monitor.
/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/hw/misc/macio/
H A Dmac_dbdma.c97 &ch->current, sizeof(dbdma_cmd), MEMTXATTRS_UNSPECIFIED); in dbdma_cmdptr_load()
104 le16_to_cpu(ch->current.xfer_status), in dbdma_cmdptr_save()
105 le16_to_cpu(ch->current.res_count)); in dbdma_cmdptr_save()
107 &ch->current, sizeof(dbdma_cmd), MEMTXATTRS_UNSPECIFIED); in dbdma_cmdptr_save()
122 dbdma_cmd *current = &ch->current; in conditional_interrupt() local
130 intr = le16_to_cpu(current->command) & INTR_MASK; in conditional_interrupt()
166 dbdma_cmd *current = &ch->current; in conditional_wait() local
173 wait = le16_to_cpu(current->command) & WAIT_MASK; in conditional_wait()
219 dbdma_cmd *current = &ch->current; in branch() local
221 ch->regs[DBDMA_CMDPTR_LO] = le32_to_cpu(current->cmd_dep); in branch()
[all …]
/qemu/system/
H A Ddirtylimit.c256 uint64_t current) in dirtylimit_done() argument
260 min = MIN(quota, current); in dirtylimit_done()
261 max = MAX(quota, current); in dirtylimit_done()
268 uint64_t current) in dirtylimit_need_linear_adjustment() argument
272 min = MIN(quota, current); in dirtylimit_need_linear_adjustment()
273 max = MAX(quota, current); in dirtylimit_need_linear_adjustment()
280 uint64_t current) in dirtylimit_set_throttle() argument
286 if (current == 0) { in dirtylimit_set_throttle()
291 ring_full_time_us = dirtylimit_dirty_ring_full_time(current); in dirtylimit_set_throttle()
293 if (dirtylimit_need_linear_adjustment(quota, current)) { in dirtylimit_set_throttle()
[all …]
/qemu/hw/i386/
H A Dtdvf-hob.c22 void *current; member
28 return hob->hob_addr + (hob->current - hob->ptr); in tdvf_current_guest_addr()
33 hob->current = QEMU_ALIGN_PTR_UP(hob->current, align); in tdvf_align()
40 if (hob->current + size > hob->end) { in tdvf_get_area()
45 ret = hob->current; in tdvf_get_area()
46 hob->current += size; in tdvf_get_area()
97 .current = td_hob->mem_ptr, in tdvf_hob_create()
/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/include/qemu/
H A Dprogress_meter.h34 * Current progress. The unit is arbitrary as long as the ratio between
35 * current and total represents the estimated percentage
38 uint64_t current; member
40 /** Estimated current value at the completion of the process */
49 /* Get a snapshot of internal current and total values */
50 void progress_get_snapshot(ProgressMeter *pm, uint64_t *current,
/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()
/qemu/target/sh4/
H A Dop_helper.c125 memory_content *current = env->movcal_backup; in helper_discard_movcal_backup() local
127 while(current) in helper_discard_movcal_backup()
129 memory_content *next = current->next; in helper_discard_movcal_backup()
130 g_free(current); in helper_discard_movcal_backup()
131 env->movcal_backup = current = next; in helper_discard_movcal_backup()
132 if (current == NULL) in helper_discard_movcal_backup()
139 memory_content **current = &(env->movcal_backup); in helper_ocbi() local
140 while (*current) in helper_ocbi()
142 uint32_t a = (*current)->address; in helper_ocbi()
145 memory_content *next = (*current)->next; in helper_ocbi()
[all …]
/qemu/hw/scsi/
H A Dlsi53c895a.c242 lsi_request *current; member
419 assert(!s->current); in lsi_soft_reset()
528 if (!s->current && !level && lsi_irq_on_rsl(s) && !(s->scntl1 & LSI_SCNTL1_CON)) { in lsi_update_irq()
630 if (!s->current || !s->current->dma_len) { in lsi_do_dma()
636 dev = s->current->req->dev; in lsi_do_dma()
640 if (count > s->current->dma_len) in lsi_do_dma()
641 count = s->current->dma_len; in lsi_do_dma()
656 if (s->current->dma_buf == NULL) { in lsi_do_dma()
657 s->current->dma_buf = scsi_req_get_buf(s->current->req); in lsi_do_dma()
661 lsi_mem_read(s, addr, s->current->dma_buf, count); in lsi_do_dma()
[all …]
/qemu/tests/functional/
H A Dtest_arm_bpim2u.py20 …'linux-image-current-sunxi_24.2.1_armhf__6.6.16-Seb3e-D6b4a-P2359-Ce96bHfe66-HK01ba-V014b-B067e-R4…
42 self.ASSET_DEB, member='boot/vmlinuz-6.6.16-current-sunxi')
43 dtb_path = ('usr/lib/linux-image-6.6.16-current-sunxi/'
63 self.ASSET_DEB, member='boot/vmlinuz-6.6.16-current-sunxi')
64 dtb_path = ('usr/lib/linux-image-6.6.16-current-sunxi/'
99 self.ASSET_DEB, member='boot/vmlinuz-6.6.16-current-sunxi')
100 dtb_path = ('usr/lib/linux-image-6.6.16-current-sunxi/'
H A Dtest_arm_cubieboard.py17 …'linux-image-current-sunxi_24.2.1_armhf__6.6.16-Seb3e-D6b4a-P2359-Ce96bHfe66-HK01ba-V014b-B067e-R4…
40 self.ASSET_DEB, member='boot/vmlinuz-6.6.16-current-sunxi')
41 dtb_path = ('usr/lib/linux-image-6.6.16-current-sunxi/' +
71 self.ASSET_DEB, member='boot/vmlinuz-6.6.16-current-sunxi')
72 dtb_path = ('usr/lib/linux-image-6.6.16-current-sunxi/' +
H A Dtest_arm_orangepi.py21 …'linux-image-current-sunxi_24.2.1_armhf__6.6.16-Seb3e-D6b4a-P2359-Ce96bHfe66-HK01ba-V014b-B067e-R4…
53 self.ASSET_DEB, member='boot/vmlinuz-6.6.16-current-sunxi')
54 dtb_path = ('usr/lib/linux-image-6.6.16-current-sunxi/' +
74 self.ASSET_DEB, member='boot/vmlinuz-6.6.16-current-sunxi')
75 dtb_path = ('usr/lib/linux-image-6.6.16-current-sunxi/' +
108 self.ASSET_DEB, member='boot/vmlinuz-6.6.16-current-sunxi')
109 dtb_path = ('usr/lib/linux-image-6.6.16-current-sunxi/' +
/qemu/hw/misc/
H A Dpci-testdev.c90 int current; member
139 if (d->current == -1) { in pci_testdev_reset()
142 pci_testdev_stop(&d->tests[d->current]); in pci_testdev_reset()
143 d->current = -1; in pci_testdev_reset()
170 d->current = t; in pci_testdev_write()
173 if (d->current < 0) { in pci_testdev_write()
176 test = &d->tests[d->current]; in pci_testdev_write()
195 if (d->current < 0) { in pci_testdev_read()
198 test = &d->tests[d->current]; in pci_testdev_read()
277 d->current = -1; in pci_testdev_realize()
/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/include/system/
H A Drtc.h29 * qemu_get_timedate: Get the current RTC time
34 * This function fills in @tm with the current RTC time, as adjusted
36 * will be one hour further ahead than the current RTC time).
53 * a timestamp one hour further ahead than the current RTC time
/qemu/
H A Dhmp-commands-info.hx106 " vcpu: specific vCPU to query; show the current CPU's registers if"
121 …elp = "show local apic state (apic-id: local apic to read, default is which of current CPU)",
380 .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.
[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()
/qemu/include/hw/usb/
H A Dehci-regs.h61 #define PORTSC_WKOC_E (1 << 22) // Wake on Over Current Enable
75 #define PORTSC_OCC (1 << 5) // Over Current Change
76 #define PORTSC_OCA (1 << 4) // Over Current Active
80 #define PORTSC_CONNECT (1 << 0) // Current Connect Status
/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()

12345678910>>...33