Lines Matching refs:kmap
1170 struct kmap *kmap = map__kmap(map); in validate_kcore_addresses() local
1172 if (!kmap) in validate_kcore_addresses()
1175 if (kmap->ref_reloc_sym && kmap->ref_reloc_sym->name) { in validate_kcore_addresses()
1179 kmap->ref_reloc_sym->name, &start)) in validate_kcore_addresses()
1181 if (start != kmap->ref_reloc_sym->addr) in validate_kcore_addresses()
1438 static int kallsyms__delta(struct kmap *kmap, const char *filename, u64 *delta) in kallsyms__delta() argument
1442 if (!kmap->ref_reloc_sym || !kmap->ref_reloc_sym->name) in kallsyms__delta()
1445 if (kallsyms__get_function_start(filename, kmap->ref_reloc_sym->name, &addr)) in kallsyms__delta()
1448 *delta = addr - kmap->ref_reloc_sym->addr; in kallsyms__delta()
1455 struct kmap *kmap = map__kmap(map); in __dso__load_kallsyms() local
1461 if (!kmap || !kmap->kmaps) in __dso__load_kallsyms()
1467 if (kallsyms__delta(kmap, filename, &delta)) in __dso__load_kallsyms()
1479 return maps__split_kallsyms_for_kcore(kmap->kmaps, dso); in __dso__load_kallsyms()
1481 return maps__split_kallsyms(kmap->kmaps, dso, delta, map); in __dso__load_kallsyms()