Searched defs:dlhandle (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Ddh_common.c97 void *dlhandle; local
101 if ((dlhandle = dlopen(DHLIB, RTLD_NOW)) == NULL) {
107 dlsym(dlhandle, DH_MECH_SYM);
H A Ddh_template.c109 void *dlhandle = dlopen(0, RTLD_NOLOAD); local
110 if (dlhandle == 0) {
116 dlsym(dlhandle, NIS_SYMBOL);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_deffinder.c68 void *dlhandle; local
76 if ((dlhandle = dlopen(name, RTLD_LAZY)) != 0) {
78 if ((sym = dlsym(dlhandle, name)) == 0) {
79 (void) dlclose(dlhandle);
81 *delete_privp = dlhandle;
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_device.c214 dladm_handle_t dlhandle; local
249 if (dladm_open(&dlhandle) != DLADM_STATUS_OK) {
254 if (dladm_name2info(dlhandle, nic, &linkid, &flag, &class,
262 dladm_close(dlhandle);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Dmain.c53 dladm_handle_t dlhandle; variable
219 if ((status = dladm_open(&dlhandle)) != DLADM_STATUS_OK) {
/illumos-gate/usr/src/lib/libshare/common/
H A Dplugin.c91 void *dlhandle; local
124 if ((dlhandle = dlopen(path, RTLD_FIRST|RTLD_LAZY)) == NULL) {
132 dlsym(dlhandle, "sa_plugin_ops");
137 (void) dlclose(dlhandle);
144 (void) dlclose(dlhandle);
150 proto->plugin_handle = dlhandle;
/illumos-gate/usr/src/lib/libreparse/common/
H A Dfs_reparse_lib.c313 void *dlhandle; local
342 if ((dlhandle = dlopen(path, RTLD_FIRST|RTLD_LAZY)) == NULL)
346 dlsym(dlhandle, "rp_plugin_ops");
351 (void) dlclose(dlhandle);
357 (void) dlclose(dlhandle);
366 proto->plugin_handle = dlhandle;
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dzone.c145 void *dlhandle = dlopen("libzonecfg.so.1", RTLD_LAZY); local
148 if (dlhandle != NULL &&
149 (sym = dlsym(dlhandle, "zone_get_id")) == NULL) {
151 (void) dlclose(dlhandle);
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.h95 void *dlhandle; member in struct:module
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dplugins.c72 void *dlhandle; member in struct:plugin_file_handle
124 htmp->dlhandle = handle;
198 if (!err && !sym && (h->dlhandle != NULL)) {
201 sym = dlsym (h->dlhandle, csymname);
269 if (h->dlhandle != NULL) { dlclose(h->dlhandle); }
/illumos-gate/usr/src/lib/libproc/common/
H A DPzone.c198 void *dlhandle = dlopen("libzonecfg.so.1", RTLD_LAZY); local
200 if (dlhandle != NULL &&
201 (sym = dlsym(dlhandle, "zone_get_zonepath")) == NULL) {
203 (void) dlclose(dlhandle);
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_nswconfig.c771 void *dlhandle; local
780 dlhandle = handle;
781 if ((dlhandle = handle) == NULL) {
783 dlhandle = dlopen(name, RTLD_LAZY);
786 if (dlhandle != NULL) {
791 if ((sym = dlsym(dlhandle, name)) == 0) {
793 (void) dlclose(dlhandle);
795 *delete_privp = dlhandle;
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_impl.h113 void *dlhandle; member in struct:module
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c658 static void *dlhandle = NULL; variable
668 if (dlhandle != NULL) {
669 (void) dlclose(dlhandle);
670 dlhandle = NULL;
679 if ((dlhandle = dlopen(path, RTLD_LAZY)) != NULL) {
680 __wckind = (int (*)(wchar_t))dlsym(dlhandle, WCHKIND);
683 (void) dlclose(dlhandle);
684 dlhandle = NULL;
/illumos-gate/usr/src/cmd/fs.d/
H A Dpreenlib.c147 void *dlhandle; local
152 dlhandle = dlopen(modname, RTLD_LAZY);
153 if (dlhandle == NULL) {
158 fptr = (int (*)())dlsym(dlhandle, BUILD_NAME);
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm.c912 void *dlhandle = NULL; local
930 if ((dlhandle = dlopen(modpath, RTLD_LAZY)) != NULL) {
931 return (dlhandle);
949 rcm_module_close(void *dlhandle) argument
951 if (dlclose(dlhandle) == 0)
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm_impl.h244 void *dlhandle; member in struct:module
H A Ddevfsadm.c2121 (void) dlclose(module_head->dlhandle);
2193 void *dlhandle; local
2210 if ((dlhandle = dlopen(epath, RTLD_LAZY)) == NULL) {
2219 dlsym(dlhandle, _DEVFSADM_CREATE_REG))) {
2229 dlsym(dlhandle, _DEVFSADM_REMOVE_REG))) {
2241 module->dlhandle = dlhandle;
2244 module->minor_fini = (int (*)())dlsym(dlhandle, MINOR_FINI);
2245 module->minor_init = (int (*)())dlsym(dlhandle, MINOR_INIT);
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c1748 void *dlhandle = NULL; local
1777 dlhandle = dlopen(lib, RTLD_LAZY);
1778 if (dlhandle != NULL) {
1793 dlhandle = dlopen(lib, RTLD_LAZY);
1794 if (dlhandle != NULL) {
1808 dlhandle = dlopen(lib, RTLD_LAZY);
1809 if (dlhandle != NULL) {
1823 dlhandle = dlopen(lib, RTLD_LAZY);
1824 if (dlhandle != NULL) {
1836 (void) dlclose(dlhandle);
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c1520 void *dlhandle; local
1524 if ((dlhandle = dlopen("libzonecfg.so.1", RTLD_LAZY)) == NULL)
1527 if ((sym = dlsym(dlhandle, "zone_get_devroot")) == NULL) {
1528 (void) dlclose(dlhandle);
1536 (void) dlclose(dlhandle);

Completed in 122 milliseconds