Lines Matching refs:olmp
42 static Rt_map *olmp = NULL;
101 ((olmp = calloc(lmsz, 1)) == NULL)) {
107 FLAGS(olmp) |= FLG_RT_OBJECT;
108 ELFPRV(olmp) = (void *)ofl;
115 free(olmp);
116 olmp = NULL;
126 NAME(olmp) = (char *)name;
127 LIST(olmp) = lml;
129 lm_append(lml, lmco, olmp);
130 return (olmp);
168 if ((olmp == NULL) && ((olmp = elf_obj_init(lml, lmco, name)) == NULL))
181 remove_so(lml, olmp, clmp);
190 (Ofl_desc *)ELFPRV(olmp), &rej) == (Ifl_desc *)S_ERROR) {
191 remove_so(lml, olmp, clmp);
195 return (olmp);
332 if ((nlmp = elf_new_lmp(lml, CNTL(olmp), &fd, (Addr)hmpp->mr_addr,
348 if ((tlmp = PREV_RT_MAP(nlmp)) == olmp)
351 if (PREV(olmp)) {
352 NEXT(PREV_RT_MAP(olmp)) = (Link_map *)nlmp;
353 PREV(nlmp) = PREV(olmp);
361 if (NEXT(olmp) != (Link_map *)nlmp) {
362 NEXT(nlmp) = NEXT(olmp);
363 PREV(NEXT_RT_MAP(olmp)) = (Link_map *)nlmp;
372 HANDLES(nlmp) = HANDLES(olmp);
373 GROUPS(nlmp) = GROUPS(olmp);
374 STDEV(nlmp) = STDEV(olmp);
375 STINO(nlmp) = STINO(olmp);
377 FLAGS(nlmp) |= ((FLAGS(olmp) & ~FLG_RT_OBJECT) | FLG_RT_IMGALLOC);
378 FLAGS1(nlmp) |= FLAGS1(olmp);
379 MODE(nlmp) |= MODE(olmp);
381 NAME(nlmp) = NAME(olmp);
393 if (gdp->gd_depend == olmp) {
401 free(ELFPRV(olmp));
402 free(olmp);
403 olmp = 0;