Lines Matching refs:lml

72 purge_exit_handlers(Lm_list *lml, Rt_map **tobj)  in purge_exit_handlers()  argument
83 if ((fptr = lml->lm_lcs[CI_ATEXIT].lc_un.lc_func) == NULL) in purge_exit_handlers()
134 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_ARG_ATEXIT), error); in purge_exit_handlers()
169 remove_lml(Lm_list *lml) in remove_lml() argument
171 if (lml && (lml->lm_head == NULL)) { in remove_lml()
172 if (lml->lm_lmidstr) in remove_lml()
173 free(lml->lm_lmidstr); in remove_lml()
174 if (lml->lm_alp) in remove_lml()
175 free(lml->lm_alp); in remove_lml()
176 if (lml->lm_lists) in remove_lml()
177 free(lml->lm_lists); in remove_lml()
178 if (lml->lm_aud_cookies) in remove_lml()
179 free(lml->lm_aud_cookies); in remove_lml()
185 if (lml->lm_rti) in remove_lml()
186 free(lml->lm_rti); in remove_lml()
187 if (lml->lm_fpavl) { in remove_lml()
192 ASSERT(avl_numnodes(lml->lm_fpavl) == 0); in remove_lml()
193 free(lml->lm_fpavl); in remove_lml()
195 (void) aplist_delete_value(dynlm_list, lml); in remove_lml()
196 free(lml); in remove_lml()
212 remove_so(Lm_list *lml, Rt_map *lmp, Rt_map *clmp) in remove_so() argument
222 if (lml && lmp) in remove_so()
223 lm_delete(lml, lmp, clmp); in remove_so()
231 if (lml) { in remove_so()
235 if (lml->lm_lcs[tag].lc_lmp == lmp) { in remove_so()
236 lml->lm_lcs[tag].lc_lmp = NULL; in remove_so()
237 lml->lm_lcs[tag].lc_un.lc_val = 0; in remove_so()
486 remove_cntl(Lm_list *lml, Aliste lmco) in remove_cntl() argument
492 lmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, lmco); in remove_cntl()
499 alist_delete_by_offset(lml->lm_lists, &_lmco); in remove_cntl()
508 remove_incomplete(Lm_list *lml, Aliste lmco, Rt_map *clmp) in remove_incomplete() argument
514 lmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, lmco); in remove_incomplete()
524 if ((lml->lm_tflags | AFLAGS(clmp)) & LML_TFLG_AUD_OBJCLOSE) { in remove_incomplete()
541 remove_so(lml, lmp, clmp); in remove_incomplete()
850 remove_lmc(Lm_list *lml, Rt_map *clmp, Aliste lmco, const char *name) in remove_lmc() argument
863 lmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, lmco); in remove_lmc()
867 DBG_CALL(Dbg_file_cleanup(lml, name, lmco)); in remove_lmc()
889 if (((ghp = hdl_create(lml, lmc->lc_head, NULL, GPH_PUBLIC, in remove_lmc()
902 remove_incomplete(lml, lmco, clmp); in remove_lmc()
983 plmco = lmco - lml->lm_lists->al_size; in remove_lmc()
985 plmc = (Lm_cntl *)alist_item_by_offset(lml->lm_lists, plmco); in remove_lmc()
987 lm_move(lml, lmco, plmco, lmc, plmc); in remove_lmc()
1029 Lm_list *lml = NULL; in remove_hdl() local
1132 if (lml == NULL) in remove_hdl()
1133 lml = LIST(lmp); in remove_hdl()
1336 lml->lm_flags |= LML_FLG_OBJDELETED; in remove_hdl()
1338 if (((tobj = tsort(lml->lm_head, delcnt, in remove_hdl()
1341 error = purge_exit_handlers(lml, tobj); in remove_hdl()
1342 call_fini(lml, tobj, clmp); in remove_hdl()
1407 lmp, lml); in remove_hdl()