Lines Matching full:pair
130 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, in test__vmlinux_matches_kallsyms_cb1() local
133 if (pair) { in test__vmlinux_matches_kallsyms_cb1()
134 map__set_priv(pair); in test__vmlinux_matches_kallsyms_cb1()
135 map__put(pair); in test__vmlinux_matches_kallsyms_cb1()
149 struct map *pair; in test__vmlinux_matches_kallsyms_cb2() local
153 pair = maps__find(args->kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms_cb2()
155 if (pair != NULL && !map__priv(pair) && map__start(pair) == mem_start) { in test__vmlinux_matches_kallsyms_cb2()
165 if (mem_end != map__end(pair)) in test__vmlinux_matches_kallsyms_cb2()
167 map__start(pair), map__end(pair), map__pgoff(pair)); in test__vmlinux_matches_kallsyms_cb2()
169 map__set_priv(pair); in test__vmlinux_matches_kallsyms_cb2()
171 map__put(pair); in test__vmlinux_matches_kallsyms_cb2()
290 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local
301 pair = first_pair; in test__vmlinux_matches_kallsyms()
303 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
305 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
315 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
319 UM(pair->end)); in test__vmlinux_matches_kallsyms()
329 pair = machine__find_kernel_symbol_by_name(&args.kallsyms, in test__vmlinux_matches_kallsyms()
331 if (pair) { in test__vmlinux_matches_kallsyms()
332 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms()
336 mem_start, sym->name, pair->name); in test__vmlinux_matches_kallsyms()