Lines Matching defs:sinfo

299 	SINFO			sinfo;
308 * sinfo - Address of first SINFO structure to free
317 sinfo_free(SINFO *sinfo, size_t n)
319 for (; n-- > 0; sinfo++) {
320 if (sinfo->data != NULL) {
321 if (sinfo->data->d_buf != NULL)
322 free(sinfo->data->d_buf);
323 free(sinfo->data);
324 sinfo->data = NULL;
327 if (sinfo->shdr) {
328 free(sinfo->shdr);
329 sinfo->shdr = NULL;
331 sinfo->type = SINFO_T_NULL;
364 bzero(&elt->sinfo, sizeof (elt->sinfo));
365 return (&elt->sinfo);
380 sinfo_free(&elt->sinfo, 1);
1120 * seclist is the root of the list. Its sinfo field is not
1129 SINFO *sinfo;
1171 sinfo = &sec.dyn;
1176 sinfo = &sec.interp;
1180 if ((sinfo = sinfo_list_alloc(&fstate, &seclist)) ==
1183 sinfo->type = SINFO_T_NOTE;
1189 sinfo = &sec.unwind;
1194 sinfo = &sec.cap;
1203 sinfo->vaddr = fstate.phdr[ndx].p_vaddr;
1204 sinfo->offset = fstate.phdr[ndx].p_offset;
1205 sinfo->size = fstate.phdr[ndx].p_filesz;
1446 for (sinfo = secarr; ndx-- > 0; sinfo++)
1447 if ((sinfo->type != SINFO_T_NULL) && (sinfo->size == 0))
1448 sinfo->type = SINFO_T_NULL;
1473 for (sinfo = secarr; ndx-- > 0; sinfo++) {
1474 if ((sinfo->type != SINFO_T_NULL) && (sinfo->data == NULL))
1475 (void) get_data(&fstate, sinfo);
1476 if (sinfo->data != NULL)
1481 sinfo = &sinfo_list->sinfo;
1482 if ((sinfo->type != SINFO_T_NULL) && (sinfo->data == NULL))
1483 (void) get_data(&fstate, sinfo);
1484 if (sinfo->data != NULL)
1507 for (sinfo = secarr; num_sinfo > 0; sinfo++) {
1508 if (sinfo->data != NULL) {
1510 _cache->c_shdr = sinfo->shdr;
1511 _cache->c_data = sinfo->data;
1512 _cache->c_name = (char *)sinfo_data[sinfo->type].name;
1520 sinfo = &sinfo_list->sinfo;
1521 if (sinfo->data != NULL) {
1523 _cache->c_shdr = sinfo->shdr;
1524 _cache->c_data = sinfo->data;
1525 _cache->c_name = (char *)sinfo_data[sinfo->type].name;