Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/power/cpupower/lib/
Dcpupower.c108 struct cpuid_core_info *top2 = (struct cpuid_core_info *)t2; in __compare() local
109 if (top1->pkg < top2->pkg) in __compare()
111 else if (top1->pkg > top2->pkg) in __compare()
113 else if (top1->core < top2->core) in __compare()
115 else if (top1->core > top2->core) in __compare()
117 else if (top1->cpu < top2->cpu) in __compare()
119 else if (top1->cpu > top2->cpu) in __compare()
/kernel/linux/linux-5.10/kernel/trace/
Dring_buffer.c696 unsigned long cnt2, top2, bottom2; in rb_time_cmpxchg() local
716 rb_time_split(set, &top2, &bottom2); in rb_time_cmpxchg()
717 top2 = rb_time_val_cnt(top2, cnt2); in rb_time_cmpxchg()
722 if (!rb_time_read_cmpxchg(&t->top, top, top2)) in rb_time_cmpxchg()