Home
last modified time | relevance | path

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

/kernel/
Dkexec_file.c165 vfree(pi->sechdrs); in kimage_file_post_load_cleanup()
166 pi->sechdrs = NULL; in kimage_file_post_load_cleanup()
834 const Elf_Shdr *sechdrs; in kexec_purgatory_setup_kbuf() local
840 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff; in kexec_purgatory_setup_kbuf()
845 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_kbuf()
848 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_kbuf()
849 if (sechdrs[i].sh_type != SHT_NOBITS) { in kexec_purgatory_setup_kbuf()
853 kbuf->bufsz += sechdrs[i].sh_size; in kexec_purgatory_setup_kbuf()
858 bss_sz += sechdrs[i].sh_size; in kexec_purgatory_setup_kbuf()
897 Elf_Shdr *sechdrs; in kexec_purgatory_setup_sechdrs() local
[all …]
Dmodule.c348 Elf_Shdr *shdr = &info->sechdrs[i]; in find_sec()
361 return (void *)info->sechdrs[find_sec(info, name)].sh_addr; in section_addr()
373 *num = info->sechdrs[sec].sh_size / object_size; in section_objs()
374 return (void *)info->sechdrs[sec].sh_addr; in section_objs()
644 Elf_Shdr *pcpusec = &info->sechdrs[info->index.pcpu]; in percpu_modalloc()
741 if (info->sechdrs[info->index.pcpu].sh_size != 0) in percpu_modalloc()
1299 Elf_Shdr *sechdrs = info->sechdrs; in check_version() local
1312 versions = (void *) sechdrs[versindex].sh_addr; in check_version()
1313 num_versions = sechdrs[versindex].sh_size in check_version()
1545 if (!sect_empty(&info->sechdrs[i])) in add_sect_attrs()
[all …]
Dmodule-internal.h17 Elf_Shdr *sechdrs; member
/kernel/livepatch/
Dcore.c263 sec = pmod->klp_info->sechdrs + i; in klp_write_object_relocations()
288 ret = apply_relocate_add(pmod->klp_info->sechdrs, in klp_write_object_relocations()