Lines Matching defs:sym
303 struct symbol *sym = rb_entry(nd, struct symbol, rb_node);
304 map->start = sym->start;
313 struct symbol *sym = rb_entry(nd, struct symbol, rb_node);
314 map->end = sym->end;
423 char *map__srcline(struct map *map, u64 addr, struct symbol *sym)
427 return get_srcline(map->dso, map__rip_2objdump(map, addr), sym, true, true, addr);
661 static bool map__contains_symbol(struct map *map, struct symbol *sym)
663 u64 ip = map->unmap_ip(map, sym->start);
670 struct symbol *sym;
676 sym = map__find_symbol_by_name(pos, name);
678 if (sym == NULL)
680 if (!map__contains_symbol(pos, sym)) {
681 sym = NULL;
689 sym = NULL;
692 return sym;
706 ams->ms.sym = map__find_symbol(ams->ms.map, ams->al_addr);
708 return ams->ms.sym ? 0 : -1;