Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 8 of 8) sorted by relevance

/hypervisor/boot/
A Dreloc.c70 uint64_t delta, entry_size = 0; in relocate() local
76 delta = get_hv_image_delta(); in relocate()
77 if (delta != 0U) { in relocate()
83 rela_start = (uint8_t *)(dyn->d_ptr + delta); in relocate()
101 trampoline_end = (uint64_t)(&ld_trampoline_end) - delta; in relocate()
102 primary_entry_end = (uint64_t)(&ld_entry_end) - delta; in relocate()
108 addr = (uint64_t *)(delta + entry->r_offset); in relocate()
122 *addr += delta; in relocate()
/hypervisor/common/
A Ddelay.c12 uint64_t end, delta; in udelay() local
15 delta = us_to_ticks(us); in udelay()
16 end = cpu_ticks() + delta; in udelay()
A Dtimer.c23 bool timer_expired(const struct hv_timer *timer, uint64_t now, uint64_t *delta) in timer_expired() argument
33 if (delta != NULL) { in timer_expired()
34 *delta = delt; in timer_expired()
/hypervisor/arch/x86/
A Dtsc.c144 uint64_t tsc_hz, delta; in pit_hpet_calibrate_tsc() local
153 delta = (tsc_hz * 100UL) / tsc_ref_hz; in pit_hpet_calibrate_tsc()
154 if ((delta < 95UL) || (delta > 105UL)) { in pit_hpet_calibrate_tsc()
/hypervisor/include/common/
A Dtimer.h76 bool timer_expired(const struct hv_timer *timer, uint64_t now, uint64_t *delta);
/hypervisor/debug/
A Dshell.c307 uint32_t delta = p_shell->input_line_len - p_shell->cursor_offset - 1; in handle_delete_key() local
316 set_cursor_pos(delta); in handle_delete_key()
319 p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset + 1, delta); in handle_delete_key()
446 uint32_t delta = p_shell->input_line_len - p_shell->cursor_offset; in handle_backspace_key() local
452 set_cursor_pos(delta); in handle_backspace_key()
454 p_shell->buffered_line[p_shell->input_line_active] + p_shell->cursor_offset, delta); in handle_backspace_key()
468 uint32_t delta = p_shell->input_line_len - p_shell->cursor_offset; in handle_input_char() local
471 if (delta > 0) { in handle_input_char()
473 p_shell->buffered_line[p_shell->input_line_active] + p_shell->input_line_len - 1, delta); in handle_input_char()
480 set_cursor_pos(delta); in handle_input_char()
/hypervisor/lib/
A Dsprintf.c90 char delta = *s - '0'; in get_param() local
91 *x = ((*x) * 10U) + (uint32_t)delta; in get_param()
/hypervisor/arch/x86/guest/
A Dvlapic.c287 uint64_t delta = (uint64_t)tmicr << divisor_shift; in set_expiration() local
290 update_timer(timer, cpu_ticks() + delta, in set_expiration()
291 vlapic_lvtt_period(vlapic) ? delta : 0UL); in set_expiration()

Completed in 23 milliseconds