Home
last modified time | relevance | path

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

/linux/scripts/mod/
H A Dmodpost.c332 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local
334 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset()
343 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument
346 sechdr->sh_name); in sech_name()
785 Elf_Shdr *sechdr) in check_section() argument
787 const char *sec = sech_name(elf, sechdr); in check_section()
789 if (sechdr->sh_type == SHT_PROGBITS && in check_section()
790 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1450 Elf_Shdr *sechdr = &elf->sechdrs[i]; in check_sec_ref() local
1452 check_section(mod, elf, sechdr); in check_sec_ref()
[all …]
/linux/net/rxrpc/
H A Drxkad.c354 struct rxkad_level1_hdr *sechdr; in rxkad_secure_packet()
370 sechdr = data; in rxkad_secure_packet()
371 call->rx_dec_offset = sizeof(*sechdr); in rxkad_secure_packet()
372 len -= sizeof(*sechdr); in rxkad_secure_packet()
374 buf = ntohl(sechdr->data_size); in rxkad_secure_packet()
399 struct rxkad_level2_hdr *sechdr; in rxkad_secure_packet()
420 sechdr = data; in rxkad_secure_packet()
421 call->rx_dec_offset = sizeof(*sechdr); in rxkad_secure_packet()
422 len -= sizeof(*sechdr); in rxkad_secure_packet()
424 buf = ntohl(sechdr in rxkad_secure_packet()
433 struct rxkad_level1_hdr *sechdr; rxkad_verify_packet_1() local
495 struct rxkad_level2_hdr *sechdr; rxkad_verify_packet_2() local
[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/module/
H A Dmain.c1657 Elf_Shdr *sechdr, unsigned int section) in module_get_offset_and_type()
1663 offset = ALIGN(mod->mem[type].size, sechdr->sh_addralign ?: 1); in module_get_offset_and_type()
1664 mod->mem[type].size = offset + sechdr->sh_size; in module_get_offset_and_type()
1658 module_get_offset_and_type(struct module * mod,enum mod_mem_type type,Elf_Shdr * sechdr,unsigned int section) module_get_offset_and_type() argument