Searched refs:dlsym (Results 1 - 25 of 167) sorted by relevance

1234567

/illumos-gate/usr/src/lib/libbc/inc/include/
H A Ddlfcn.h45 extern void *dlsym(); /* obtain address of symbol */
/illumos-gate/usr/src/lib/libdll/common/
H A Ddlllook.c30 * dlsym() with `_' weak fallback
39 if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2))
43 addr = dlsym(dll, buf);
H A Ddllnext.c85 if (xr = (Write_f)dlsym(lp, "write"))
129 if (dlsym(lp, dummy))
148 else if ((_DLL_RLD_SYM_TYPE*)dlsym(lp, _DLL_RLD_SYM_STR) == here)
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_tdb.c105 if ((tdb_init = (td_err_e (*)(void))dlsym(hdl, "td_init")) == NULL) {
131 * up using dlsym(). If we find it, add it to the ops vector. If not,
135 t->tdb_ops.td_ta_new = (td_err_e (*)())dlsym(hdl, "td_ta_new");
139 t->tdb_ops.td_ta_delete = (td_err_e (*)())dlsym(hdl, "td_ta_delete");
144 dlsym(hdl, "td_ta_thr_iter");
149 dlsym(hdl, "td_ta_map_id2thr");
154 dlsym(hdl, "td_ta_map_lwp2thr");
159 dlsym(hdl, "td_thr_get_info");
164 dlsym(hdl, "td_thr_getgregs");
169 dlsym(hd
[all...]
H A Dmdb_pservice.c312 dlsym(RTLD_NEXT, "ps_pread")) == NULL)
316 dlsym(RTLD_NEXT, "ps_pwrite")) == NULL)
320 dlsym(RTLD_NEXT, "ps_pglobal_lookup")) == NULL)
324 dlsym(RTLD_NEXT, "ps_pglobal_sym")) == NULL)
328 dlsym(RTLD_NEXT, "ps_pauxv")) == NULL)
332 dlsym(RTLD_NEXT, "ps_pbrandname")) == NULL)
336 dlsym(RTLD_NEXT, "ps_pdmodel")) == NULL)
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_libssl_setup.c123 d2i_X509_NAME_fn = (X509_NAME*(*)())dlsym(dldesc,
128 X509_NAME_print_ex_fp_fn = (int(*)())dlsym(dldesc,
133 ERR_get_error_fn = (char *(*)())dlsym(dldesc,
138 ERR_error_string_fn = (char *(*)())dlsym(dldesc,
143 SSL_load_error_strings_fn = (void(*)())dlsym(dldesc,
148 ERR_free_strings_fn = (void(*)())dlsym(dldesc,
153 CRYPTO_set_locking_callback_fn = (void(*)())dlsym(dldesc,
158 CRYPTO_set_id_callback_fn = (void(*)())dlsym(dldesc,
163 X509_NAME_free_fn = (void(*)())dlsym(dldesc,
193 CRYPTO_num_locks_fn = (int(*)())dlsym(dldes
[all...]
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_mt.c119 if ((f_void_ptr = (void (*)(void))dlsym(reslib,
123 if ((f_void_ptr = (void (*)(void))dlsym(reslib,
128 if ((override_retry = (int (*)(int))dlsym(reslib,
131 (struct __res_state *(*)(void))dlsym(reslib,
145 if ((get_h_errno = (int *(*)(void))dlsym(reslib,
152 (int *(*)(void))dlsym(reslib,
160 if ((enable_mt = (int (*)(void))dlsym(reslib,
162 (disable_mt = (int (*)(void))dlsym(reslib,
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpcsec_gss_if.c84 if ((calls.rpc_gss_seccreate = (AUTH *(*)()) dlsym(handle,
87 if ((calls.rpc_gss_set_defaults = (bool_t (*)()) dlsym(handle,
90 if ((calls.rpc_gss_get_principal_name = (bool_t (*)()) dlsym(handle,
93 if ((calls.rpc_gss_get_mechanisms = (char **(*)()) dlsym(handle,
96 if ((calls.rpc_gss_get_mech_info = (char **(*)()) dlsym(handle,
99 if ((calls.rpc_gss_get_versions = (bool_t (*)()) dlsym(handle,
102 if ((calls.rpc_gss_is_installed = (bool_t (*)()) dlsym(handle,
105 if ((calls.rpc_gss_set_svc_name = (bool_t (*)()) dlsym(handle,
108 if ((calls.rpc_gss_set_callback = (bool_t (*)()) dlsym(handle,
111 if ((calls.rpc_gss_getcred = (bool_t (*)()) dlsym(handl
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgetuid.c55 ((gptr = (uid_t (*)())dlsym(handle, KRB5_UID)) == NULL)) {
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_sim.c74 dscsi_mode_sense = (scsi_mode_sense_f)dlsym(hdl, "scsi_mode_sense");
94 dscsi_mode_sense_10 = (scsi_mode_sense_10_f)dlsym(hdl,
114 dscsi_mode_select = (scsi_mode_select_f)(dlsym(hdl,
135 dscsi_mode_select_10 = (scsi_mode_select_10_f)dlsym(hdl,
154 dscsi_log_sense = (scsi_log_sense_f)dlsym(hdl, "scsi_log_sense");
172 dscsi_request_sense = (scsi_request_sense_f)dlsym(hdl,
/illumos-gate/usr/src/cmd/sgs/libdl/common/
H A Dllib-ldl34 void * dlsym(void *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
/illumos-gate/usr/src/lib/libast/common/stdio/
H A D_stdfun.c70 if (bp && (vp->vec[1] = (Fun_f)dlsym(bp, vp->name)))
74 if (!(vp->vec[1] = (Fun_f)dlsym(np, vp->name)))
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc_proc.c99 * is to dlopen the needed shared objects and grab the symbols with dlsym.
101 * is not loaded and we return error. Otherwise it uses dlsym to
132 OIDptr = (gss_OID *)dlsym(dh, "GSS_C_NT_EXPORT_NAME");
138 g_import_name = (gss_fptr)dlsym(dh, "gss_import_name");
142 g_display_name = (gss_fptr)dlsym(dh, "gss_display_name");
146 g_release_name = (gss_fptr)dlsym(dh, "gss_release_name");
150 g_release_buffer = (gss_fptr)dlsym(dh, "gss_release_buffer");
154 g_release_oid = (gss_fptr)dlsym(dh, "gss_release_oid");
166 OIDptr = (gss_OID *)dlsym(dh, "__DH_GSS_C_NT_NETNAME");
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_fru.c211 dlsym(_topo_dlhandle, "topo_open");
213 dlsym(_topo_dlhandle, "topo_close");
215 dlsym(_topo_dlhandle, "topo_snap_hold");
217 dlsym(_topo_dlhandle, "topo_snap_release");
219 dlsym(_topo_dlhandle, "topo_walk_init");
221 dlsym(_topo_dlhandle, "topo_walk_step");
223 dlsym(_topo_dlhandle, "topo_walk_fini");
225 dlsym(_topo_dlhandle, "topo_hdl_strfree");
227 dlsym(_topo_dlhandle, "topo_node_name");
229 dlsym(_topo_dlhandl
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dwctomb.c95 p = (int (*)()) dlsym(handle, "_wctomb");
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcmd.h122 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
124 if (fun = (Shbltin_f)dlsym(dll, buf))
129 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
131 if (fun = (Shbltin_f)dlsym(dll, buf))
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_svm.c524 mdl_get_max_sets = (set_t (*)(md_error_t *))dlsym(lh, "get_max_sets");
526 mdl_mdclrerror = (void(*)(md_error_t *))dlsym(lh, "mdclrerror");
528 mdl_mdnullerror = (md_error_t *)dlsym(lh, "mdnullerror");
530 mdl_metaflushnames = (void (*)(int))dlsym(lh, "metaflushnames");
532 mdl_metaflushsetname = (void (*)(mdsetname_t *))dlsym(lh,
535 mdl_metafreenamelist = (void (*)(mdnamelist_t *))dlsym(lh,
538 mdl_metafreereplicalist = (void (*)(md_replicalist_t *))dlsym(lh,
542 md_error_t *))dlsym(lh, "metaget_drivedesc");
545 meta_device_type_t, md_error_t *))dlsym(lh, "metaname");
548 md_error_t *))dlsym(l
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/libpython/
H A Dlibpython.c399 dlsym(pydb_dlhdl, "pydb_agent_create");
401 dlsym(pydb_dlhdl, "pydb_agent_destroy");
403 dlsym(pydb_dlhdl, "pydb_get_frameinfo");
406 dlsym(pydb_dlhdl, "pydb_frame_iter_init");
408 dlsym(pydb_dlhdl, "pydb_interp_iter_init");
410 dlsym(pydb_dlhdl, "pydb_thread_iter_init");
411 pydb_iter_next = (pydb_iter_next_f)dlsym(pydb_dlhdl, "pydb_iter_next");
412 pydb_iter_fini = (pydb_iter_fini_f)dlsym(pydb_dlhdl, "pydb_iter_fini");
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwdresolve.c86 wdchknd = (int(*)(wchar_t))dlsym(modhandle, "_wdchkind_");
89 wdbdg = (int(*)(wchar_t, wchar_t, int))dlsym(modhandle,
94 dlsym(modhandle, "_wddelim_");
97 mcfllr = (wchar_t(*)(void))dlsym(modhandle, "_mcfiller_");
98 mcwrp = (int(*)(void))dlsym(modhandle, "_mcwrap_");
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_spool.c341 (cups_lang_t *(*)())dlsym(smb_cups.cups_hdl, "cupsLangDefault");
343 dlsym(smb_cups.cups_hdl, "cupsLangEncoding");
346 dlsym(smb_cups.cups_hdl, "cupsDoFileRequest");
348 dlsym(smb_cups.cups_hdl, "cupsLastError");
350 dlsym(smb_cups.cups_hdl, "cupsLangFree");
352 dlsym(smb_cups.cups_hdl, "cupsGetDests");
354 dlsym(smb_cups.cups_hdl, "cupsFreeDests");
357 dlsym(smb_cups.cups_hdl, "httpClose");
359 dlsym(smb_cups.cups_hdl, "httpConnect");
361 smb_cups.ippNew = (ipp_t *(*)())dlsym(smb_cup
[all...]
/illumos-gate/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c274 dlsym(plugintable[i].hdlPlugin, "Initialize");
320 dlsym(plugintable[i].hdlPlugin, "Terminate");
492 dlsym(plugintable[index].hdlPlugin, "MP_GetPluginPropertiesPlugin");
669 dlsym(plugintable[index].hdlPlugin,
743 dlsym(plugintable[index].hdlPlugin,
819 dlsym(plugintable[index].hdlPlugin, "MP_GetInitiatorPortOidListPlugin");
887 dlsym(plugintable[index].hdlPlugin,
965 dlsym(plugintable[index].hdlPlugin,
976 dlsym(plugintable[index].hdlPlugin,
1047 dlsym(plugintabl
[all...]
H A Dmpapi-sun.c61 dlsym(plugintable[index].hdlPlugin,
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dprobe_cntl.c194 * Use dlsym to test for the present of "thr_probe_getfunc_addr" .
197 test_func = (((int(*)())dlsym(RTLD_DEFAULT,
269 /* use dlsym to find the address of the "real" thr_create function */
272 dlsym(RTLD_NEXT, "thr_create");
301 /* use dlsym to find the address of the "real" pthread_create func */
304 dlsym(RTLD_NEXT, "pthread_create");
323 /* use dlsym to find the address of the "real" pthread_create func */
326 dlsym(RTLD_NEXT, "thr_exit");
379 /* use dlsym to find the address of the "real" pthread_create func */
382 dlsym(RTLD_NEX
[all...]
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Duadmin.c59 (scf_simple_prop_get_t)dlsym(scf_handle, "scf_simple_prop_get");
62 (scf_simple_prop_next_boolean_t)dlsym(scf_handle,
66 (scf_simple_prop_free_t)dlsym(scf_handle, "scf_simple_prop_free");
/illumos-gate/usr/src/lib/libima/common/
H A Dima-lib.c162 (IMA_GetNodePropertiesFn) dlsym(
224 (IMA_SetNodeNameFn) dlsym(plugintable[i].hPlugin,
261 (IMA_SetNodeAliasFn) dlsym(plugintable[i].hPlugin,
493 dlsym(
539 dlsym(plugintable[i].hPlugin,
561 dlsym(plugintable[i].hPlugin,
576 dlsym(plugintable[i].hPlugin, "Terminate");
846 dlsym(plugintable[i].hPlugin,
1107 dlsym(plugintable[i].hPlugin,
1196 dlsym(plugintabl
[all...]

Completed in 163 milliseconds

1234567