Lines Matching refs:sym
1094 const Elf_Sym *sym; in kexec_purgatory_get_symbol_addr() local
1097 sym = kexec_purgatory_find_symbol(pi, name); in kexec_purgatory_get_symbol_addr()
1098 if (!sym) in kexec_purgatory_get_symbol_addr()
1101 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_symbol_addr()
1107 return (void *)(sechdr->sh_addr + sym->st_value); in kexec_purgatory_get_symbol_addr()
1118 const Elf_Sym *sym; in kexec_purgatory_get_set_symbol() local
1122 sym = kexec_purgatory_find_symbol(pi, name); in kexec_purgatory_get_set_symbol()
1123 if (!sym) in kexec_purgatory_get_set_symbol()
1126 if (sym->st_size != size) { in kexec_purgatory_get_set_symbol()
1128 name, (unsigned long)sym->st_size, size); in kexec_purgatory_get_set_symbol()
1132 sec = pi->sechdrs + sym->st_shndx; in kexec_purgatory_get_set_symbol()
1140 sym_buf = (char *)pi->purgatory_buf + sec->sh_offset + sym->st_value; in kexec_purgatory_get_set_symbol()