Lines Matching refs:start

139 	a = syma->end - syma->start;
140 b = symb->end - symb->start;
200 if (curr->start != next->start)
231 * On some architecture kernel text segment start is located at
242 if (prev->end == prev->start) {
248 prev->end = curr->start;
256 if (curr->end == curr->start)
257 curr->end = roundup(curr->start, 4096) + 4096;
268 prev->end = curr->start;
283 struct symbol *symbol__new(u64 start, u64 len, u8 binding, u8 type, const char *name)
299 sym->start = start;
300 sym->end = len ? start + len : start;
306 __func__, name, start, sym->end);
335 const u64 ip = sym->start;
343 * start of every instruction address. Remove it.
353 if (ip < s->start)
381 if (ip < s->start)
383 else if (ip > s->end || (ip == s->end && ip != s->start))
528 if (dso->last_find_result.addr >= sym->start &&
530 sym->start == sym->end)) {
610 u64 start, u64 size))
623 u64 start, size;
646 hex2u64(sep + 1, &start);
660 err = process_module(arg, name, start, size);
713 char type, u64 start)
727 sym = symbol__new(start, 0, kallsyms2elf_binding(type), kallsyms2elf_type(type), name);
775 curr_map = maps__find(kmaps, pos->start);
782 pos->start -= curr_map->start - curr_map->pgoff;
786 pos->end -= curr_map->start - curr_map->pgoff;
864 * i.e. not prelinked, relative to initial_map->start.
866 pos->start = curr_map->map_ip(curr_map, pos->start);
874 * is the start of kernel text, by simply removing the
884 pos->start -= delta;
908 curr_map = map__new2(pos->start, ndso);
919 pos->start -= delta;
966 u64 start;
1023 static int __read_proc_modules(void *arg, const char *name, u64 start,
1034 mi->start = start;
1082 if (from_m->start != to_m->start ||
1119 if (!mi || mi->start != old_map->start) {
1182 u64 start;
1185 kmap->ref_reloc_sym->name, &start))
1187 if (start != kmap->ref_reloc_sym->addr)
1199 static int kcore_mapfn(u64 start, u64 len, u64 pgoff, void *data)
1204 map = map__new2(start, md->dso);
1208 map->end = map->start + len;
1227 if (new_map->end < old_map->start ||
1228 new_map->start >= old_map->end)
1231 if (new_map->start < old_map->start) {
1241 new_map->end = old_map->start;
1252 m->end = old_map->start;
1254 new_map->pgoff += old_map->end - new_map->start;
1255 new_map->start = old_map->end;
1275 new_map->pgoff += old_map->end - new_map->start;
1276 new_map->start = old_map->end;
1361 if (stext >= new_map->start && stext < new_map->end) {
1376 map->start = new_map->start;
1508 u64 start, size;
1521 len = hex2u64(line, &start);
1533 sym = symbol__new(start, size, STB_GLOBAL, STT_FUNC, line + len);
1586 u64 start, len;
1659 start = bfd_asymbol_value(sym) - dso->text_offset;
1660 symbol = symbol__new(start, len, bfd2elf_binding(sym), STT_FUNC,