Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/kernel/
Dtsc.c125 struct cyc2ns *c2n = &per_cpu(cyc2ns, cpu); in cyc2ns_write_begin() local
126 struct cyc2ns_data *data = c2n->data; in cyc2ns_write_begin()
128 if (data == c2n->head) in cyc2ns_write_begin()
138 while (c2n->tail == data) in cyc2ns_write_begin()
146 struct cyc2ns *c2n = &per_cpu(cyc2ns, cpu); in cyc2ns_write_end() local
154 ACCESS_ONCE(c2n->head) = data; in cyc2ns_write_end()
191 struct cyc2ns *c2n = &per_cpu(cyc2ns, cpu); in cyc2ns_init() local
193 cyc2ns_data_init(&c2n->data[0]); in cyc2ns_init()
194 cyc2ns_data_init(&c2n->data[1]); in cyc2ns_init()
196 c2n->head = c2n->data; in cyc2ns_init()
[all …]