Home
last modified time | relevance | path

Searched refs:kmap (Results 1 – 8 of 8) sorted by relevance

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsymbol-elf.c653 static bool ref_reloc_sym_not_found(struct kmap *kmap) in ref_reloc_sym_not_found() argument
655 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() argument
669 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() local
747 if (ref_reloc_sym_not_found(kmap)) { in dso__load_sym()
[all …]
Dmap.h52 struct kmap { struct
63 static inline struct kmap *map__kmap(struct map *map) in map__kmap() argument
65 return (struct kmap *)(map + 1); in map__kmap()
Dmachine.c513 struct kmap *kmap; in __machine__create_kernel_maps() local
522 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() local
541 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()
Dsession.c1452 struct kmap *kmap = map__kmap(maps[i]); in maps__set_kallsyms_ref_reloc_sym() local
1453 kmap->ref_reloc_sym = ref; in maps__set_kallsyms_ref_reloc_sym()
Dmap.c113 (dso->kernel ? sizeof(struct kmap) : 0))); in map__new2()
/external/qemu/
Dgen-charmap.py177 kmap = KMap(mapname,result) variable
178 kmaps.append(kmap)
181 for kmap in kmaps:
182 kmap.dump()
186 for kmap in kmaps:
187 print "%s&_%s_charmap" % (comma, kmap.name),
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-report.c487 struct kmap *kernel_kmap; in __cmd_report()
/external/yaffs2/yaffs2/
Dyaffs_fs.c500 pg_buf = kmap(pg); in yaffs_readpage_nolock()
587 buffer = kmap(page); in yaffs_writepage()