Searched refs:sechdr (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/kernel/module/ |
D | kallsyms.c | 230 const Elf_Shdr *sechdr; in init_build_id() local 234 sechdr = &info->sechdrs[i]; in init_build_id() 235 if (!sect_empty(sechdr) && sechdr->sh_type == SHT_NOTE && in init_build_id() 236 !build_id_parse_buf((void *)sechdr->sh_addr, mod->build_id, in init_build_id() 237 sechdr->sh_size)) in init_build_id()
|
D | internal.h | 111 Elf_Shdr *sechdr, unsigned int section);
|
D | main.c | 1507 Elf_Shdr *sechdr, unsigned int section) in module_get_offset_and_type() argument 1513 offset = ALIGN(mod->mem[type].size, sechdr->sh_addralign ?: 1); in module_get_offset_and_type() 1514 mod->mem[type].size = offset + sechdr->sh_size; in module_get_offset_and_type()
|
/linux-6.12.1/net/rxrpc/ |
D | rxkad.c | 412 struct rxkad_level1_hdr sechdr; in rxkad_verify_packet_1() local 444 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_1() 447 sp->offset += sizeof(sechdr); in rxkad_verify_packet_1() 448 sp->len -= sizeof(sechdr); in rxkad_verify_packet_1() 450 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_1() 476 struct rxkad_level2_hdr sechdr; in rxkad_verify_packet_2() local 524 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_2() 527 sp->offset += sizeof(sechdr); in rxkad_verify_packet_2() 528 sp->len -= sizeof(sechdr); in rxkad_verify_packet_2() 530 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_2()
|
/linux-6.12.1/scripts/mod/ |
D | modpost.c | 313 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local 315 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset() 324 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument 327 sechdr->sh_name); in sech_name() 754 Elf_Shdr *sechdr) in check_section() argument 756 const char *sec = sech_name(elf, sechdr); in check_section() 758 if (sechdr->sh_type == SHT_PROGBITS && in check_section() 759 !(sechdr->sh_flags & SHF_ALLOC) && in check_section() 1419 Elf_Shdr *sechdr = &elf->sechdrs[i]; in check_sec_ref() local 1421 check_section(mod->name, elf, sechdr); in check_sec_ref() [all …]
|
/linux-6.12.1/arch/mips/kernel/ |
D | vpe.c | 169 static long get_offset(unsigned long *size, Elf_Shdr *sechdr) in get_offset() argument 173 ret = ALIGN(*size, sechdr->sh_addralign ? : 1); in get_offset() 174 *size = ret + sechdr->sh_size; in get_offset()
|
/linux-6.12.1/kernel/ |
D | kexec_file.c | 1129 Elf_Shdr *sechdr; in kexec_purgatory_get_symbol_addr() local 1135 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_symbol_addr() 1141 return (void *)(sechdr->sh_addr + sym->st_value); in kexec_purgatory_get_symbol_addr()
|