/linux-master/kernel/module/ |
H A D | debug_kmemleak.c | 20 for (i = 1; i < info->hdr->e_shnum; i++) {
|
H A D | livepatch.c | 33 size = sizeof(*info->sechdrs) * info->hdr->e_shnum;
|
H A D | strict_rwx.c | 90 for (i = 0; i < hdr->e_shnum; i++) {
|
H A D | sysfs.c | 80 for (i = 0; i < info->hdr->e_shnum; i++) 97 for (i = 0; i < info->hdr->e_shnum; i++) { 184 for (i = 0; i < info->hdr->e_shnum; i++) 199 for (loaded = i = 0; i < info->hdr->e_shnum; ++i) {
|
H A D | kallsyms.c | 134 is_core_symbol(src + i, info->sechdrs, info->hdr->e_shnum, 206 is_core_symbol(src + i, info->sechdrs, info->hdr->e_shnum, 233 for (i = 0; i < info->hdr->e_shnum; i++) {
|
/linux-master/arch/mips/boot/tools/ |
H A D | relocs.c | 97 if (shndx < ehdr.e_shnum) 112 for (i = 0; i < ehdr.e_shnum; i++) 235 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); 256 if (ehdr.e_shstrndx >= ehdr.e_shnum) 265 secs = calloc(ehdr.e_shnum, sizeof(struct section)); 267 die("Unable to allocate %d section headers\n", ehdr.e_shnum); 272 for (i = 0; i < ehdr.e_shnum; i++) { 278 i, ehdr.e_shnum, strerror(errno)); 289 if (sec->shdr.sh_link < ehdr.e_shnum) [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | elf.h | 68 Elf32_Half e_shnum; member in struct:elf32_hdr 85 Elf64_Half e_shnum; member in struct:elf64_hdr
|
/linux-master/arch/arm64/include/asm/ |
H A D | module.h | 60 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) {
|
/linux-master/arch/mips/vdso/ |
H A D | genvdso.h | 16 sh_count = swap_uint16(ehdr->e_shnum); 70 sh_count = swap_uint16(ehdr->e_shnum);
|
/linux-master/kernel/ |
H A D | cfi.c | 59 for (i = 1; i < hdr->e_shnum; i++) {
|
H A D | kexec_elf.c | 68 } else if (ehdr->e_shnum > 0 && 97 if (ehdr->e_shoff > 0 && ehdr->e_shnum > 0) { 101 * e_shnum is at most 65536 so calculating 104 shdr_size = sizeof(struct elf_shdr) * ehdr->e_shnum; 157 ehdr->e_shnum = elf16_to_cpu(ehdr, buf_ehdr->e_shnum);
|
H A D | kexec_file.c | 842 for (i = 0; i < pi->ehdr->e_shnum; i++) { 903 sechdrs_size = array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum); 914 for (i = 0; i < pi->ehdr->e_shnum; i++) { 970 for (i = 0; i < pi->ehdr->e_shnum; i++) { 987 if (relsec->sh_info >= pi->ehdr->e_shnum || 988 relsec->sh_link >= pi->ehdr->e_shnum) 1001 if (symtab->sh_link >= pi->ehdr->e_shnum) 1087 for (i = 0; i < ehdr->e_shnum; i++) { 1091 if (sechdrs[i].sh_link >= ehdr->e_shnum) 1106 syms[k].st_shndx >= ehdr->e_shnum) { [all...] |
/linux-master/scripts/ |
H A D | insert-sys-cert.c | 74 if (hdr->e_shnum == SHN_UNDEF) 77 num_sections = hdr->e_shnum; 190 if (hdr->e_shnum == SHN_UNDEF) 193 num_sections = hdr->e_shnum;
|
H A D | recordmcount.h | 213 if (shdr0 && !ehdr->e_shnum) 216 return w2(ehdr->e_shnum); 222 ehdr->e_shnum = 0; 225 ehdr->e_shnum = w2(new_shnum);
|
/linux-master/arch/hexagon/kernel/ |
H A D | module.c | 35 for (i = 0; i < hdr->e_shnum; i++) {
|
/linux-master/arch/riscv/include/asm/ |
H A D | module.h | 122 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) {
|
/linux-master/arch/arm64/kernel/pi/ |
H A D | relacheck.c | 77 for (int i = 0; i < swab_elfhword(ehdr->e_shnum); i++) {
|
/linux-master/arch/mips/kernel/ |
H A D | vpe.c | 196 for (i = 0; i < hdr->e_shnum; i++) 200 for (i = 0; i < hdr->e_shnum; ++i) { 604 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { 619 for (i = 1; i < hdr->e_shnum; i++) { 650 for (i = 0; i < hdr->e_shnum; i++) { 671 hdr->e_shnum, &mod); 674 for (i = 1; i < hdr->e_shnum; i++) { 679 if (info >= hdr->e_shnum) 711 for (i = 0; i < hdr->e_shnum; i++) {
|
/linux-master/arch/riscv/kernel/ |
H A D | module-sections.c | 100 for (i = 0; i < ehdr->e_shnum; i++) { 123 for (i = 0; i < ehdr->e_shnum; i++) {
|
/linux-master/arch/sparc/kernel/ |
H A D | module.c | 66 if (symidx == hdr->e_shnum-1) { 190 for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) {
|
/linux-master/arch/loongarch/kernel/ |
H A D | module-sections.c | 113 for (i = 0; i < ehdr->e_shnum; i++) { 138 for (i = 0; i < ehdr->e_shnum; i++) {
|
/linux-master/arch/s390/tools/ |
H A D | relocs.c | 143 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); 146 shnum = ehdr.e_shnum;
|
/linux-master/arch/sparc/vdso/ |
H A D | vdso2c.h | 65 for (i = 0; i < GET_BE(&hdr->e_shnum); i++) {
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_elf_helpers.h | 59 ELF_GEN_FIELD_GET_SET(hdr, e_shnum, u16)
|
/linux-master/arch/powerpc/kernel/ |
H A D | module.c | 30 for (i = 1; i < hdr->e_shnum; i++)
|