Lines Matching refs:curpathname
41 if (mapper->curpathname != NULL) {
42 free(mapper->curpathname);
43 mapper->curpathname = NULL;
96 map->dldesc = dlopen(map->curpathname, RTLD_LAZY | RTLD_PARENT);
128 old_curpathname = map->curpathname;
181 * curpathname and curoptions to the previous values since there was no
184 * No mapper was open so stored curoptions and curpathname are
188 map->curpathname = tmppath;
192 free(map->curpathname);
193 map->curpathname = NULL;
200 free(map->curpathname);
201 map->curpathname = NULL;
216 if (map->curpathname != NULL &&
218 strcmp(map->curpathname, tmppath) == 0) {
250 map->curpathname = tmppath;
258 * This will cleanup curoptions and curpathname, and
260 * tmppath, it will be freed through map->curpathname.
282 * Try to put the old curpathname and curoptions back there. In theory,
291 map->curpathname = old_curpathname;
344 if (map->curpathname == NULL || map->dldesc == NULL)
372 if (map->curpathname == NULL || map->dldesc == NULL)