Searched refs:kmap (Results 1 – 8 of 8) sorted by relevance
653 static bool ref_reloc_sym_not_found(struct kmap *kmap) in ref_reloc_sym_not_found() argument655 return kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && in ref_reloc_sym_not_found()656 !kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc_sym_not_found()667 static u64 ref_reloc(struct kmap *kmap) in ref_reloc() argument669 if (kmap && kmap->ref_reloc_sym && in ref_reloc()670 kmap->ref_reloc_sym->unrelocated_addr) in ref_reloc()671 return kmap->ref_reloc_sym->addr - in ref_reloc()672 kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc()680 struct kmap *kmap = dso->kernel ? map__kmap(map) : NULL; in dso__load_sym() local747 if (ref_reloc_sym_not_found(kmap)) { in dso__load_sym()[all …]
52 struct kmap { struct63 static inline struct kmap *map__kmap(struct map *map) in map__kmap() argument65 return (struct kmap *)(map + 1); in map__kmap()
513 struct kmap *kmap; in __machine__create_kernel_maps() local522 kmap = map__kmap(machine->vmlinux_maps[type]); in __machine__create_kernel_maps()523 kmap->kmaps = &machine->kmaps; in __machine__create_kernel_maps()536 struct kmap *kmap; in machine__destroy_kernel_maps() local541 kmap = map__kmap(machine->vmlinux_maps[type]); in machine__destroy_kernel_maps()544 if (kmap->ref_reloc_sym) { in machine__destroy_kernel_maps()550 free((char *)kmap->ref_reloc_sym->name); in machine__destroy_kernel_maps()551 kmap->ref_reloc_sym->name = NULL; in machine__destroy_kernel_maps()552 free(kmap->ref_reloc_sym); in machine__destroy_kernel_maps()554 kmap->ref_reloc_sym = NULL; in machine__destroy_kernel_maps()
1452 struct kmap *kmap = map__kmap(maps[i]); in maps__set_kallsyms_ref_reloc_sym() local1453 kmap->ref_reloc_sym = ref; in maps__set_kallsyms_ref_reloc_sym()
113 (dso->kernel ? sizeof(struct kmap) : 0))); in map__new2()
177 kmap = KMap(mapname,result) variable178 kmaps.append(kmap)181 for kmap in kmaps:182 kmap.dump()186 for kmap in kmaps:187 print "%s&_%s_charmap" % (comma, kmap.name),
487 struct kmap *kernel_kmap; in __cmd_report()
500 pg_buf = kmap(pg); in yaffs_readpage_nolock()587 buffer = kmap(page); in yaffs_writepage()