Lines Matching refs:sgp

682 	Sg_desc	*sgp;  in eh_frame_muldef()  local
692 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in eh_frame_muldef()
693 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in eh_frame_muldef()
723 os_desc_hash(Sg_desc *sgp, Os_desc *osp) in os_desc_hash() argument
730 if ((nitems = aplist_nitems(sgp->sg_osdescs)) < min_size) { in os_desc_hash()
734 if ((hash = sgp->sg_hashtab) != NULL && hash->osh_hashtab != NULL) { in os_desc_hash()
769 if ((sgp->sg_hashtab = hash) == NULL) in os_desc_hash()
784 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx1, osp)) { in os_desc_hash()
812 Sg_desc *sgp; in ld_place_section() local
905 sgp = NULL; in ld_place_section()
928 sgp = enp->ec_segment; in ld_place_section()
948 sgp = enp->ec_segment; in ld_place_section()
958 assert(sgp != NULL); in ld_place_section()
1005 (sgp->sg_flags & FLG_SG_IS_ORDER)) { in ld_place_section()
1124 if (alist_nitems(sgp->sg_os_order) > 0) { in ld_place_section()
1127 for (ALIST_TRAVERSE(sgp->sg_os_order, idx1, scop)) { in ld_place_section()
1163 if (os_ndx == 0 && (hash = sgp->sg_hashtab) != NULL) { in ld_place_section()
1164 APlist *list = sgp->sg_osdescs; in ld_place_section()
1185 while ((linear_scan && sgp->sg_osdescs != NULL) || in ld_place_section()
1188 if ((idx1 = iidx) >= sgp->sg_osdescs->apl_nitems) in ld_place_section()
1191 osp = sgp->sg_osdescs->apl_data[idx1]; in ld_place_section()
1262 (sgp->sg_flags & FLG_SG_IS_ORDER) != 0) == 0) in ld_place_section()
1283 DBG_CALL(Dbg_sec_added(ofl->ofl_lml, osp, sgp)); in ld_place_section()
1325 iidx = sgp->sg_osdescs->apl_nitems; in ld_place_section()
1395 osp->os_sgdesc = sgp; in ld_place_section()
1460 if ((sgp->sg_phdr.p_type == PT_LOAD) && in ld_place_section()
1463 ofl->ofl_name, osp->os_name, sgp->sg_name); in ld_place_section()
1483 DBG_CALL(Dbg_sec_created(ofl->ofl_lml, osp, sgp)); in ld_place_section()
1491 if (aplist_insert(&sgp->sg_osdescs, osp, AL_CNT_SG_OSDESC, in ld_place_section()
1495 os_desc_hash(sgp, osp); in ld_place_section()