Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
H A Dtsc.c63 struct cyc2ns { struct
69 static DEFINE_PER_CPU_ALIGNED(struct cyc2ns, cyc2ns); argument
82 seq = this_cpu_read(cyc2ns.seq.seqcount.sequence); in __cyc2ns_read()
85 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in __cyc2ns_read()
86 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in __cyc2ns_read()
87 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in __cyc2ns_read()
89 } while (unlikely(seq != this_cpu_read(cyc2ns.seq.seqcount.sequence))); in __cyc2ns_read()
153 struct cyc2ns *c2n; in __set_cyc2ns_scale()
179 c2n = per_cpu_ptr(&cyc2ns, cpu); in __set_cyc2ns_scale()
207 struct cyc2ns *c2n = this_cpu_ptr(&cyc2ns); in cyc2ns_init_boot_cpu()
[all …]