Home
last modified time | relevance | path

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

/scripts/
Dkallsyms.c51 unsigned long long addr; member
199 static void check_symbol_range(const char *sym, unsigned long long addr, in check_symbol_range() argument
209 ar->start = addr; in check_symbol_range()
212 ar->end = addr; in check_symbol_range()
221 unsigned long long addr; in read_symbol() local
226 rc = fscanf(in, "%llx %c %" _stringify(KSYM_NAME_LEN_BUFFER) "s\n", &addr, &type, name); in read_symbol()
240 _text = addr; in read_symbol()
246 check_symbol_range(name, addr, text_ranges, ARRAY_SIZE(text_ranges)); in read_symbol()
247 check_symbol_range(name, addr, &percpu_range, 1); in read_symbol()
260 sym->addr = addr; in read_symbol()
[all …]
Dfaddr2line203 local addr=$(($sym_addr + $func_offset))
204 if [[ -z $addr ]] || [[ $addr = 0 ]]; then
209 addr=0x$(printf %x $addr)
214 echo "skipping $sym_name address at $addr due to size mismatch ($user_size != $sym_size)"
221 echo "skipping $sym_name address at $addr due to size mismatch ($func_offset > $sym_size)"
236 local output=$(${ADDR2LINE} $args $addr | sed "s; $dir_prefix\(\./\)*; ;")
Dsorttable.c85 void *addr = NULL; in mmap_file() local
101 addr = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mmap_file()
102 if (addr == MAP_FAILED) { in mmap_file()
111 return addr; in mmap_file()
268 static int do_file(char const *const fname, void *addr) in do_file() argument
271 Elf32_Ehdr *ehdr = addr; in do_file()
367 void *addr = NULL; in main() local
376 addr = mmap_file(argv[i], &size); in main()
377 if (!addr) { in main()
382 if (do_file(argv[i], addr)) in main()
[all …]
Dcheckstack.pl142 my ($func, $file, $lastslash, $total_size, $addr, $intro);
153 $addr = "0x$1";
154 $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/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.h1469 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size);
1986 const char *name, uint64_t addr, uint64_t size);
/scripts/gdb/linux/
Ddmesg.py42 addr = prb_addr + off
44 desc_ring = utils.read_memoryview(inf, addr, sz).tobytes()
60 addr = prb_addr + off
62 text_data_ring = utils.read_memoryview(inf, addr, sz).tobytes()
Dsymbols.py107 name=section_name, addr=str(address)))
127 addr=module_addr, filename=module_file))
130 addr=module_addr,
/scripts/dtc/
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.h181 struct data data_append_addr(struct data d, uint64_t addr);
/scripts/mod/
Dmodpost.c1156 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol() argument
1180 if (sym->st_value == addr) in find_elf_symbol()
1183 d = sym->st_value - addr; in find_elf_symbol()
1185 d = addr - sym->st_value; in find_elf_symbol()
1204 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2() argument
1221 if (sym->st_value <= addr && addr - sym->st_value <= distance) { in find_elf_symbol2()
1222 distance = addr - sym->st_value; in find_elf_symbol2()