Home
last modified time | relevance | path

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

/xen/tools/tests/vhpet/
A Dmain.c388 delta = (uint32_t)delta; in hpet_set_mode()
404 (unsigned long) delta, (unsigned long) delta, timer); in hpet_set_mode()
451 (unsigned long) delta, (unsigned long) delta, timer); in hpet_check_stopped()
459 __func__, __LINE__, timer, delta, delta, in hpet_check_stopped()
484 (unsigned long) delta, (unsigned long) delta, timer); in hpet_check_stopped()
492 __func__, __LINE__, timer, delta, delta, in hpet_check_stopped()
514 __func__, __LINE__, timer, delta, delta, in hpet_check_stopped()
542 __func__, __LINE__, timer, delta, delta, in hpet_check_stopped()
546 delta = 500; in hpet_check_stopped()
559 (unsigned long) delta, (unsigned long) delta, timer); in hpet_check_stopped()
[all …]
A Demul.h151 struct vcpu *v, struct periodic_time *pt, uint64_t delta,
/xen/xen/common/
A Dlivepatch_elf.c51 Elf_Off delta; in elf_resolve_sections() local
67 ASSERT(delta <= elf->len); in elf_resolve_sections()
73 sec[i].sec = data + delta; in elf_resolve_sections()
75 delta = sec[i].sec->sh_offset; in elf_resolve_sections()
80 if ( delta < sizeof(Elf_Ehdr) || in elf_resolve_sections()
82 (delta > elf->len || (delta + sec[i].sec->sh_size > elf->len))) ) in elf_resolve_sections()
107 sec[i].data = data + delta; in elf_resolve_sections()
174 Elf_Off offset, delta; in elf_resolve_section_names() local
201 delta = elf->sec[i].sec->sh_name; in elf_resolve_section_names()
223 Elf_Word delta; in elf_get_sym() local
[all …]
/xen/xen/arch/arm/arm32/
A Dlivepatch.c34 s32 delta; in arch_livepatch_apply() local
43 delta = (s32)func->new_addr - (s32)(func->old_addr + 8); in arch_livepatch_apply()
46 ASSERT(delta >= -(s32)ARCH_LIVEPATCH_RANGE || in arch_livepatch_apply()
47 delta < (s32)ARCH_LIVEPATCH_RANGE); in arch_livepatch_apply()
50 delta = delta >> 2; in arch_livepatch_apply()
52 delta &= 0x00FFFFFF; in arch_livepatch_apply()
54 insn = 0xea000000 | delta; in arch_livepatch_apply()
/xen/xen/arch/x86/
A Dhpet.c106 cmp = cnt + delta; in hpet_next_event()
112 return ((cmp + 2 - cnt) > delta) ? -ETIME : 0; in hpet_next_event()
119 int64_t delta; in reprogram_hpet_evt_channel() local
131 delta = expire - now; in reprogram_hpet_evt_channel()
132 if ( (delta <= 0) && !force ) in reprogram_hpet_evt_channel()
144 delta = min_t(int64_t, delta, MAX_DELTA_NS); in reprogram_hpet_evt_channel()
145 delta = max_t(int64_t, delta, MIN_DELTA_NS); in reprogram_hpet_evt_channel()
146 delta = ns2ticks(delta, ch->shift, ch->mult); in reprogram_hpet_evt_channel()
148 ret = hpet_next_event(delta, ch->idx); in reprogram_hpet_evt_channel()
151 delta += delta; in reprogram_hpet_evt_channel()
[all …]
A Dextable.c44 long delta = b - a; in swap_ex() local
47 l->addr = r->addr + delta; in swap_ex()
48 l->cont = r->cont + delta; in swap_ex()
49 r->addr = tmp.addr - delta; in swap_ex()
50 r->cont = tmp.cont - delta; in swap_ex()
A Dtime.c130 u64 scale_delta(u64 delta, const struct time_scale *scale) in scale_delta() argument
135 delta >>= -scale->shift; in scale_delta()
137 delta <<= scale->shift; in scale_delta()
141 : "=a" (product), "=d" (delta) in scale_delta()
142 : "rm" (delta), "0" ((u64)scale->mul_frac) ); in scale_delta()
597 uint64_t delta = tsc - info->tsc_timestamp; in read_cycle() local
602 uint64_t offset = scale_delta(delta, &ts); in read_cycle()
1212 u64 tsc, delta; in get_s_time_fixed() local
1218 delta = tsc - t->stamp.local_tsc; in get_s_time_fixed()
1219 return t->stamp.local_stime + scale_delta(delta, &t->tsc_scale); in get_s_time_fixed()
/xen/xen/common/sched/
A Dcredit2.c1308 delta = 0; in update_runq_load()
1382 delta = 0; in update_svc_load()
1853 s_time_t delta; in burn_credits() local
1888 int delta; in burn_credits() member
1894 d.delta = delta; in burn_credits()
2589 delta = l_load - o_load; in consider()
2590 if ( delta < 0 ) in consider()
2591 delta = -delta; in consider()
2717 s_time_t delta; in balance_load() local
2728 if ( delta < 0 ) in balance_load()
[all …]
A Drt.c931 s_time_t delta; in burn_budget() local
938 delta = now - svc->last_start; in burn_budget()
943 if ( delta < 0 ) in burn_budget()
946 __func__, delta); in burn_budget()
951 svc->cur_budget -= delta; in burn_budget()
973 int delta; in burn_budget() member
980 d.delta = delta; in burn_budget()
A Dcore.c265 s_time_t delta; in vcpu_runstate_change() local
282 delta = new_entry_time - v->runstate.state_entry_time; in vcpu_runstate_change()
283 if ( delta > 0 ) in vcpu_runstate_change()
285 v->runstate.time[v->runstate.state] += delta; in vcpu_runstate_change()
310 s_time_t delta; in vcpu_runstate_get() local
325 delta = NOW() - runstate->state_entry_time; in vcpu_runstate_get()
326 if ( delta > 0 ) in vcpu_runstate_get()
327 runstate->time[runstate->state] += delta; in vcpu_runstate_get()
A Dcredit.c330 s_time_t delta; in burn_credits() local
337 if ( (delta = now - svc->start_time) <= 0 ) in burn_credits()
340 val = delta * CSCHED_CREDITS_PER_MSEC + svc->residual; in burn_credits()
/xen/xen/common/libfdt/
A Dfdt_rw.c112 int delta = (newn - oldn) * sizeof(*p); in _fdt_splice_mem_rsv() local
117 fdt_set_off_dt_struct(fdt, fdt_off_dt_struct(fdt) + delta); in _fdt_splice_mem_rsv()
118 fdt_set_off_dt_strings(fdt, fdt_off_dt_strings(fdt) + delta); in _fdt_splice_mem_rsv()
125 int delta = newlen - oldlen; in _fdt_splice_struct() local
131 fdt_set_size_dt_struct(fdt, fdt_size_dt_struct(fdt) + delta); in _fdt_splice_struct()
132 fdt_set_off_dt_strings(fdt, fdt_off_dt_strings(fdt) + delta); in _fdt_splice_struct()
/xen/xen/arch/x86/hvm/
A Dvlapic.c720 uint64_t period, delta = 0; in vlapic_update_timer() local
731 delta = period; in vlapic_update_timer()
741 delta = period - time_passed; in vlapic_update_timer()
744 if ( delta && (is_oneshot || is_periodic) ) in vlapic_update_timer()
750 delta = delta * vlapic->hw.timer_divisor / old_divisor; in vlapic_update_timer()
753 TRACE_2_LONG_3D(TRC_HVM_EMUL_LAPIC_START_TIMER, TRC_PAR_LONG(delta), in vlapic_update_timer()
757 create_periodic_time(current, &vlapic->pt, delta, in vlapic_update_timer()
764 vlapic->timer_last_update -= period - delta; in vlapic_update_timer()
1202 uint64_t delta = gtsc_to_gtime(v->domain, value - guest_tsc); in vlapic_tdt_msr_set() local
1203 delta = max_t(s64, delta, 0); in vlapic_tdt_msr_set()
[all …]
A Drtc.c127 int period_code, period, delta; in rtc_timer_update() local
153 delta = 0; in rtc_timer_update()
155 delta = period - ((now - s->start_time) % period); in rtc_timer_update()
158 TRACE_2D(TRC_HVM_EMUL_RTC_START_TIMER, delta, period); in rtc_timer_update()
159 create_periodic_time(v, &s->pt, delta, period, in rtc_timer_update()
A Dvpt.c487 struct vcpu *v, struct periodic_time *pt, uint64_t delta, in create_periodic_time() argument
523 pt->scheduled = NOW() + delta; in create_periodic_time()
539 pt->scheduled += delta >> 1; in create_periodic_time()
/xen/xen/arch/x86/efi/
A Dmkreloc.c218 int_fast64_t delta; in diff_sections() local
235 delta = width == 4 ? val2.u32 - val1.u32 : val2.u64 - val1.u64; in diff_sections()
236 if ( delta != diff ) in diff_sections()
241 sec->name, i - disp, delta, diff); in diff_sections()
A Defi-boot.h49 static void __init efi_arch_relocate_image(unsigned long delta) in efi_arch_relocate_image() argument
81 if ( delta ) in efi_arch_relocate_image()
83 *(u32 *)addr += delta; in efi_arch_relocate_image()
91 if ( delta ) in efi_arch_relocate_image()
92 *(u64 *)addr += delta; in efi_arch_relocate_image()
/xen/xen/drivers/cpufreq/
A Dutility.c47 int64_t delta; in cpufreq_residency_update() local
53 delta = (now - pxpt->prev_state_wall) - in cpufreq_residency_update()
56 if ( likely(delta >= 0) ) in cpufreq_residency_update()
57 pxpt->u.pt[state].residency += delta; in cpufreq_residency_update()
/xen/xen/include/asm-x86/
A Dtime.h74 u64 scale_delta(u64 delta, const struct time_scale *scale);
/xen/tools/libxl/
A Dlibxl_x86.c154 uint64_t delta; in e820_sanitize() local
157 delta = ram_end - src[i].addr; in e820_sanitize()
159 if (src[i].size < delta) in e820_sanitize()
162 src[i].size -= delta; in e820_sanitize()
/xen/tools/xentrace/
A Dformats54 …8d) csched2:credit burn [ dom:vcpu = 0x%(1)08x, credit = %(2)d, budget = %(3)d, delta = %(4)d ]
67 …%(tsc)d (+%(reltsc)8d) csched2:load_check [ lrq_id[16]:orq_id[16] = 0x%(1)08x, delta = %(2)d ]
77 …ltsc)8d) rtds:burn_budget [ dom:vcpu = 0x%(1)08x, cur_budget = 0x%(3)08x%(2)08x, delta = %(4)d ]
209 0x00084001 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) hpet create [ tn = %(1)d, irq = %(2)d, delta = 0x%(…
210 0x00084002 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) pit create [ delta = 0x%(1)016x, period = 0x%(2)016…
211 0x00084003 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) rtc create [ delta = 0x%(1)016x , period = 0x%(2)01…
212 0x00084004 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) vlapic create [ delta = 0x%(2)08x%(1)08x , period =…
A Dxenalyze.c7684 int credit, budget, delta; in sched_process() member
7691 printf("delta = %d\n", r->delta); in sched_process()
7935 int delta; in sched_process() member
7940 r->vcpuid, r->cur_bg, r->delta); in sched_process()
/xen/xen/include/asm-x86/hvm/
A Dvpt.h174 struct vcpu *v, struct periodic_time *pt, uint64_t delta,
/xen/xen/arch/arm/efi/
A Defi-boot.h347 static void __init efi_arch_relocate_image(unsigned long delta) in efi_arch_relocate_image() argument
/xen/tools/firmware/rombios/
A Drombios.c1590 long ticks_to_wait, delta;
1611 delta = t - prev_ticks; /* The temp var is required or bcc screws up. */
1612 ticks_to_wait -= delta;

Completed in 82 milliseconds