Lines Matching refs:dso
19 static int dl_load(DSO *dso);
20 static int dl_unload(DSO *dso);
21 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname);
22 static char *dl_name_converter(DSO *dso, const char *filename);
23 static char *dl_merger(DSO *dso, const char *filespec1,
53 static int dl_load(DSO *dso) in dl_load() argument
61 char *filename = DSO_convert_filename(dso, NULL); in dl_load()
68 (dso->flags & DSO_FLAG_NO_NAME_TRANSLATION ? 0 : in dl_load()
81 if (!sk_push(dso->meth_data, (char *)ptr)) { in dl_load()
89 dso->loaded_filename = filename; in dl_load()
99 static int dl_unload(DSO *dso) in dl_unload() argument
102 if (dso == NULL) { in dl_unload()
106 if (sk_num(dso->meth_data) < 1) in dl_unload()
109 ptr = (shl_t) sk_pop(dso->meth_data); in dl_unload()
115 sk_push(dso->meth_data, (char *)ptr); in dl_unload()
122 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname) in dl_bind_func() argument
127 if ((dso == NULL) || (symname == NULL)) { in dl_bind_func()
131 if (sk_num(dso->meth_data) < 1) { in dl_bind_func()
135 ptr = (shl_t) sk_value(dso->meth_data, sk_num(dso->meth_data) - 1); in dl_bind_func()
154 static char *dl_merger(DSO *dso, const char *filespec1, const char *filespec2) in dl_merger() argument
213 static char *dl_name_converter(DSO *dso, const char *filename) in dl_name_converter() argument
224 if ((DSO_flags(dso) & DSO_FLAG_NAME_TRANSLATION_EXT_ONLY) == 0) in dl_name_converter()
234 (DSO_flags(dso) & DSO_FLAG_NAME_TRANSLATION_EXT_ONLY) == 0 in dl_name_converter()