Lines Matching refs:sec_num
203 itm_num_t sec_num; in relocation_I() local
212 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_STRING]; in relocation_I()
213 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) {} in relocation_I()
215 info_header->str_plc_tbl.size = ((sizeof (itm_data_t)) * sec_num); in relocation_I()
216 info_header->str_plc_tbl.number = sec_num; in relocation_I()
218 info_header->str_sec.number = sec_num; in relocation_I()
221 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_DIREC]; in relocation_I()
222 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) {} in relocation_I()
224 info_header->direc_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
225 info_header->direc_plc_tbl.number = sec_num; in relocation_I()
227 info_header->direc_tbl_sec.number = sec_num; in relocation_I()
230 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_COND]; in relocation_I()
231 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) {} in relocation_I()
233 info_header->cond_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
234 info_header->cond_plc_tbl.number = sec_num; in relocation_I()
236 info_header->cond_tbl_sec.number = sec_num; in relocation_I()
239 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_MAP]; in relocation_I()
240 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) { in relocation_I()
243 info_header->map_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
244 info_header->map_plc_tbl.number = sec_num; in relocation_I()
246 info_header->map_tbl_sec.number = sec_num; in relocation_I()
249 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_OP]; in relocation_I()
250 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) { in relocation_I()
253 info_header->op_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
254 info_header->op_plc_tbl.number = sec_num; in relocation_I()
256 info_header->op_tbl_sec.number = sec_num; in relocation_I()
259 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_RANGE]; in relocation_I()
260 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) {} in relocation_I()
262 info_header->range_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
263 info_header->range_plc_tbl.number = sec_num; in relocation_I()
265 info_header->range_tbl_sec.number = sec_num; in relocation_I()
268 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_ESCAPESEQ]; in relocation_I()
269 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) {} in relocation_I()
271 info_header->escapeseq_plc_tbl.size = sec_num * (sizeof (itm_place_t)); in relocation_I()
272 info_header->escapeseq_plc_tbl.number = sec_num; in relocation_I()
274 info_header->escapeseq_tbl_sec.number = sec_num; in relocation_I()
277 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_DATA]; in relocation_I()
278 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) {} in relocation_I()
280 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) {} in relocation_I()
282 info_header->data_plc_tbl.size = ((sizeof (itm_place_t)) * sec_num); in relocation_I()
283 info_header->data_plc_tbl.number = sec_num; in relocation_I()
285 info_header->data_sec.number = sec_num; in relocation_I()
290 for (sec_num = 0, sec_size = 0, name = name_first; in relocation_I()
298 sec_num += 1; in relocation_I()
301 info_header->name_plc_tbl.size = ((sizeof (itm_data_t)) * sec_num); in relocation_I()
302 info_header->name_plc_tbl.number = sec_num; in relocation_I()
304 for (sec_num = 0, name = name_first; name; name = name->next) { in relocation_I()
311 sec_num += 1; in relocation_I()