Lines Matching refs:sh_size
399 /* Section 0 has sh_addr 0 and sh_size 0. */
400 *num = info->sechdrs[sec].sh_size / object_size;
647 if (!pcpusec->sh_size)
656 mod->percpu = __alloc_reserved_percpu(pcpusec->sh_size, align);
659 mod->name, (unsigned long)pcpusec->sh_size);
662 mod->percpu_size = pcpusec->sh_size;
730 if (info->sechdrs[info->index.pcpu].sh_size != 0)
1307 num_versions = sechdrs[versindex].sh_size
1457 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0;
1623 nattr->size = info->sechdrs[i].sh_size;
2120 for (i = 1; i < symsec->sh_size / sizeof(Elf_Sym); i++) {
2219 *size = ret + sechdr->sh_size;
2341 unsigned long size = infosec->sh_size;
2477 nsrc = symsect->sh_size / sizeof(*src);
2525 mod->kallsyms->num_symtab = symsec->sh_size / sizeof(Elf_Sym);
2598 info->sechdrs[i].sh_size, GFP_KERNEL);
2777 && info->len < shdr->sh_offset + shdr->sh_size) {
2962 /* sechdrs[0].sh_size is always zero */
3033 memcpy(dest, (void *)shdr->sh_addr, shdr->sh_size);
3173 info->sechdrs[info->index.pcpu].sh_size);