Home
last modified time | relevance | path

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

/scripts/
Dcheckstack.pl138 my $addr = $1;
139 $addr =~ s/ /0/g;
140 $addr = "0x$addr";
142 my $intro = "$addr $func [$file]:";
155 my $addr = $1;
156 $addr =~ s/ /0/g;
157 $addr = "0x$addr";
159 my $intro = "$addr $func [$file]:";
Dfaddr2line131 local addr=$(($sym_base + $offset))
132 if [[ -z $addr ]] || [[ $addr = 0 ]]; then
137 addr=0x$(printf %x $addr)
142 echo "skipping $func address at $addr due to non-function symbol of type '$sym_type'"
149 echo "skipping $func address at $addr due to size mismatch ($size != $sym_size)"
156 echo "skipping $func address at $addr due to size mismatch ($offset > $sym_size)"
166 local file_lines=$(${ADDR2LINE} -fpie $objfile $addr | sed "s; $dir_prefix\(\./\)*; ;")
Dkallsyms.c34 unsigned long long addr; member
89 static int check_symbol_range(const char *sym, unsigned long long addr, in check_symbol_range() argument
99 ar->start = addr; in check_symbol_range()
102 ar->end = addr; in check_symbol_range()
115 rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, sym); in read_symbol()
130 _text = s->addr; in read_symbol()
131 else if (check_symbol_range(sym, s->addr, text_ranges, in read_symbol()
172 check_symbol_range(sym, s->addr, &percpu_range, 1); in read_symbol()
186 if (s->addr >= ar->start && s->addr <= ar->end) in symbol_in_range()
241 if ((s->addr == text_range_text->end && in symbol_valid()
[all …]
Dsortextable.c91 void *addr; in mmap_file() local
102 addr = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_SHARED, in mmap_file()
104 if (addr == MAP_FAILED) { in mmap_file()
109 return addr; in mmap_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.c139 void *const addr = malloc(size); in umalloc() local
140 if (addr == 0) { in umalloc()
146 return addr; in umalloc()
/scripts/dtc/libfdt/
Dfdt_addresses.c56 const char *name, uint64_t addr, uint64_t size) in fdt_appendprop_addrrange() argument
74 if ((addr > UINT32_MAX) || ((UINT32_MAX + 1 - addr) < size)) in fdt_appendprop_addrrange()
77 fdt32_st(prop, (uint32_t)addr); in fdt_appendprop_addrrange()
79 fdt64_st(prop, addr); in fdt_appendprop_addrrange()
Dfdt_sw.c180 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) in fdt_add_reservemap_entry() argument
192 re->address = cpu_to_fdt64(addr); in fdt_add_reservemap_entry()
Dlibfdt.h1431 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size);
1935 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.h114 struct data data_append_addr(struct data d, uint64_t addr);
/scripts/gdb/linux/
Dsymbols.py107 name=section_name, addr=str(address)))
127 addr=module_addr, filename=module_file))
130 addr=module_addr,
/scripts/mod/
Dmodpost.c1318 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol() argument
1338 if (sym->st_value == addr) in find_elf_symbol()
1341 d = sym->st_value - addr; in find_elf_symbol()
1343 d = addr - sym->st_value; in find_elf_symbol()
1362 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2() argument
1379 if (sym->st_value <= addr) { in find_elf_symbol2()
1380 if ((addr - sym->st_value) < distance) { in find_elf_symbol2()
1381 distance = addr - sym->st_value; in find_elf_symbol2()
1383 } else if ((addr - sym->st_value) == distance) { in find_elf_symbol2()