Lines Matching refs:sh_flags

377 		if ((shdr->sh_flags & SHF_ALLOC)  in find_sec()
1457 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty()
2188 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations()
2249 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2250 || (s->sh_flags & masks[m][1]) in layout_sections()
2278 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2279 || (s->sh_flags & masks[m][1]) in layout_sections()
2411 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type()
2413 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type()
2415 if (!(sechdrs[sym->st_shndx].sh_flags & SHF_WRITE)) in elf_type()
2417 else if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) in elf_type()
2423 if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) in elf_type()
2446 if (!(sec->sh_flags & SHF_ALLOC) in is_core_symbol()
2448 || !(sec->sh_flags & SHF_EXECINSTR) in is_core_symbol()
2471 symsect->sh_flags |= SHF_ALLOC; in layout_symtab()
2495 strsect->sh_flags |= SHF_ALLOC; in layout_symtab()
2592 if (!(info->sechdrs[i].sh_flags & SHF_ALLOC) || in kmemleak_load_module()
2593 !(info->sechdrs[i].sh_flags & SHF_WRITE) || in kmemleak_load_module()
2594 (info->sechdrs[i].sh_flags & SHF_EXECINSTR)) in kmemleak_load_module()
2789 shdr->sh_flags &= ~(unsigned long)SHF_ALLOC; in rewrite_section_headers()
2799 info->sechdrs[info->index.info].sh_flags &= ~(unsigned long)SHF_ALLOC; in rewrite_section_headers()
2800 info->sechdrs[info->index.vers].sh_flags &= ~(unsigned long)SHF_ALLOC; in rewrite_section_headers()
3023 if (!(shdr->sh_flags & SHF_ALLOC)) in move_module()
3131 info->sechdrs[info->index.pcpu].sh_flags &= ~(unsigned long)SHF_ALLOC; in layout_and_allocate()