Lines Matching defs:idx
138 grub_uint32_t idx;
151 idx = TEXT_SECTION;
152 shdr[idx].sh_flags = SHF_ALLOC | SHF_EXECINSTR;
156 idx = RDATA_SECTION;
157 shdr[idx].sh_flags = SHF_ALLOC;
161 idx = DATA_SECTION;
162 shdr[idx].sh_flags = SHF_ALLOC | SHF_WRITE;
166 idx = BSS_SECTION;
167 shdr[idx].sh_flags = SHF_ALLOC | SHF_WRITE;
170 idx = MODNAME_SECTION;
172 idx = MODDEPS_SECTION;
174 idx = MODLICENSE_SECTION;
181 section_map[i + 1] = idx;
183 shdr[idx].sh_type = (idx == BSS_SECTION) ? SHT_NOBITS : SHT_PROGBITS;
184 shdr[idx].sh_size = pe_shdr->raw_data_size;
185 shdr[idx].sh_addralign = 1 << (((pe_shdr->characteristics >>
189 if (idx != BSS_SECTION)
191 shdr[idx].sh_offset = offset;
209 shdr[num_sections].sh_info = idx;
211 shdr[idx].sh_name = shdr[num_sections].sh_name + 4;
216 shdr[idx].sh_name = insert_string (name);