Home
last modified time | relevance | path

Searched refs:sechdr (Results 1 – 7 of 7) sorted by relevance

/linux/kernel/module/
H A Dkallsyms.c227 const Elf_Shdr *sechdr;
231 sechdr = &info->sechdrs[i]; in init_build_id()
232 if (!sect_empty(sechdr) && sechdr->sh_type == SHT_NOTE && in init_build_id()
233 !build_id_parse_buf((void *)sechdr->sh_addr, mod->build_id, in init_build_id()
234 sechdr->sh_size)) in init_build_id()
230 const Elf_Shdr *sechdr; init_build_id() local
H A Dinternal.h128 Elf_Shdr *sechdr, unsigned int section);
H A Dmain.c1634 Elf_Shdr *sechdr, unsigned int section) in module_get_offset_and_type() argument
1640 offset = ALIGN(mod->mem[type].size, sechdr->sh_addralign ?: 1); in module_get_offset_and_type()
1641 mod->mem[type].size = offset + sechdr->sh_size; in module_get_offset_and_type()
/linux/net/rxrpc/
H A Drxkad.c428 struct rxkad_level1_hdr sechdr; in rxkad_verify_packet_1() local
460 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_1()
463 sp->offset += sizeof(sechdr); in rxkad_verify_packet_1()
464 sp->len -= sizeof(sechdr); in rxkad_verify_packet_1()
466 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_1()
492 struct rxkad_level2_hdr sechdr; in rxkad_verify_packet_2() local
540 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_2()
543 sp->offset += sizeof(sechdr); in rxkad_verify_packet_2()
544 sp->len -= sizeof(sechdr); in rxkad_verify_packet_2()
546 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_2()
/linux/scripts/mod/
H A Dmodpost.c321 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local
323 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset()
332 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument
335 sechdr->sh_name); in sech_name()
772 Elf_Shdr *sechdr) in check_section() argument
774 const char *sec = sech_name(elf, sechdr); in check_section()
776 if (sechdr->sh_type == SHT_PROGBITS && in check_section()
777 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1437 Elf_Shdr *sechdr = &elf->sechdrs[i]; in check_sec_ref() local
1439 check_section(mod->name, elf, sechdr); in check_sec_ref()
[all …]
/linux/arch/mips/kernel/
H A Dvpe.c170 static long get_offset(unsigned long *size, Elf_Shdr *sechdr) in get_offset() argument
174 ret = ALIGN(*size, sechdr->sh_addralign ? : 1); in get_offset()
175 *size = ret + sechdr->sh_size; in get_offset()
/linux/kernel/
H A Dkexec_file.c1207 Elf_Shdr *sechdr;
1213 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_set_symbol()
1219 return (void *)(sechdr->sh_addr + sym->st_value); in kexec_purgatory_get_set_symbol()
1190 Elf_Shdr *sechdr; kexec_purgatory_get_symbol_addr() local