Searched refs:sechdr (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/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 | 1482 Elf_Shdr *sechdr, unsigned int section) in module_get_offset_and_type() argument 1488 offset = ALIGN(mod->mem[type].size, sechdr->sh_addralign ?: 1); in module_get_offset_and_type() 1489 mod->mem[type].size = offset + sechdr->sh_size; in module_get_offset_and_type()
|
/linux-6.6.21/net/rxrpc/ |
D | rxkad.c | 410 struct rxkad_level1_hdr sechdr; in rxkad_verify_packet_1() local 442 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_1() 445 sp->offset += sizeof(sechdr); in rxkad_verify_packet_1() 446 sp->len -= sizeof(sechdr); in rxkad_verify_packet_1() 448 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_1() 474 struct rxkad_level2_hdr sechdr; in rxkad_verify_packet_2() local 522 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_2() 525 sp->offset += sizeof(sechdr); in rxkad_verify_packet_2() 526 sp->len -= sizeof(sechdr); in rxkad_verify_packet_2() 528 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_2()
|
/linux-6.6.21/scripts/mod/ |
D | modpost.c | 338 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local 340 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset() 349 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument 352 sechdr->sh_name); in sech_name() 775 Elf_Shdr *sechdr) in check_section() argument 777 const char *sec = sech_name(elf, sechdr); in check_section() 779 if (sechdr->sh_type == SHT_PROGBITS && in check_section() 780 !(sechdr->sh_flags & SHF_ALLOC) && in check_section() 1478 Elf_Shdr *sechdr) in section_rela() argument 1481 unsigned int fsecndx = sechdr->sh_info; in section_rela() [all …]
|
/linux-6.6.21/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.6.21/kernel/ |
D | kexec_file.c | 1105 Elf_Shdr *sechdr; in kexec_purgatory_get_symbol_addr() local 1111 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_symbol_addr() 1117 return (void *)(sechdr->sh_addr + sym->st_value); in kexec_purgatory_get_symbol_addr()
|