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()
77 if (!sk_push(dso->meth_data, (char *)ptr)) { in dl_load()
85 dso->loaded_filename = filename; in dl_load()
95 static int dl_unload(DSO *dso) in dl_unload() argument
98 if (dso == NULL) { in dl_unload()
102 if (sk_num(dso->meth_data) < 1) in dl_unload()
105 ptr = (shl_t) sk_pop(dso->meth_data); in dl_unload()
111 sk_push(dso->meth_data, (char *)ptr); in dl_unload()
118 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname) in dl_bind_func() argument
123 if ((dso == NULL) || (symname == NULL)) { in dl_bind_func()
127 if (sk_num(dso->meth_data) < 1) { in dl_bind_func()
131 ptr = (shl_t) sk_value(dso->meth_data, sk_num(dso->meth_data) - 1); in dl_bind_func()
146 static char *dl_merger(DSO *dso, const char *filespec1, const char *filespec2) in dl_merger() argument
211 static char *dl_name_converter(DSO *dso, const char *filename) in dl_name_converter() argument
222 if ((DSO_flags(dso) & DSO_FLAG_NAME_TRANSLATION_EXT_ONLY) == 0) in dl_name_converter()
231 if ((DSO_flags(dso) & DSO_FLAG_NAME_TRANSLATION_EXT_ONLY) == 0) in dl_name_converter()