Home
last modified time | relevance | path

Searched refs:dso (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/openssl/crypto/dso/
Ddso_lib.c52 int DSO_free(DSO *dso) in DSO_free() argument
56 if (dso == NULL) in DSO_free()
59 if (CRYPTO_DOWN_REF(&dso->references, &i, dso->lock) <= 0) in DSO_free()
62 REF_PRINT_COUNT("DSO", dso); in DSO_free()
67 if ((dso->flags & DSO_FLAG_NO_UNLOAD_ON_FREE) == 0) { in DSO_free()
68 if ((dso->meth->dso_unload != NULL) && !dso->meth->dso_unload(dso)) { in DSO_free()
74 if ((dso->meth->finish != NULL) && !dso->meth->finish(dso)) { in DSO_free()
79 sk_void_free(dso->meth_data); in DSO_free()
80 OPENSSL_free(dso->filename); in DSO_free()
81 OPENSSL_free(dso->loaded_filename); in DSO_free()
[all …]
Ddso_dl.c19 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()
[all …]
Ddso_dlfcn.c41 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()
[all …]
Ddso_vms.c37 static int vms_load(DSO *dso);
38 static int vms_unload(DSO *dso);
39 static DSO_FUNC_TYPE vms_bind_func(DSO *dso, const char *symname);
40 static char *vms_name_converter(DSO *dso, const char *filename);
41 static char *vms_merger(DSO *dso, const char *filespec1,
84 static int vms_load(DSO *dso) in vms_load() argument
88 char *filename = DSO_convert_filename(dso, NULL); in vms_load()
203 if (!sk_void_push(dso->meth_data, (char *)p)) { in vms_load()
209 dso->loaded_filename = filename; in vms_load()
223 static int vms_unload(DSO *dso) in vms_unload() argument
[all …]
Ddso_win32.c61 static int win32_load(DSO *dso);
62 static int win32_unload(DSO *dso);
63 static DSO_FUNC_TYPE win32_bind_func(DSO *dso, const char *symname);
64 static char *win32_name_converter(DSO *dso, const char *filename);
65 static char *win32_merger(DSO *dso, const char *filespec1,
96 static int win32_load(DSO *dso) in win32_load() argument
100 char *filename = DSO_convert_filename(dso, NULL); in win32_load()
118 if (!sk_void_push(dso->meth_data, p)) { in win32_load()
123 dso->loaded_filename = filename; in win32_load()
134 static int win32_unload(DSO *dso) in win32_unload() argument
[all …]
Ddso_local.h74 int (*dso_load) (DSO *dso);
76 int (*dso_unload) (DSO *dso);
84 DSO_FUNC_TYPE (*dso_bind_func) (DSO *dso, const char *symname);
89 long (*dso_ctrl) (DSO *dso, int cmd, long larg, void *parg);
101 int (*init) (DSO *dso);
102 int (*finish) (DSO *dso);
/third_party/musl/porting/linux/user/ldso/
Dcfi.c88 static struct dso *dso_list_head = NULL;
89 static struct dso *pldso = NULL;
115 static int add_dso_to_cfi_shadow(struct dso *dso);
129 static struct symdef find_cfi_check_sym(struct dso *p) in find_cfi_check_sym()
180 … __FUNCTION__, cfi_check_func_addr, ((struct dso *)addr2dso((size_t)cfi_check_func_addr))->name); in get_cfi_check_addr()
216 ((struct dso *)addr2dso((size_t)__builtin_return_address(0)))->name, in cfi_slowpath_common()
217 ((struct dso *)addr2dso((size_t)func_ptr))->name, in cfi_slowpath_common()
220 struct dso *dso = NULL; in cfi_slowpath_common() local
231 dso = (struct dso *)addr2dso((size_t)__builtin_return_address(0)); in cfi_slowpath_common()
232 if (dso == NULL) { in cfi_slowpath_common()
[all …]
Ddynlink.c107 struct dso *target;
123 static struct dso ldso;
124 static struct dso *head, *tail, *fini_head, *syms_tail, *lazy_head;
140 static struct dso *builtin_deps[2];
141 static struct dso *const no_deps[1];
142 static struct dso *builtin_ctor_queue[4];
143 static struct dso **main_ctor_queue;
165 static int do_dlclose(struct dso *p);
173 static void preload_direct_deps(struct dso *p, ns_t *namespace, struct loadtasks *tasks);
175 static void preload_deps(struct dso *p, struct loadtasks *tasks);
[all …]
Ddynlink_rand.c30 struct dso *dso; member
38 void *add_handle_node(void *handle, struct dso *dso) in add_handle_node() argument
45 node->dso = dso; in add_handle_node()
51 struct dso *find_dso_by_handle(void *handle) in find_dso_by_handle()
56 return node->dso; in find_dso_by_handle()
63 static void *find_handle_by_dso(struct dso *dso) in find_handle_by_dso() argument
67 if (node->dso == dso) { in find_handle_by_dso()
107 void *assign_valid_handle(struct dso *p) in assign_valid_handle()
227 struct loadtask *create_loadtask(const char *name, struct dso *needed_by, ns_t *ns, bool check_inhe… in create_loadtask()
Ddynlink_rand.h31 struct dso;
39 struct dso *needed_by;
47 struct dso *p;
80 hidden void *add_handle_node(void *handle, struct dso *dso);
81 hidden struct dso *find_dso_by_handle(void *handle);
83 hidden void *assign_valid_handle(struct dso *p);
91 hidden struct loadtask *create_loadtask(const char *name, struct dso *needed_by, ns_t *ns, bool che…
Dcfi.h28 int init_cfi_shadow(struct dso *dso_list, struct dso *ldso);
30 int map_dso_to_cfi_shadow(struct dso *dso);
32 void unmap_dso_from_cfi_shadow(struct dso *dso);
Dnamespace.h28 struct dso;
33 struct dso **dsos;
84 void ns_add_dso(ns_t *ns, struct dso *dso);
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c53 struct dso { struct
61 struct dso *next, *prev; argument
71 struct dso *syms_next, *lazy_next; argument
81 struct dso **deps, *needed_by; argument
92 struct dso *fini_next; argument
109 struct dso *dso; argument
124 static struct dso ldso;
125 static struct dso *head, *tail, *fini_head, *syms_tail, *lazy_head;
141 static struct dso *builtin_deps[2];
142 static struct dso *const no_deps[1];
[all …]
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c53 struct dso { struct
61 struct dso *next, *prev; argument
71 struct dso *syms_next, *lazy_next; argument
81 struct dso **deps, *needed_by; argument
92 struct dso *fini_next; argument
109 struct dso *dso; member
124 static struct dso ldso;
125 static struct dso *head, *tail, *fini_head, *syms_tail, *lazy_head;
141 static struct dso *builtin_deps[2];
142 static struct dso *const no_deps[1];
[all …]
/third_party/musl/ldso/
Ddynlink.c53 struct dso { struct
61 struct dso *next, *prev; argument
71 struct dso *syms_next, *lazy_next; argument
83 struct dso **deps, *needed_by; argument
94 struct dso *fini_next; argument
111 struct dso *dso; argument
126 static struct dso ldso;
127 static struct dso *head, *tail, *fini_head, *syms_tail, *lazy_head;
143 static struct dso *builtin_deps[2];
144 static struct dso *const no_deps[1];
[all …]
/third_party/openssl/ohos_lite/include/internal/
Ddso.h86 int DSO_free(DSO *dso);
87 int DSO_flags(DSO *dso);
88 int DSO_up_ref(DSO *dso);
89 long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg);
95 const char *DSO_get_filename(DSO *dso);
96 int DSO_set_filename(DSO *dso, const char *filename);
107 char *DSO_convert_filename(DSO *dso, const char *filename);
114 char *DSO_merge(DSO *dso, const char *filespec1, const char *filespec2);
123 DSO *DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags);
126 DSO_FUNC_TYPE DSO_bind_func(DSO *dso, const char *symname);
/third_party/openssl/include/internal/
Ddso.h87 int DSO_free(DSO *dso);
88 int DSO_flags(DSO *dso);
89 int DSO_up_ref(DSO *dso);
90 long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg);
96 const char *DSO_get_filename(DSO *dso);
97 int DSO_set_filename(DSO *dso, const char *filename);
108 char *DSO_convert_filename(DSO *dso, const char *filename);
115 char *DSO_merge(DSO *dso, const char *filespec1, const char *filespec2);
124 DSO *DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags);
127 DSO_FUNC_TYPE DSO_bind_func(DSO *dso, const char *symname);
/third_party/musl/porting/linux/user/src/exit/
Datexit.c22 void *dso[COUNT]; member
23 struct dso *internal_dso[COUNT]; // the internal dso weekptr, used for dlclose
46 void __cxa_finalize(void *dso) in __cxa_finalize() argument
54 if (dso == head_tmp->dso[slot_tmp]) { in __cxa_finalize()
61 head_tmp->dso[slot_tmp] = NULL; in __cxa_finalize()
70 int __cxa_atexit(void (*func)(void *), void *arg, void *dso) in __cxa_atexit() argument
72 struct dso *p = NULL; in __cxa_atexit()
80 if ((func == (void *)call) && (dso == NULL)) { in __cxa_atexit()
105 head->dso[slot] = dso; in __cxa_atexit()
125 int invalidate_exit_funcs(struct dso *p) in invalidate_exit_funcs()
[all …]
/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_ldso_dynlink.c235 struct dso *target;
243 void *map_library(int fd, struct dso *dso, struct reserved_address_params *reserved_params);
244 void unmap_library(struct dso *dso);
245 int fixup_rpath(struct dso *p, char *buf, size_t buf_size);
248 void assign_tls(struct dso *p);
249 size_t count_syms(struct dso *p);
252 struct dso *find_library_by_fstat(const struct stat *st, const ns_t *ns, bool check_inherited, uint…
380 struct dso temp_dso ; in dynlink_test_0250()
423 struct dso temp_dso = {0}; in dynlink_test_0260()
438 struct dso temp_dso = {.tls = tls}; in dynlink_test_0270()
[all …]
/third_party/musl/porting/linux/user/src/internal/
Ddynlink.h80 struct dso { struct
88 struct dso *next, *prev; argument
92 struct dso *cache_dso; argument
104 struct dso *syms_next, *lazy_next; argument
119 struct dso *fini_next; argument
131 struct dso **deps, *needed_by; argument
136 struct dso **parents; argument
137 struct dso **reloc_can_search_dso_list; argument
158 struct dso *dso; argument
227 void *laddr(const struct dso *p, size_t v);
[all …]
/third_party/openssl/crypto/conf/
Dconf_mod.c39 DSO *dso; member
76 static CONF_MODULE *module_add(DSO *dso, const char *name,
282 DSO *dso = NULL; in module_load_dso() local
294 dso = DSO_load(NULL, path, NULL, 0); in module_load_dso()
295 if (dso == NULL) { in module_load_dso()
299 ifunc = (conf_init_func *)DSO_bind_func(dso, DSO_mod_init_name); in module_load_dso()
304 ffunc = (conf_finish_func *)DSO_bind_func(dso, DSO_mod_finish_name); in module_load_dso()
306 md = module_add(dso, name, ifunc, ffunc); in module_load_dso()
314 DSO_free(dso); in module_load_dso()
320 static CONF_MODULE *module_add(DSO *dso, const char *name, in module_add() argument
[all …]
/third_party/musl/libc-test/src/functionalext/ldso_cfi/
Dldso_cfi_check.c25 struct dso { struct
31 extern int init_cfi_shadow(struct dso *dso_list, struct dso *ldso); argument
32 extern int map_dso_to_cfi_shadow(struct dso *dso);
33 extern void unmap_dso_from_cfi_shadow(struct dso *dso);
345 struct dso test_dso = {}; in cfi_unmap_dso_from_cfi_shadow_001()
360 struct dso test_dso = {}; in cfi_unmap_dso_from_cfi_shadow_002()
/third_party/openssl/crypto/
Dinit.c156 DSO *dso; in DEFINE_RUN_ONCE_STATIC() local
162 dso = DSO_dsobyaddr(&base_inited, DSO_FLAG_NO_UNLOAD_ON_FREE); in DEFINE_RUN_ONCE_STATIC()
169 (dso == NULL ? "No!" : "Yes.")); in DEFINE_RUN_ONCE_STATIC()
170 DSO_free(dso); in DEFINE_RUN_ONCE_STATIC()
689 DSO *dso = NULL; in OPENSSL_atexit()
698 dso = DSO_dsobyaddr(handlersym.sym, DSO_FLAG_NO_UNLOAD_ON_FREE); in OPENSSL_atexit()
702 (dso == NULL ? "No!" : "Yes.")); in OPENSSL_atexit()
703 DSO_free(dso); in OPENSSL_atexit()
/third_party/musl/src/ldso/
Ddlinfo.c5 int dlinfo(void *dso, int req, void *res) in dlinfo() argument
7 if (__dl_invalid_handle(dso)) return -1; in dlinfo()
12 *(struct link_map **)res = dso; in dlinfo()
/third_party/openssl/crypto/md5/
Dbuild.info21 # without conditioning this on dso. The issue is MD5 which is needed in the
25 # when building without 'dso', liblegacy is included in libcrypto.
26 IF[{- !$disabled{dso} -}]

1234