Searched defs:scn_cache (Results 1 - 2 of 2) sorted by relevance
/openjdk7/hotspot/agent/src/os/bsd/ |
H A D | symtab.c | 63 struct elf_section *scn_cache = NULL; local 87 scn_cache = calloc(ehdr.e_shnum, sizeof(*scn_cache)); 88 if (scn_cache == NULL) { 93 scn_cache[cnt].c_shdr = cursct; 97 if ( (scn_cache[cnt].c_data = read_section_data(fd, &ehdr, cursct)) == NULL) { 115 ELF_SHDR *shdr = scn_cache[cnt].c_shdr; 132 syms = (ELF_SYM *)scn_cache[cnt].c_data; 148 size = scn_cache[shdr->sh_link].c_shdr->sh_size; 152 memcpy(symtab->strs, scn_cache[shd [all...] |
/openjdk7/hotspot/agent/src/os/linux/ |
H A D | symtab.c | 166 struct elf_section *scn_cache) 172 if (scn_cache[ehdr->e_shstrndx].c_data == NULL) { 173 if ((scn_cache[ehdr->e_shstrndx].c_data 179 strtab = scn_cache[ehdr->e_shstrndx].c_data; 185 scn_cache[cnt].c_data = read_section_data(fd, ehdr, cursct); 186 return &scn_cache[cnt]; 199 struct elf_section *scn_cache) 203 shbuf, scn_cache); 263 struct elf_section *scn_cache) 265 fd = open_file_from_debug_link(name, fd, ehdr, shbuf, scn_cache); 162 find_section_by_name(char *name, int fd, ELF_EHDR *ehdr, ELF_SHDR *shbuf, struct elf_section *scn_cache) argument 195 open_file_from_debug_link(const char *name, int fd, ELF_EHDR *ehdr, ELF_SHDR *shbuf, struct elf_section *scn_cache) argument 259 build_symtab_from_debug_link(const char *name, int fd, ELF_EHDR *ehdr, ELF_SHDR *shbuf, struct elf_section *scn_cache) argument 329 struct elf_section *scn_cache = NULL; local [all...] |
Completed in 27 milliseconds