| /freebsd-14.2/crypto/openssl/crypto/dso/ |
| H A D | dso_lib.c | 59 if (CRYPTO_DOWN_REF(&dso->references, &i, dso->lock) <= 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() 89 return ((dso == NULL) ? 0 : dso->flags); in DSO_flags() 101 if (CRYPTO_UP_REF(&dso->references, &i, dso->lock) <= 0) in DSO_up_ref() 127 ret = dso; in DSO_load() 175 if ((ret = dso->meth->dso_bind_func(dso, symname)) == NULL) { in DSO_bind_func() 214 if ((dso->meth == NULL) || (dso->meth->dso_ctrl == NULL)) { in DSO_ctrl() 218 return dso->meth->dso_ctrl(dso, cmd, larg, parg); in DSO_ctrl() 263 result = dso->merger(dso, filespec1, filespec2); in DSO_merge() [all …]
|
| H A D | dso_dl.c | 19 static int dl_load(DSO *dso); 20 static int dl_unload(DSO *dso); 53 static int dl_load(DSO *dso) in dl_load() argument 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() 131 if (sk_num(dso->meth_data) < 1) { in dl_bind_func() [all …]
|
| H A D | dso_dlfcn.c | 41 static int dlfcn_load(DSO *dso); 42 static int dlfcn_unload(DSO *dso); 96 static int dlfcn_load(DSO *dso) in dlfcn_load() argument 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() 177 if (sk_void_num(dso->meth_data) < 1) { in dlfcn_bind_func() [all …]
|
| H A D | dso_vms.c | 37 static int vms_load(DSO *dso); 38 static int vms_unload(DSO *dso); 84 static int vms_load(DSO *dso) in vms_load() argument 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 226 if (dso == NULL) { in vms_unload() 230 if (sk_void_num(dso->meth_data) < 1) in vms_unload() 289 if ((dso == NULL) || (symname == NULL)) { in vms_bind_sym() 304 if (sk_void_num(dso->meth_data) < 1) { in vms_bind_sym() [all …]
|
| H A D | dso_local.h | 74 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);
|
| H A D | dso_win32.c | 61 static int win32_load(DSO *dso); 62 static int win32_unload(DSO *dso); 96 static int win32_load(DSO *dso) in win32_load() argument 123 dso->loaded_filename = filename; in win32_load() 134 static int win32_unload(DSO *dso) in win32_unload() argument 137 if (dso == NULL) { in win32_unload() 141 if (sk_void_num(dso->meth_data) < 1) in win32_unload() 143 p = sk_void_pop(dso->meth_data); in win32_unload() 153 sk_void_push(dso->meth_data, p); in win32_unload() 173 if (sk_void_num(dso->meth_data) < 1) { in win32_bind_func() [all …]
|
| /freebsd-14.2/crypto/openssl/include/internal/ |
| H A D | dso.h | 87 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);
|
| /freebsd-14.2/contrib/netbsd-tests/libexec/ld.elf_so/ |
| H A D | h_locking.c | 63 void *dso; in test_dl_iterate_phdr() local 66 if ((dso = dlopen("libh_helper_dso2.so", RTLD_LAZY)) == NULL) { in test_dl_iterate_phdr() 70 tls_callback_sym = dlsym(dso, "tls_callback"); in test_dl_iterate_phdr() 84 void *dso; in init_fini_helper() local 85 if ((dso = dlopen(arg, RTLD_LAZY)) == NULL) { in init_fini_helper() 89 dlclose(dso); in init_fini_helper()
|
| /freebsd-14.2/lib/libc/stdlib/ |
| H A D | atexit.c | 174 __cxa_atexit(void (*func)(void *), void *arg, void *dso) in __cxa_atexit() argument 182 fn.fn_dso = dso; in __cxa_atexit() 199 __cxa_finalize(void *dso) in __cxa_finalize() argument 206 if (dso != NULL) { in __cxa_finalize() 207 has_phdr = _rtld_addr_phdr(dso, &phdr_info); in __cxa_finalize() 219 if (dso != NULL && dso != fn.fn_dso) { in __cxa_finalize() 242 if (dso == NULL) in __cxa_finalize()
|
| H A D | cxa_thread_atexit_impl.c | 67 void *dso; member 95 new_dtor->dso = dso_symbol; in __cxa_thread_atexit_hidden()
|
| H A D | atexit.h | 37 void __cxa_finalize(void *dso);
|
| /freebsd-14.2/crypto/openssl/crypto/conf/ |
| H A D | conf_mod.c | 39 DSO *dso; member 76 static CONF_MODULE *module_add(DSO *dso, const char *name, 288 DSO *dso = NULL; in module_load_dso() local 300 dso = DSO_load(NULL, path, NULL, 0); in module_load_dso() 301 if (dso == NULL) { in module_load_dso() 312 md = module_add(dso, name, ifunc, ffunc); in module_load_dso() 320 DSO_free(dso); in module_load_dso() 326 static CONF_MODULE *module_add(DSO *dso, const char *name, in module_add() argument 346 tmod->dso = dso; in module_add() 498 if (((md->links > 0) || !md->dso) && !all) in CONF_modules_unload() [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/ |
| H A D | init.c | 158 DSO *dso; in DEFINE_RUN_ONCE_STATIC() local 164 dso = DSO_dsobyaddr(&base_inited, DSO_FLAG_NO_UNLOAD_ON_FREE); in DEFINE_RUN_ONCE_STATIC() 171 (dso == NULL ? "No!" : "Yes.")); in DEFINE_RUN_ONCE_STATIC() 172 DSO_free(dso); in DEFINE_RUN_ONCE_STATIC() 691 DSO *dso = NULL; in OPENSSL_atexit() 700 dso = DSO_dsobyaddr(handlersym.sym, DSO_FLAG_NO_UNLOAD_ON_FREE); in OPENSSL_atexit() 704 (dso == NULL ? "No!" : "Yes.")); in OPENSSL_atexit() 705 DSO_free(dso); in OPENSSL_atexit()
|
| /freebsd-14.2/lib/csu/tests/ |
| H A D | fini_test.c | 140 void *dso = __dso_handle; in dso_handle_check() local 143 ATF_REQUIRE_MSG(dso != NULL, in dso_handle_check() 146 ATF_REQUIRE_MSG(dso == NULL, in dso_handle_check()
|
| H A D | Makefile | 2 SUBDIR= dso 8 SUBDIR_DEPEND_dynamiclib=dso
|
| /freebsd-14.2/lib/libc/arm/aeabi/ |
| H A D | aeabi_atexit.c | 33 __aeabi_atexit(void *object, void (*func)(void*), void *dso) in __aeabi_atexit() argument 35 return __cxa_atexit(func, object, dso); in __aeabi_atexit()
|
| /freebsd-14.2/lib/csu/tests/dynamiclib/ |
| H A D | Makefile | 4 DPADD+= ${.OBJDIR:H}/dso/libh_csu.so 5 LDFLAGS+= -Wl,-rpath,${TESTSDIR} -L${.OBJDIR:H}/dso
|
| /freebsd-14.2/crypto/heimdal/lib/krb5/ |
| H A D | plugin.c | 52 } dso; member 116 e->u.dso.dsohandle = dlopen(path, RTLD_LOCAL|RTLD_LAZY); in loadlib() 117 e->u.dso.path = path; in loadlib() 284 if (e->type == DSO && strcmp(e->u.dso.path, path) == 0) in load_plugins() 339 if (e->u.dso.dsohandle == NULL) in _krb5_plugin_find() 341 sym = dlsym(e->u.dso.dsohandle, name); in _krb5_plugin_find()
|
| /freebsd-14.2/crypto/openssl/Configurations/ |
| H A D | windows-makefile.tmpl | 53 MODULES={- our @MODULES = map { platform->dso($_) } 105 join(" ", map { quotify1(platform->dso($_)) } 843 dso => ' $(DSO_CFLAGS)', 848 dso => ' $(DSO_CPPFLAGS)', 852 dso => ' $(DSO_ASFLAGS)', 938 my $dso = platform->dso($args{module}); 957 $dso: $deps 958 IF EXIST $dso.manifest DEL /F /Q $dso.manifest 962 IF EXIST $dso.manifest \\ 963 \$(MT) \$(MTFLAGS) \$(MTINFLAG)$dso.manifest \$(MTOUTFLAG)$dso [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/md5/ |
| H A D | build.info | 21 # without conditioning this on dso. The issue is MD5 which is needed in the 25 # when building without 'dso', liblegacy is included in libcrypto.
|
| /freebsd-14.2/crypto/openssl/test/recipes/ |
| H A D | 01-test_fipsmodule_cnf.t | 31 my $fipsmodule = bldtop_file('providers', platform->dso('fips'));
|
| H A D | 00-prep_fipsmodule_cnf.t | 27 my $fipsmodule = bldtop_file('providers', platform->dso('fips'));
|
| H A D | 90-test_fipsload.t | 28 my $fips = bldtop_file('providers', platform->dso('fips'));
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A D | provider_internal_test.cnf.in | 14 module = {- platform->dso('p_test') -}
|
| /freebsd-14.2/lib/libthr/tests/dlopen/dso/ |
| H A D | Makefile | 2 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen/dso
|