/openbmc/linux/kernel/sched/ |
H A D | pelt.c | 180 ___update_load_sum(u64 now, struct sched_avg *sa, in ___update_load_sum() 295 int __update_load_avg_blocked_se(u64 now, struct sched_entity *se) in __update_load_avg_blocked_se() 306 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se) in __update_load_avg_se() 320 int __update_load_avg_cfs_rq(u64 now, struct cfs_rq *cfs_rq) in __update_load_avg_cfs_rq() 346 int update_rt_rq_load_avg(u64 now, struct rq *rq, int running) in update_rt_rq_load_avg() 372 int update_dl_rq_load_avg(u64 now, struct rq *rq, int running) in update_dl_rq_load_avg() 403 int update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity) in update_thermal_load_avg()
|
H A D | pelt.h | 19 update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity) in update_thermal_load_avg() 187 update_cfs_rq_load_avg(u64 now, struct cfs_rq *cfs_rq) in update_cfs_rq_load_avg() 193 update_rt_rq_load_avg(u64 now, struct rq *rq, int running) in update_rt_rq_load_avg() 199 update_dl_rq_load_avg(u64 now, struct rq *rq, int running) in update_dl_rq_load_avg() 205 update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity) in update_thermal_load_avg()
|
H A D | psi.c | 252 u64 now, state_start; in get_recent_times() local 392 static void window_reset(struct psi_window *win, u64 now, u64 value, in window_reset() 411 static u64 window_update(struct psi_window *win, u64 now, u64 value) in window_update() 437 static u64 update_triggers(struct psi_group *group, u64 now, bool *update_total, in update_triggers() 510 static u64 update_averages(struct psi_group *group, u64 now) in update_averages() 569 u64 now; in psi_avgs_work() local 599 static void init_rtpoll_triggers(struct psi_group *group, u64 now) in init_rtpoll_triggers() 644 u64 now; in psi_rtpoll_work() local 749 static void record_times(struct psi_group_cpu *groupc, u64 now) in record_times() 786 u64 now; in psi_group_change() local [all …]
|
/openbmc/linux/tools/testing/selftests/timens/ |
H A D | vfork_exec.c | 24 struct timespec *now; member 30 struct timespec *now = args->now, tst; in tcheck() local 44 static int check_in_thread(char *tst_name, struct timespec *now) in check_in_thread() 60 static int check(char *tst_name, struct timespec *now) in check() 79 struct timespec now; in main() local
|
/openbmc/qemu/hw/misc/ |
H A D | mps2-fpgaio.c | 42 static uint32_t counter_from_tickoff(int64_t now, int64_t tick_offset, int frq) in counter_from_tickoff() 47 static int64_t tickoff_from_counter(int64_t now, uint32_t count, int frq) in tickoff_from_counter() 59 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in resync_counter() local 127 int64_t now; in mps2_fpgaio_read() local 190 int64_t now; in mps2_fpgaio_write() local 259 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in mps2_fpgaio_reset() local
|
/openbmc/linux/kernel/time/ |
H A D | tick-sched.c | 57 static void tick_do_update_jiffies64(ktime_t now) in tick_do_update_jiffies64() 185 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) in tick_sched_do_timer() 648 static void tick_nohz_update_jiffies(ktime_t now) in tick_nohz_update_jiffies() 661 static void tick_nohz_stop_idle(struct tick_sched *ts, ktime_t now) in tick_nohz_stop_idle() 696 ktime_t now, idle; in get_cpu_sleep_time_us() local 774 static void tick_nohz_restart(struct tick_sched *ts, ktime_t now) in tick_nohz_restart() 975 static void tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now) in tick_nohz_restart_sched_tick() 996 ktime_t now) in __tick_nohz_full_update_tick() 1240 ktime_t now = ts->idle_entrytime; in tick_nohz_get_sleep_length() local 1290 ktime_t now) in tick_nohz_account_idle_time() [all …]
|
H A D | timer_list.c | 23 u64 now; member 47 int idx, u64 now) in print_timer() 61 u64 now) in print_active_timers() 99 print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) in print_base() 115 static void print_cpu(struct seq_file *m, int cpu, u64 now) in print_cpu() 257 static inline void timer_list_header(struct seq_file *m, u64 now) in timer_list_header() 267 u64 now = ktime_to_ns(ktime_get()); in sysrq_timer_list_show() local
|
H A D | timekeeping_internal.h | 19 static inline u64 clocksource_delta(u64 now, u64 last, u64 mask) in clocksource_delta() 30 static inline u64 clocksource_delta(u64 now, u64 last, u64 mask) in clocksource_delta()
|
H A D | alarmtimer.c | 243 ktime_t min, now, expires; in alarmtimer_suspend() local 440 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval) in alarm_forward() 475 ktime_t now = base->get_ktime(); in __alarm_forward_now() local 560 ktime_t now) in alarm_handle_timer() 607 static s64 alarm_timer_forward(struct k_itimer *timr, ktime_t now) in alarm_timer_forward() 619 static ktime_t alarm_timer_remaining(struct k_itimer *timr, ktime_t now) in alarm_timer_remaining() 752 ktime_t now) in alarmtimer_nsleep_wakeup() 866 ktime_t now = alarm_bases[type].get_ktime(); in alarm_timer_nsleep() local
|
/openbmc/linux/arch/mips/kvm/ |
H A D | emulate.c | 328 static u32 kvm_mips_ktime_to_count(struct kvm_vcpu *vcpu, ktime_t now) in kvm_mips_ktime_to_count() 385 static u32 kvm_mips_read_count_running(struct kvm_vcpu *vcpu, ktime_t now) in kvm_mips_read_count_running() 474 ktime_t now; in kvm_mips_freeze_hrtimer() local 503 ktime_t now, u32 count) in kvm_mips_resume_hrtimer() 546 ktime_t now, count_time; in kvm_mips_restore_hrtimer() local 607 ktime_t now; in kvm_mips_write_count() local 654 ktime_t now; in kvm_mips_set_count_hz() local 704 ktime_t now = ktime_set(0, 0); /* silence bogus GCC warning */ in kvm_mips_write_compare() local 784 ktime_t now; in kvm_mips_count_disable() local 858 ktime_t expire, now; in kvm_mips_set_count_ctl() local
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_debugfs.c | 96 static void seq_print_one_request(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_one_request() 122 static void seq_print_minor_vnr_req(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_minor_vnr_req() 128 …int_resource_pending_meta_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) in seq_print_resource_pending_meta_io() 156 …oid seq_print_waiting_for_AL(struct seq_file *m, struct drbd_resource *resource, unsigned long now) in seq_print_waiting_for_AL() 191 … void seq_print_device_bitmap_io(struct seq_file *m, struct drbd_device *device, unsigned long now) in seq_print_device_bitmap_io() 216 …t_resource_pending_bitmap_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) in seq_print_resource_pending_bitmap_io() 248 unsigned long now) in seq_print_peer_request() 272 struct drbd_device *device, unsigned long now) in seq_print_device_peer_requests() 288 struct drbd_resource *resource, unsigned long now) in seq_print_resource_pending_peer_requests() 303 unsigned long now) in seq_print_resource_transfer_log_summary() [all …]
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | constant_timer.c | 25 uint64_t now, expire; in cpu_loongarch_get_constant_timer_ticks() local 37 uint64_t now, next; in cpu_loongarch_store_constant_timer_config() local 53 uint64_t now, next; in loongarch_constant_timer_cb() local
|
/openbmc/linux/net/rxrpc/ |
H A D | call_event.c | 26 unsigned long now = jiffies; in rxrpc_propose_ping() local 44 unsigned long now = jiffies, ack_at; in rxrpc_propose_delay_ACK() local 119 ktime_t now, max_age, oldest, ack_ts; in rxrpc_resend() local 260 unsigned long now = jiffies; in rxrpc_begin_service_reply() local 375 unsigned long now, next, t; in rxrpc_input_call_event() local
|
/openbmc/qemu/hw/timer/ |
H A D | mips_gictimer.c | 21 uint32_t vp_index, uint64_t now) in gic_vptimer_update() 34 uint64_t now) in gic_vptimer_expire() 58 uint64_t now; in mips_gictimer_get_sh_count() local 74 uint64_t now; in mips_gictimer_store_sh_count() local
|
H A D | nrf51_timer.c | 43 static uint32_t update_counter(NRF51TimerState *s, int64_t now) in update_counter() 58 static void rearm_timer(NRF51TimerState *s, int64_t now) in rearm_timer() 101 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in timer_expire() local 203 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in nrf51_timer_write() local
|
H A D | sse-counter.c | 140 uint64_t sse_counter_for_timestamp(SSECounter *s, uint64_t now) in sse_counter_for_timestamp() 180 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in sse_write_cntcv() local 271 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in sse_counter_control_write() local 391 uint64_t now; in sse_clk_callback() local
|
H A D | sifive_pwm.c | 149 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_interrupt() local 226 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_read() local 278 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_write() local 377 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in sifive_pwm_reset() local
|
/openbmc/linux/arch/x86/kernel/ |
H A D | rtc.c | 36 int mach_set_cmos_time(const struct timespec64 *now) in mach_set_cmos_time() 57 void mach_get_cmos_time(struct timespec64 *now) in mach_get_cmos_time() 103 int update_persistent_clock64(struct timespec64 now) in update_persistent_clock64()
|
/openbmc/u-boot/arch/nds32/cpu/n1213/ag101/ |
H A D | timer.c | 96 ulong now = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked() local 98 ulong now = readl(&tmr->timer3_counter) / in get_timer_masked() local 155 unsigned long now, last = readl(&tmr->timer3_counter); in __udelay() local
|
/openbmc/linux/drivers/base/power/ |
H A D | domain_governor.c | 123 static void update_domain_next_wakeup(struct generic_pm_domain *genpd, ktime_t now) in update_domain_next_wakeup() 161 unsigned int state, ktime_t now) in next_wakeup_allows_state() 265 static bool _default_power_down_ok(struct dev_pm_domain *pd, ktime_t now) in _default_power_down_ok() 347 ktime_t now = ktime_get(); in cpu_power_down_ok() local
|
/openbmc/qemu/util/ |
H A D | timed-average.c | 59 static void update_expiration(TimedAverageWindow *w, int64_t now, in update_expiration() 102 int64_t now = qemu_clock_get_ns(clock_type); in timed_average_init() local 130 int64_t now = qemu_clock_get_ns(ta->clock_type); in check_expirations() local
|
/openbmc/sdeventplus/src/sdeventplus/ |
H A D | clock.cpp | 20 typename Clock<Id>::time_point Clock<Id>::now() const in now() function in sdeventplus::Clock 22 uint64_t now; in now() local
|
/openbmc/linux/fs/btrfs/ |
H A D | discard.c | 195 u64 now) in find_next_block_group() 240 int *discard_index, u64 now) in peek_discard_list() 376 u64 now, bool override) in __btrfs_discard_schedule_work() 440 const u64 now = ktime_get_ns(); in btrfs_discard_schedule_work() local 490 u64 now = ktime_get_ns(); in btrfs_discard_workfn() local
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | timer.c | 59 unsigned long now, last = readl(&timer_base->tcrr); in __udelay() local 74 ulong now = readl(&timer_base->tcrr) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked() local
|
/openbmc/linux/drivers/rtc/ |
H A D | interface.c | 215 struct rtc_time before, now; in __rtc_read_alarm() local 413 time64_t now, scheduled; in __rtc_set_alarm() local 497 struct rtc_time now; in rtc_initialize_alarm() local 587 ktime_t now, onesec; in rtc_update_irq_enable() local 807 ktime_t now; in rtc_timer_enqueue() local 905 ktime_t now; in rtc_timer_do_work() local
|