Lines Matching refs:sh_size
213 /* Section 0 has sh_addr 0 and sh_size 0. */
214 *num = info->sechdrs[sec].sh_size / object_size;
242 /* Section 0 has sh_addr 0 and sh_size 0. */
243 *num = info->sechdrs[sec].sh_size / object_size;
382 if (!pcpusec->sh_size)
391 mod->percpu = __alloc_reserved_percpu(pcpusec->sh_size, align);
394 mod->name, (unsigned long)pcpusec->sh_size);
397 mod->percpu_size = pcpusec->sh_size;
475 if (info->sechdrs[info->index.pcpu].sh_size != 0)
1039 unsigned long size = infosec->sh_size;
1401 for (i = 1; i < symsec->sh_size / sizeof(Elf_Sym); i++) {
1514 mod->mem[type].size = offset + sechdr->sh_size;
1660 secend = shdr->sh_offset + shdr->sh_size;
1763 if (strhdr->sh_size == 0) {
1767 if (info->secstrings[strhdr->sh_size - 1] != '\0') {
1777 || info->sechdrs[0].sh_size != 0
1819 if (shdr->sh_name >= strhdr->sh_size) {
1889 if (shdr->sh_size != sizeof(struct module)) {
2189 /* sechdrs[0].sh_size is always zero */
2282 (WARN_ON_ONCE(shdr->sh_size != sizeof(struct module)))) {
2286 memcpy(dest, (void *)shdr->sh_addr, shdr->sh_size);
2296 (long)shdr->sh_size, info->secstrings + shdr->sh_name);
2449 info->sechdrs[info->index.pcpu].sh_size);