Home
last modified time | relevance | path

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

/linux/net/rxrpc/
A 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()
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()
688 if (skb_copy_bits(skb, *_offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_locate_data_1()
690 *_offset += sizeof(sechdr); in rxkad_locate_data_1()
702 if (skb_copy_bits(skb, *_offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_locate_data_2()
[all …]
/linux/scripts/mod/
A Dmodpost.c336 offset -= sechdr->sh_addr; in sym_get_data_by_offset()
350 sechdr->sh_name); in sech_name()
899 Elf_Shdr *sechdr) in check_section() argument
903 if (sechdr->sh_type == SHT_PROGBITS && in check_section()
904 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1742 Elf_Shdr *sechdr, Elf_Rela *r) in reloc_location() argument
1801 sechdr->sh_offset + in addend_arm_rel()
1834 Elf_Shdr *sechdr) in section_rela() argument
1845 fromsec = sech_name(elf, sechdr); in section_rela()
1880 Elf_Shdr *sechdr) in section_rel() argument
[all …]
/linux/arch/mips/kernel/
A 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/kernel/
A Dkexec_file.c1125 Elf_Shdr *sechdr; in kexec_purgatory_get_symbol_addr() local
1131 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_symbol_addr()
1137 return (void *)(sechdr->sh_addr + sym->st_value); in kexec_purgatory_get_symbol_addr()
A Dmodule.c2400 Elf_Shdr *sechdr, unsigned int section) in get_offset() argument
2405 ret = ALIGN(*size, sechdr->sh_addralign ?: 1); in get_offset()
2406 *size = ret + sechdr->sh_size; in get_offset()
2806 const Elf_Shdr *sechdr; in init_build_id() local
2810 sechdr = &info->sechdrs[i]; in init_build_id()
2811 if (!sect_empty(sechdr) && sechdr->sh_type == SHT_NOTE && in init_build_id()
2812 !build_id_parse_buf((void *)sechdr->sh_addr, mod->build_id, in init_build_id()
2813 sechdr->sh_size)) in init_build_id()

Completed in 30 milliseconds