Searched refs:scd (Results 1 – 1 of 1) sorted by relevance
78 struct sched_clock_data *scd = cpu_sdc(cpu); in sched_clock_init() local80 scd->lock = (raw_spinlock_t)__RAW_SPIN_LOCK_UNLOCKED; in sched_clock_init()81 scd->tick_raw = 0; in sched_clock_init()82 scd->tick_gtod = ktime_now; in sched_clock_init()83 scd->clock = ktime_now; in sched_clock_init()109 static u64 __update_sched_clock(struct sched_clock_data *scd, u64 now) in __update_sched_clock() argument111 s64 delta = now - scd->tick_raw; in __update_sched_clock()125 clock = scd->tick_gtod + delta; in __update_sched_clock()126 min_clock = wrap_max(scd->tick_gtod, scd->clock); in __update_sched_clock()127 max_clock = wrap_max(scd->clock, scd->tick_gtod + TICK_NSEC); in __update_sched_clock()[all …]