Home
last modified time | relevance | path

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

/tools/perf/tests/
Dthread-mg-share.c14 struct thread *t1, *t2, *t3; in test__thread_mg_share() local
36 t2 = machine__findnew_thread(machine, 0, 2); in test__thread_mg_share()
43 leader && t1 && t2 && t3 && other); in test__thread_mg_share()
50 TEST_ASSERT_VAL("map groups don't match", mg == t2->mg); in test__thread_mg_share()
68 machine__remove_thread(machine, t2); in test__thread_mg_share()
85 thread__put(t2); in test__thread_mg_share()
/tools/lib/bpf/
Dbtf.c1730 static bool btf_equal_common(struct btf_type *t1, struct btf_type *t2) in btf_equal_common() argument
1732 return t1->name_off == t2->name_off && in btf_equal_common()
1733 t1->info == t2->info && in btf_equal_common()
1734 t1->size == t2->size; in btf_equal_common()
1749 static bool btf_equal_int(struct btf_type *t1, struct btf_type *t2) in btf_equal_int() argument
1753 if (!btf_equal_common(t1, t2)) in btf_equal_int()
1756 info2 = *(__u32 *)(t2 + 1); in btf_equal_int()
1773 static bool btf_equal_enum(struct btf_type *t1, struct btf_type *t2) in btf_equal_enum() argument
1779 if (!btf_equal_common(t1, t2)) in btf_equal_enum()
1784 m2 = btf_enum(t2); in btf_equal_enum()
[all …]
/tools/testing/scatterlist/linux/
Dmm.h55 #define __min(t1, t2, min1, min2, x, y) ({ \ argument
57 t2 min2 = (y); \
/tools/testing/selftests/ptp/
Dtestptp.c178 int64_t t1, t2, tp; in main() local
454 t2 = pctns(pct+2*i+2); in main()
455 interval = t2 - t1; in main()
456 offset = (t2 + t1) / 2 - tp; in main()
/tools/power/cpupower/lib/
Dcpupower.c105 static int __compare(const void *t1, const void *t2) in __compare() argument
108 struct cpuid_core_info *top2 = (struct cpuid_core_info *)t2; in __compare()
/tools/testing/selftests/bpf/
Dtest_lpm_map.c140 struct tlpm_node *list = NULL, *t1, *t2; in test_lpm_basic() local
154 t2 = list = tlpm_add(list, (uint8_t[]){ 0xff, 0xff }, 16); in test_lpm_basic()
156 assert(t2 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 16)); in test_lpm_basic()
172 struct tlpm_node *t1, *t2, *l1 = NULL, *l2 = NULL; in test_lpm_order() local
194 t2 = tlpm_match(l2, key, 16); in test_lpm_order()
196 assert(!t1 == !t2); in test_lpm_order()
198 assert(t1->n_bits == t2->n_bits); in test_lpm_order()
201 (t2->key[j / 8] & (1 << (7 - j % 8)))); in test_lpm_order()
/tools/testing/selftests/pidfd/
Dpidfd_test.c454 pthread_t t1, t2; in child_poll_leader_exit_test() local
458 pthread_create(&t2, NULL, test_pidfd_poll_leader_exit_thread, NULL); in child_poll_leader_exit_test()
/tools/power/x86/turbostat/
Dturbostat.c1393 struct pkg_data *p, struct thread_data *t2, in delta_cpu() argument
1403 retval = delta_thread(t, t2, c2); /* c2 is core delta */ in delta_cpu()
2697 struct thread_data *t, *t2; in for_all_cpus_2() local
2708 t2 = GET_THREAD(thread_base2, thread_no, in for_all_cpus_2()
2721 retval = func(t, c, p, t2, c2, p2); in for_all_cpus_2()
/tools/power/pm-graph/
Dsleepgraph.py4605 t2 {color:black;font:25px Times;}\n\