Lines Matching refs:dso

41 static int dlfcn_load(DSO *dso);
42 static int dlfcn_unload(DSO *dso);
43 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname);
44 static char *dlfcn_name_converter(DSO *dso, const char *filename);
45 static char *dlfcn_merger(DSO *dso, const char *filespec1,
96 static int dlfcn_load(DSO *dso) in dlfcn_load() argument
100 char *filename = DSO_convert_filename(dso, NULL); in dlfcn_load()
109 if (dso->flags & DSO_FLAG_GLOBAL_SYMBOLS) in dlfcn_load()
127 if (!sk_void_push(dso->meth_data, (char *)ptr)) { in dlfcn_load()
132 dso->loaded_filename = filename; in dlfcn_load()
142 static int dlfcn_unload(DSO *dso) in dlfcn_unload() argument
145 if (dso == NULL) { in dlfcn_unload()
149 if (sk_void_num(dso->meth_data) < 1) in dlfcn_unload()
151 ptr = sk_void_pop(dso->meth_data); in dlfcn_unload()
157 sk_void_push(dso->meth_data, ptr); in dlfcn_unload()
165 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname) in dlfcn_bind_func() argument
173 if ((dso == NULL) || (symname == NULL)) { in dlfcn_bind_func()
177 if (sk_void_num(dso->meth_data) < 1) { in dlfcn_bind_func()
181 ptr = sk_void_value(dso->meth_data, sk_void_num(dso->meth_data) - 1); in dlfcn_bind_func()
195 static char *dlfcn_merger(DSO *dso, const char *filespec1, in dlfcn_merger() argument
247 static char *dlfcn_name_converter(DSO *dso, const char *filename) in dlfcn_name_converter() argument
258 if ((DSO_flags(dso) & DSO_FLAG_NAME_TRANSLATION_EXT_ONLY) == 0) in dlfcn_name_converter()
267 if ((DSO_flags(dso) & DSO_FLAG_NAME_TRANSLATION_EXT_ONLY) == 0) in dlfcn_name_converter()