Home
last modified time | relevance | path

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

/scripts/
Dcheckstack.pl143 my $addr = $1;
144 $addr =~ s/ /0/g;
145 $addr = "0x$addr";
147 my $intro = "$addr $func [$file]:";
160 my $addr = $1;
161 $addr =~ s/ /0/g;
162 $addr = "0x$addr";
164 my $intro = "$addr $func [$file]:";
Dkallsyms.c33 unsigned long long addr; member
82 static int read_symbol_tr(const char *sym, unsigned long long addr) in read_symbol_tr() argument
91 tr->start = addr; in read_symbol_tr()
94 tr->end = addr; in read_symbol_tr()
108 rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, str); in read_symbol()
122 _text = s->addr; in read_symbol()
123 else if (read_symbol_tr(sym, s->addr) == 0) in read_symbol()
168 if (s->addr >= tr->start && s->addr <= tr->end) in symbol_valid_tr()
212 if ((s->addr == text_range_text->end && in symbol_valid()
214 (s->addr == text_range_inittext->end && in symbol_valid()
[all …]
Drecordmcount.c122 void *const addr = malloc(size); in umalloc() local
123 if (addr == 0) { in umalloc()
127 return addr; in umalloc()
173 void *addr; in mmap_file() local
184 addr = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, in mmap_file()
187 if (addr == MAP_FAILED) { in mmap_file()
189 addr = umalloc(sb.st_size); in mmap_file()
190 uread(fd_map, addr, sb.st_size); in mmap_file()
192 return addr; in mmap_file()
Dsortextable.c83 void *addr; in mmap_file() local
94 addr = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_SHARED, in mmap_file()
96 if (addr == MAP_FAILED) { in mmap_file()
101 return addr; in mmap_file()
/scripts/dtc/
Dfdtdump.c61 uint64_t addr, size; in dump_blob() local
88 addr = fdt64_to_cpu(p_rsvmap[i].address); in dump_blob()
90 if (addr == 0 && size == 0) in dump_blob()
94 (unsigned long long)addr, (unsigned long long)size); in dump_blob()
Ddata.c215 struct data data_append_addr(struct data d, uint64_t addr) in data_append_addr() argument
217 return data_append_integer(d, addr, sizeof(addr) * 8); in data_append_addr()
Ddtc.h115 struct data data_append_addr(struct data d, uint64_t addr);
/scripts/dtc/libfdt/
Dfdt_sw.c110 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) in fdt_add_reservemap_entry() argument
125 re->address = cpu_to_fdt64(addr); in fdt_add_reservemap_entry()
Dlibfdt.h990 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size);
/scripts/mod/
Dmodpost.c1154 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol() argument
1172 if (sym->st_value == addr) in find_elf_symbol()
1175 d = sym->st_value - addr; in find_elf_symbol()
1177 d = addr - sym->st_value; in find_elf_symbol()
1220 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2() argument
1237 if (sym->st_value <= addr) { in find_elf_symbol2()
1238 if ((addr - sym->st_value) < distance) { in find_elf_symbol2()
1239 distance = addr - sym->st_value; in find_elf_symbol2()
1241 } else if ((addr - sym->st_value) == distance) { in find_elf_symbol2()