Home
last modified time | relevance | path

Searched refs:ghp (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dremove.c341 Grp_hdl *ghp; in remove_so() local
343 for (APLIST_TRAVERSE(GROUPS(lmp), idx1, ghp)) { in remove_so()
347 for (ALIST_TRAVERSE(ghp->gh_depends, idx2, gdp)) { in remove_so()
351 alist_delete(ghp->gh_depends, &idx2); in remove_so()
554 Grp_hdl *ghp; in is_deletable() local
577 for (APLIST_TRAVERSE(HANDLES(lmp), idx, ghp)) { in is_deletable()
583 if (ghp->gh_flags & GPH_PRIVATE) in is_deletable()
585 if (aplist_test(ghalp, ghp, 0) != ALE_EXISTS) in is_deletable()
751 Grp_hdl *ghp; in remove_rescan() local
755 ((ghp = (Grp_hdl *)pdp->pd_info) == NULL)) in remove_rescan()
[all …]
H A Ddlfcns.c128 hdl_add(Grp_hdl *ghp, Rt_map *lmp, uint_t dflags, int *alep) in hdl_add() argument
138 for (ALIST_TRAVERSE(ghp->gh_depends, idx, gdp)) { in hdl_add()
157 if (aplist_append(&GROUPS(lmp), ghp, AL_CNT_GROUPS) == NULL) in hdl_add()
163 if ((gdp = alist_append(&ghp->gh_depends, &gd, in hdl_add()
173 DBG_CALL(Dbg_file_hdl_action(ghp, lmp, DBG_DEP_ADD, in hdl_add()
176 DBG_CALL(Dbg_file_hdl_action(ghp, lmp, DBG_DEP_UPDATE, in hdl_add()
204 Grp_hdl *ghp = NULL, *aghp; in hdl_create() local
228 ghp = aghp; in hdl_create()
233 if (ghp == NULL) { in hdl_create()
242 if ((ghp = malloc(sizeof (Grp_hdl))) == NULL) in hdl_create()
[all …]
H A Daudit.c1203 Grp_hdl *ghp; in audit_desc_cleanup() local
1206 for (APLIST_TRAVERSE(ghalp, idx, ghp)) { in audit_desc_cleanup()
1207 (void) dlclose_intn(ghp, clmp); in audit_desc_cleanup()
1363 audit_disable(char *name, Rt_map *clmp, Grp_hdl *ghp, Audit_list *alp) in audit_disable() argument
1366 if (ghp) in audit_disable()
1367 (void) dlclose_intn(ghp, clmp); in audit_disable()
1414 Grp_hdl *ghp; in audit_setup() local
1425 if ((ghp = dlmopen_intn((Lm_list *)LM_ID_NEWLM, ptr, in audit_setup()
1431 lmp = ghp->gh_ownlmp; in audit_setup()
1440 return (audit_disable(ptr, clmp, ghp, alp)); in audit_setup()
[all …]
H A Dcap.c715 Grp_hdl *ghp = NULL; in cap_filtees() local
731 (flags | FLG_RT_PUBHDL), &ghp, fdp, &rej, in_nfavl); in cap_filtees()
742 if (ghp) in cap_filtees()
753 if (nlmp && ghp) { in cap_filtees()
754 ghp->gh_flags |= GPH_FILTEE; in cap_filtees()
755 pdp->pd_info = (void *)ghp; in cap_filtees()
773 if (nlmp && ghp && (((nlmp = analyze_lmc(lml, nlmco, nlmp, in cap_filtees()
785 if (nlmp && ghp && in cap_filtees()
786 (hdl_add(ghp, flmp, GPD_FILTER, NULL) == NULL)) in cap_filtees()
792 if (nlmp && ghp && (FLAGS1(nlmp) & FL1_RT_ENDFILTE)) in cap_filtees()
H A Delf.c867 Grp_hdl *ghp; local
954 ghp = NULL;
1008 if ((ghp = hdl_create(&lml_rtld, nlmp, ilmp,
1016 if (nlmp && ghp)
1017 pdp->pd_info = (void *)ghp;
1054 FLG_RT_PUBHDL, &ghp, &fd, &rej,
1065 if (nlmp && ghp) {
1066 ghp->gh_flags |= GPH_FILTEE;
1067 pdp->pd_info = (void *)ghp;
1093 if (nlmp && ghp && (((nlmp = analyze_lmc(lml,
[all …]
H A Dobject.c244 Grp_hdl *ghp; in elf_obj_fini() local
384 for (APLIST_TRAVERSE(HANDLES(nlmp), idx1, ghp)) { in elf_obj_fini()
388 ghp->gh_ownlmp = nlmp; in elf_obj_fini()
390 for (ALIST_TRAVERSE(ghp->gh_depends, idx2, gdp)) { in elf_obj_fini()
H A Danalyze.c2157 Grp_hdl *ghp; in load_finish() local
2273 if ((ghp = hdl_create(lml, nlmp, clmp, hflags, rdflags, in load_finish()
2280 if (hdl_initialize(ghp, nlmp, nmode, promote) == 0) in load_finish()
2284 *hdl = ghp; in load_finish()
2312 for (APLIST_TRAVERSE(GROUPS(clmp), idx1, ghp)) { in load_finish()
2326 for (ALIST_TRAVERSE(ghp->gh_depends, idx2, gdp)) { in load_finish()
2333 if ((gdp = hdl_add(ghp, nlmp, rdflags, &ale)) == NULL) in load_finish()
2386 hdl_add(ghp, dlmp1, rdflags, &ale)) == NULL) { in load_finish()
2828 Grp_hdl *ghp; in lookup_sym_direct() local
2848 for (APLIST_TRAVERSE(HANDLES(clmp), idx1, ghp)) { in lookup_sym_direct()
[all …]
H A Dtsort.c431 Grp_hdl *ghp; in dep_visit() local
435 ((ghp = (Grp_hdl *)pdp->pd_info) == NULL)) in dep_visit()
438 for (ALIST_TRAVERSE(ghp->gh_depends, idx2, in dep_visit()
H A Dutil.c3461 callable(Rt_map *clmp, Rt_map *dlmp, Grp_hdl *ghp, uint_t slflags) in callable() argument
3511 if (ghp && (ghp1 == ghp)) in callable()
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Ddump.c68 Grp_hdl * ghp; in load() local
72 if ((ghp = (Grp_hdl *)dlmopen(LM_ID_BASE, opath, in load()
78 lmp = ghp->gh_ownlmp; in load()
168 Grp_hdl * ghp; in scanconfig() local
174 if ((ghp = dlmopen(LM_ID_BASE, 0, in scanconfig()
177 FLAGS1(ghp->gh_ownlmp) |= FL1_RT_CONFSET; in scanconfig()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c182 Dbg_file_hdl_collect(Grp_hdl *ghp, const char *name) in Dbg_file_hdl_collect() argument
185 Lm_list *lml = ghp->gh_ownlml; in Dbg_file_hdl_collect()
193 if (ghp->gh_ownlmp) in Dbg_file_hdl_collect()
194 str = NAME(ghp->gh_ownlmp); in Dbg_file_hdl_collect()
206 conv_grphdl_flags(ghp->gh_flags, &grphdl_flags_buf)); in Dbg_file_hdl_collect()
210 Dbg_file_hdl_action(Grp_hdl *ghp, Rt_map *lmp, int type, uint_t flags) in Dbg_file_hdl_action() argument
241 if (ghp->gh_ownlmp) in Dbg_file_hdl_action()
242 name = NAME(ghp->gh_ownlmp); in Dbg_file_hdl_action()
247 conv_grphdl_flags(ghp->gh_flags, &grphdl_flags_buf), in Dbg_file_hdl_action()
248 EC_NATPTR(ghp)); in Dbg_file_hdl_action()
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd3.c669 struct grouphead *gh, **ghp; in ungroup() local
686 for (ghp = &groups[h]; *ghp != NOGRP; ghp = &((*ghp)->g_link)) { in ungroup()
687 gh = *ghp; in ungroup()
690 *ghp = gh->g_link; in ungroup()
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/
H A Drtld.c1149 Grp_hdl *ghp; in dcmd_Handles() local
1197 if (mdb_vread(&ghp, sizeof (Grp_hdl *), datap) == -1) { in dcmd_Handles()
1206 if (dcmd_GrpHdl((uintptr_t)ghp, flags, argc, argv) == DCMD_ERR) { in dcmd_Handles()
1214 if (mdb_vread(&ghp, sizeof (Grp_hdl *), datap) == -1) { in dcmd_Handles()
1221 if (dcmd_GrpHdl((uintptr_t)ghp, flags, argc, in dcmd_Handles()
1246 Grp_hdl *ghp; in dcmd_Groups() local
1294 if (mdb_vread(&ghp, sizeof (Grp_hdl *), datap) == -1) { in dcmd_Groups()
1303 if (dcmd_GrpHdl((uintptr_t)ghp, flags, argc, argv) == DCMD_ERR) { in dcmd_Groups()
1310 if (mdb_vread(&ghp, sizeof (Grp_hdl *), datap) == -1) { in dcmd_Groups()
1317 if (dcmd_GrpHdl((uintptr_t)ghp, flags, argc, in dcmd_Groups()