/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | rxkad.c | 181 void *sechdr, in rxkad_secure_packet_auth() 196 memcpy(sechdr, &hdr, sizeof(hdr)); in rxkad_secure_packet_auth() 201 sg_init_one(&sg, sechdr, 8); in rxkad_secure_packet_auth() 218 void *sechdr, in rxkad_secure_packet_encrypt() 238 memcpy(sechdr, &rxkhdr, sizeof(rxkhdr)); in rxkad_secure_packet_encrypt() 244 sg_init_one(&sg[0], sechdr, sizeof(rxkhdr)); in rxkad_secure_packet_encrypt() 279 void *sechdr) in rxkad_secure_packet() 332 ret = rxkad_secure_packet_auth(call, skb, data_size, sechdr, in rxkad_secure_packet() 337 sechdr, req); in rxkad_secure_packet() 356 struct rxkad_level1_hdr sechdr; in rxkad_verify_packet_1() local 178 rxkad_secure_packet_auth(const struct rxrpc_call *call, struct sk_buff *skb, u32 data_size, void *sechdr, struct skcipher_request *req) rxkad_secure_packet_auth() argument 215 rxkad_secure_packet_encrypt(const struct rxrpc_call *call, struct sk_buff *skb, u32 data_size, void *sechdr, struct skcipher_request *req) rxkad_secure_packet_encrypt() argument 276 rxkad_secure_packet(struct rxrpc_call *call, struct sk_buff *skb, size_t data_size, void *sechdr) rxkad_secure_packet() argument 434 struct rxkad_level2_hdr sechdr; rxkad_verify_packet_2() local 598 struct rxkad_level1_hdr sechdr; rxkad_locate_data_1() local 612 struct rxkad_level2_hdr sechdr; rxkad_locate_data_2() local [all...] |
H A D | insecure.c | 24 void *sechdr) in none_secure_packet() 21 none_secure_packet(struct rxrpc_call *call, struct sk_buff *skb, size_t data_size, void *sechdr) none_secure_packet() argument
|
/kernel/linux/linux-5.10/scripts/mod/ |
H A D | modpost.c | 321 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local 324 offset -= sechdr->sh_addr; in sym_get_data_by_offset() 326 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset() 335 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument 338 sechdr->sh_name); in sech_name() 902 Elf_Shdr *sechdr) in check_section() 904 const char *sec = sech_name(elf, sechdr); in check_section() 906 if (sechdr->sh_type == SHT_PROGBITS && in check_section() 907 !(sechdr->sh_flags & SHF_ALLOC) && in check_section() 1750 Elf_Shdr *sechdr, Elf_Rel in reloc_location() 901 check_section(const char *modname, struct elf_info *elf, Elf_Shdr *sechdr) check_section() argument 1749 reloc_location(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) reloc_location() argument 1755 addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) addend_386_rel() argument 1798 addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) addend_arm_rel() argument 1832 addend_mips_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) addend_mips_rel() argument 1863 section_rela(const char *modname, struct elf_info *elf, Elf_Shdr *sechdr) section_rela() argument 1916 section_rel(const char *modname, struct elf_info *elf, Elf_Shdr *sechdr) section_rel() argument [all...] |
/kernel/linux/linux-6.6/kernel/module/ |
H A 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()
|
H A D | internal.h | 111 Elf_Shdr *sechdr, unsigned int section);
|
H A D | main.c | 1482 Elf_Shdr *sechdr, unsigned int section) in module_get_offset_and_type() 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() 1481 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
|
/kernel/linux/linux-6.6/net/rxrpc/ |
H A 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() [all...] |
/kernel/linux/linux-6.6/scripts/mod/ |
H A 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() 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() 1481 unsigned int fsecndx = sechdr in section_rela() 774 check_section(const char *modname, struct elf_info *elf, Elf_Shdr *sechdr) check_section() argument 1477 section_rela(struct module *mod, struct elf_info *elf, Elf_Shdr *sechdr) section_rela() argument 1519 section_rel(struct module *mod, struct elf_info *elf, Elf_Shdr *sechdr) section_rel() argument [all...] |
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A 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()
|
/kernel/linux/linux-6.6/kernel/ |
H A 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()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | kexec_file.c | 1107 Elf_Shdr *sechdr; in kexec_purgatory_get_symbol_addr() local 1113 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_symbol_addr() 1119 return (void *)(sechdr->sh_addr + sym->st_value); in kexec_purgatory_get_symbol_addr()
|
H A D | module.c | 2477 Elf_Shdr *sechdr, unsigned int section) in get_offset() 2482 ret = ALIGN(*size, sechdr->sh_addralign ?: 1); in get_offset() 2483 *size = ret + sechdr->sh_size; in get_offset() 2476 get_offset(struct module *mod, unsigned int *size, Elf_Shdr *sechdr, unsigned int section) get_offset() argument
|