Home
last modified time | relevance | path

Searched refs:top2 (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/tools/power/cpupower/lib/
H A 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-6.6/tools/power/cpupower/lib/
H A Dcpupower.c136 struct cpuid_core_info *top2 = (struct cpuid_core_info *)t2; in __compare() local
137 if (top1->pkg < top2->pkg) in __compare()
139 else if (top1->pkg > top2->pkg) in __compare()
141 else if (top1->core < top2->core) in __compare()
143 else if (top1->core > top2->core) in __compare()
145 else if (top1->cpu < top2->cpu) in __compare()
147 else if (top1->cpu > top2->cpu) in __compare()
/kernel/linux/linux-5.10/kernel/trace/
H A Dring_buffer.c703 unsigned long cnt2, top2, bottom2; in rb_time_cmpxchg() local
725 rb_time_split(set, &top2, &bottom2); in rb_time_cmpxchg()
726 top2 = rb_time_val_cnt(top2, cnt2); in rb_time_cmpxchg()
731 if (!rb_time_read_cmpxchg(&t->top, top, top2)) in rb_time_cmpxchg()

Completed in 8 milliseconds