/scripts/ |
D | kallsyms.c | 33 unsigned long long addr; member 180 static void check_symbol_range(const char *sym, unsigned long long addr, in check_symbol_range() argument 190 ar->start = addr; in check_symbol_range() 193 ar->end = addr; in check_symbol_range() 202 unsigned long long addr; in read_symbol() local 207 rc = fscanf(in, "%llx %c %499s\n", &addr, &type, name); in read_symbol() 221 _text = addr; in read_symbol() 227 check_symbol_range(name, addr, text_ranges, ARRAY_SIZE(text_ranges)); in read_symbol() 228 check_symbol_range(name, addr, &percpu_range, 1); in read_symbol() 241 sym->addr = addr; in read_symbol() [all …]
|
D | faddr2line | 202 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\(\./\)*; ;")
|
D | sorttable.c | 79 void *addr = NULL; in mmap_file() local 95 addr = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in mmap_file() 96 if (addr == MAP_FAILED) { in mmap_file() 105 return addr; in mmap_file() 301 static int do_file(char const *const fname, void *addr) in do_file() argument 304 Elf32_Ehdr *ehdr = addr; in do_file() 401 void *addr = NULL; in main() local 410 addr = mmap_file(argv[i], &size); in main() 411 if (!addr) { in main() 416 if (do_file(argv[i], addr)) in main() [all …]
|
D | checkstack.pl | 138 my ($func, $file, $lastslash, $total_size, $addr, $intro); 149 $addr = "0x$1"; 150 $intro = "$addr $func [$file]:";
|
D | extract-sys-certs.pl | 69 my $addr = "0x" . $1; 73 $symbols{$name} = $addr;
|
D | insert-sys-cert.c | 68 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()
|
D | recordmcount.c | 145 void *const addr = malloc(size); in umalloc() local 146 if (addr == 0) { in umalloc() 152 return addr; in umalloc()
|
/scripts/dtc/libfdt/ |
D | fdt_addresses.c | 58 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()
|
D | fdt_sw.c | 188 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()
|
D | libfdt.h | 1462 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size); 1979 const char *name, uint64_t addr, uint64_t size);
|
/scripts/gdb/linux/ |
D | dmesg.py | 42 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()
|
D | symbols.py | 107 name=section_name, addr=str(address))) 127 addr=module_addr, filename=module_file)) 130 addr=module_addr,
|
/scripts/dtc/ |
D | data.c | 202 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()
|
D | dtc.h | 145 struct data data_append_addr(struct data d, uint64_t addr);
|
/scripts/mod/ |
D | modpost.c | 1295 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol() argument 1319 if (sym->st_value == addr) in find_elf_symbol() 1322 d = sym->st_value - addr; in find_elf_symbol() 1324 d = addr - sym->st_value; in find_elf_symbol() 1343 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2() argument 1360 if (sym->st_value <= addr) { in find_elf_symbol2() 1361 if ((addr - sym->st_value) < distance) { in find_elf_symbol2() 1362 distance = addr - sym->st_value; in find_elf_symbol2() 1364 } else if ((addr - sym->st_value) == distance) { in find_elf_symbol2()
|