Lines Matching refs:sh_size

245 	/* Section 0 has sh_addr 0 and sh_size 0. */
246 *num = info->sechdrs[sec].sh_size / object_size;
274 /* Section 0 has sh_addr 0 and sh_size 0. */
275 *num = info->sechdrs[sec].sh_size / object_size;
414 if (!pcpusec->sh_size)
423 mod->percpu = __alloc_reserved_percpu(pcpusec->sh_size, align);
426 mod->name, (unsigned long)pcpusec->sh_size);
429 mod->percpu_size = pcpusec->sh_size;
507 if (info->sechdrs[info->index.pcpu].sh_size != 0)
1071 unsigned long size = infosec->sh_size;
1453 for (i = 1; i < symsec->sh_size / sizeof(Elf_Sym); i++) {
1566 mod->mem[type].size = offset + sechdr->sh_size;
1632 if (codetag_needs_module_section(mod, sname, s->sh_size)) {
1726 secend = shdr->sh_offset + shdr->sh_size;
1828 || sechdrs[0].sh_size != 0
1898 if (strhdr->sh_size == 0) {
1902 if (secstrings[strhdr->sh_size - 1] != '\0') {
1912 if (shdr->sh_name >= strhdr->sh_size) {
2006 if (shdr->sh_size != sizeof(struct module)) {
2130 crc_count = info->sechdrs[vers_ext_crc].sh_size / sizeof(u32);
2133 remaining_len = info->sechdrs[vers_ext_name].sh_size;
2223 if (str_shdr->sh_size == 0) {
2231 if (strtab[str_shdr->sh_size - 1] != '\0') {
2240 for (i = 0; i < sym_shdr->sh_size / sizeof(*syms); i++) {
2241 if (syms[i].st_name >= str_shdr->sh_size) {
2581 /* sechdrs[0].sh_size is always zero */
2672 if (codetag_needs_module_section(mod, sname, shdr->sh_size)) {
2673 dest = codetag_alloc_module_section(mod, sname, shdr->sh_size,
2701 (WARN_ON_ONCE(shdr->sh_size != sizeof(struct module)))) {
2705 memcpy(dest, (void *)shdr->sh_addr, shdr->sh_size);
2715 (long)shdr->sh_size, info->secstrings + shdr->sh_name);
2882 info->sechdrs[info->index.pcpu].sh_size);