Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 17 of 17) sorted by relevance

/scripts/
Dgenerate_cfi_kallsyms.pl62 my ($addr, $name) = $_ =~ /\:.*([a-f0-9]{16}).*\s__cfi_jt_(.*)/;
63 if (defined($addr) && defined($name)) {
64 $cfi_jt->{$name} = $addr;
83 my ($addr, $symbol) = $_ =~ /^([a-f0-9]{16})\s<([^>]+)>\:/;
85 if (defined($addr) && defined($symbol)) {
132 my ($addr, $instr, $branch_target) = $_ =~
135 if (defined($addr) && defined($instr) && defined($branch_target)) {
139 $last_branch_addr = $addr;
157 my ($addr, $type, $reloc_target) = /\s*([a-f0-9]{16})\:\s+R_(\S+)\s+(\S+)$/;
159 if (defined($addr) && defined($type) && defined($reloc_target)) {
[all …]
Dkallsyms.c33 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()
[all …]
Dfaddr2line202 local addr=$(($sym_addr + $func_offset))
203 if [[ -z $addr ]] || [[ $addr = 0 ]]; then
208 addr=0x$(printf %x $addr)
213 echo "skipping $sym_name address at $addr due to size mismatch ($user_size != $sym_size)"
220 echo "skipping $sym_name address at $addr due to size mismatch ($func_offset > $sym_size)"
235 local output=$(${ADDR2LINE} $args $addr | sed "s; $dir_prefix\(\./\)*; ;")
Dsorttable.c75 void *addr = NULL; in mmap_file() local
91 addr = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mmap_file()
92 if (addr == MAP_FAILED) { in mmap_file()
101 return addr; in mmap_file()
297 static int do_file(char const *const fname, void *addr) in do_file() argument
300 Elf32_Ehdr *ehdr = addr; in do_file()
396 void *addr = NULL; in main() local
405 addr = mmap_file(argv[i], &size); in main()
406 if (!addr) { in main()
411 if (do_file(argv[i], addr)) in main()
[all …]
Dcheckstack.pl138 my ($func, $file, $lastslash, $total_size, $addr, $intro);
149 $addr = "0x$1";
150 $intro = "$addr $func [$file]:";
Dextract-sys-certs.pl69 my $addr = "0x" . $1;
73 $symbols{$name} = $addr;
Dinsert-sys-cert.c68 static unsigned long get_offset_from_address(Elf_Ehdr *hdr, unsigned long addr) in get_offset_from_address() argument
84 if (addr >= start && addr <= end) in get_offset_from_address()
85 return addr - start + offset; in get_offset_from_address()
Drecordmcount.c145 void *const addr = malloc(size); in umalloc() local
146 if (addr == 0) { in umalloc()
152 return addr; in umalloc()
/scripts/gdb/linux/
Ddmesg.py43 addr = prb_addr + off
45 desc_ring = utils.read_memoryview(inf, addr, sz).tobytes()
52 addr = utils.read_ulong(desc_ring, off)
53 descs = utils.read_memoryview(inf, addr, desc_sz * desc_ring_count).tobytes()
58 addr = utils.read_ulong(desc_ring, off)
59 infos = utils.read_memoryview(inf, addr, info_sz * desc_ring_count).tobytes()
63 addr = prb_addr + off
65 text_data_ring = utils.read_memoryview(inf, addr, sz).tobytes()
71 addr = utils.read_ulong(text_data_ring, off)
72 text_data = utils.read_memoryview(inf, addr, text_data_sz).tobytes()
Dsymbols.py107 name=section_name, addr=str(address)))
127 addr=module_addr, filename=module_file))
130 addr=module_addr,
/scripts/dtc/libfdt/
Dfdt_addresses.c58 const char *name, uint64_t addr, uint64_t size) in fdt_appendprop_addrrange() argument
76 if ((addr > UINT32_MAX) || ((UINT32_MAX + 1 - addr) < size)) in fdt_appendprop_addrrange()
79 fdt32_st(prop, (uint32_t)addr); in fdt_appendprop_addrrange()
81 fdt64_st(prop, addr); in fdt_appendprop_addrrange()
Dfdt_sw.c188 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) in fdt_add_reservemap_entry() argument
200 re->address = cpu_to_fdt64(addr); in fdt_add_reservemap_entry()
Dlibfdt.h1436 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size);
1940 const char *name, uint64_t addr, uint64_t size);
/scripts/dtc/
Dfdtdump.c62 uint64_t addr, size; in dump_blob() local
89 addr = fdt64_to_cpu(p_rsvmap[i].address); in dump_blob()
91 if (addr == 0 && size == 0) in dump_blob()
95 (unsigned long long)addr, (unsigned long long)size); in dump_blob()
Ddata.c202 struct data data_append_addr(struct data d, uint64_t addr) in data_append_addr() argument
204 return data_append_integer(d, addr, sizeof(addr) * 8); in data_append_addr()
Ddtc.h145 struct data data_append_addr(struct data d, uint64_t addr);
/scripts/mod/
Dmodpost.c1300 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol() argument
1324 if (sym->st_value == addr) in find_elf_symbol()
1327 d = sym->st_value - addr; in find_elf_symbol()
1329 d = addr - sym->st_value; in find_elf_symbol()
1348 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2() argument
1365 if (sym->st_value <= addr) { in find_elf_symbol2()
1366 if ((addr - sym->st_value) < distance) { in find_elf_symbol2()
1367 distance = addr - sym->st_value; in find_elf_symbol2()
1369 } else if ((addr - sym->st_value) == distance) { in find_elf_symbol2()