Home
last modified time | relevance | path

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

/Linux-v6.1/net/rxrpc/
Drxkad.c446 struct rxkad_level1_hdr sechdr; in rxkad_verify_packet_1() local
480 if (skb_copy_bits(skb, offset, &sechdr, sizeof(sechdr)) < 0) { in rxkad_verify_packet_1()
485 len -= sizeof(sechdr); in rxkad_verify_packet_1()
487 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_1()
523 struct rxkad_level2_hdr sechdr; in rxkad_verify_packet_2() local
573 if (skb_copy_bits(skb, offset, &sechdr, sizeof(sechdr)) < 0) { in rxkad_verify_packet_2()
578 len -= sizeof(sechdr); in rxkad_verify_packet_2()
580 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_2()
686 struct rxkad_level1_hdr sechdr; in rxkad_locate_data_1() local
688 if (skb_copy_bits(skb, *_offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_locate_data_1()
[all …]
/Linux-v6.1/scripts/mod/
Dmodpost.c322 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local
324 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset()
333 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument
336 sechdr->sh_name); in sech_name()
786 Elf_Shdr *sechdr) in check_section() argument
788 const char *sec = sech_name(elf, sechdr); in check_section()
790 if (sechdr->sh_type == SHT_PROGBITS && in check_section()
791 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1430 Elf_Shdr *sechdr, Elf_Rela *r) in reloc_location() argument
1432 return sym_get_data_by_offset(elf, sechdr->sh_info, r->r_offset); in reloc_location()
[all …]
/Linux-v6.1/kernel/module/
Dkallsyms.c224 const Elf_Shdr *sechdr; in init_build_id() local
228 sechdr = &info->sechdrs[i]; in init_build_id()
229 if (!sect_empty(sechdr) && sechdr->sh_type == SHT_NOTE && in init_build_id()
230 !build_id_parse_buf((void *)sechdr->sh_addr, mod->build_id, in init_build_id()
231 sechdr->sh_size)) in init_build_id()
Dinternal.h104 long module_get_offset(struct module *mod, unsigned int *size, Elf_Shdr *sechdr,
Dmain.c1394 Elf_Shdr *sechdr, unsigned int section) in module_get_offset() argument
1399 ret = ALIGN(*size, sechdr->sh_addralign ?: 1); in module_get_offset()
1400 *size = ret + sechdr->sh_size; in module_get_offset()
/Linux-v6.1/arch/mips/kernel/
Dvpe.c169 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-v6.1/kernel/
Dkexec_file.c1083 Elf_Shdr *sechdr; in kexec_purgatory_get_symbol_addr() local
1089 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_symbol_addr()
1095 return (void *)(sechdr->sh_addr + sym->st_value); in kexec_purgatory_get_symbol_addr()