Lines Matching refs:sh_size
250 /* Section 0 has sh_addr 0 and sh_size 0. */
251 *num = info->sechdrs[sec].sh_size / object_size;
490 if (!pcpusec->sh_size)
499 mod->percpu = __alloc_reserved_percpu(pcpusec->sh_size, align);
502 mod->name, (unsigned long)pcpusec->sh_size);
505 mod->percpu_size = pcpusec->sh_size;
573 if (info->sechdrs[info->index.pcpu].sh_size != 0)
1150 num_versions = sechdrs[versindex].sh_size
1294 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0;
1460 nattr->size = info->sechdrs[i].sh_size;
1949 for (i = 1; i < symsec->sh_size / sizeof(Elf_Sym); i++) {
2048 *size = ret + sechdr->sh_size;
2170 unsigned long size = infosec->sh_size;
2306 nsrc = symsect->sh_size / sizeof(*src);
2354 mod->kallsyms->num_symtab = symsec->sh_size / sizeof(Elf_Sym);
2443 info->sechdrs[i].sh_size, GFP_KERNEL);
2622 && info->len < shdr->sh_offset + shdr->sh_size) {
2807 /* sechdrs[0].sh_size is always zero */
2878 memcpy(dest, (void *)shdr->sh_addr, shdr->sh_size);
3018 info->sechdrs[info->index.pcpu].sh_size);