Searched refs:lcycle (Results 1 – 2 of 2) sorted by relevance
166 u64 lcycle, ret; in xen_itc_jitter_data_reset() local169 lcycle = itc_jitter_data.itc_lastcycle; in xen_itc_jitter_data_reset()170 ret = cmpxchg(&itc_jitter_data.itc_lastcycle, lcycle, 0); in xen_itc_jitter_data_reset()171 } while (unlikely(ret != lcycle)); in xen_itc_jitter_data_reset()
371 unsigned long lcycle, now, ret; in itc_get_cycles() local376 lcycle = itc_jitter_data.itc_lastcycle; in itc_get_cycles()378 if (lcycle && time_after(lcycle, now)) in itc_get_cycles()379 return lcycle; in itc_get_cycles()387 ret = cmpxchg(&itc_jitter_data.itc_lastcycle, lcycle, now); in itc_get_cycles()388 if (unlikely(ret != lcycle)) in itc_get_cycles()