/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
H A D | dh_common.c | 97 void *dlhandle; local 101 if ((dlhandle = dlopen(DHLIB, RTLD_NOW)) == NULL) { 107 dlsym(dlhandle, DH_MECH_SYM);
|
H A D | dh_template.c | 109 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 D | nss_deffinder.c | 68 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 D | ldma_device.c | 214 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 D | main.c | 53 dladm_handle_t dlhandle; variable 219 if ((status = dladm_open(&dlhandle)) != DLADM_STATUS_OK) {
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | plugin.c | 91 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 D | fs_reparse_lib.c | 313 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 D | zone.c | 145 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 D | syseventd.h | 95 void *dlhandle; member in struct:module
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | plugins.c | 72 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 D | Pzone.c | 198 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 D | nscd_nswconfig.c | 771 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 D | rcm_impl.h | 113 void *dlhandle; member in struct:module
|
/illumos-gate/usr/src/cmd/fmt/ |
H A D | fmt.c | 658 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 D | preenlib.c | 147 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 D | librcm.c | 912 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 D | devfsadm_impl.h | 244 void *dlhandle; member in struct:module
|
H A D | devfsadm.c | 2121 (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 D | config_admin.c | 1748 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 D | linkprop.c | 1520 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);
|