Lines Matching refs:addr
33 unsigned long long addr; member
179 static void check_symbol_range(const char *sym, unsigned long long addr, in check_symbol_range() argument
189 ar->start = addr; in check_symbol_range()
192 ar->end = addr; in check_symbol_range()
201 unsigned long long addr; in read_symbol() local
206 rc = fscanf(in, "%llx %c %499s\n", &addr, &type, name); in read_symbol()
220 _text = addr; in read_symbol()
226 check_symbol_range(name, addr, text_ranges, ARRAY_SIZE(text_ranges)); in read_symbol()
227 check_symbol_range(name, addr, &percpu_range, 1); in read_symbol()
240 sym->addr = addr; in read_symbol()
258 if (s->addr >= ar->start && s->addr <= ar->end) in symbol_in_range()
281 if ((s->addr == text_range_text->end && in symbol_valid()
283 (s->addr == text_range_inittext->end && in symbol_valid()
347 static void output_address(unsigned long long addr) in output_address() argument
349 if (_text <= addr) in output_address()
350 printf("\tPTR\t_text + %#llx\n", addr - _text); in output_address()
352 printf("\tPTR\t_text - %#llx\n", _text - addr); in output_address()
423 offset = table[i]->addr - relative_base; in write_src()
426 offset = table[i]->addr; in write_src()
429 offset = relative_base - table[i]->addr - 1; in write_src()
436 table[i]->addr); in write_src()
441 output_address(table[i]->addr); in write_src()
443 printf("\tPTR\t%#llx\n", table[i]->addr); in write_src()
701 if (sa->addr > sb->addr) in compare_symbols()
703 if (sa->addr < sb->addr) in compare_symbols()
760 relative_base = table[i]->addr; in record_relative_base()