Lines Matching refs:dl_handle
69 void *dl_handle; /* can be NULL if not loaded */ member
481 if (mp->dl_handle != NULL) { in fstyp_load_module()
485 if ((mp->dl_handle = dlopen(mp->pathname, RTLD_LAZY)) == NULL) { in fstyp_load_module()
490 dlsym(mp->dl_handle, "fstyp_mod_init"); in fstyp_load_module()
492 dlsym(mp->dl_handle, "fstyp_mod_fini"); in fstyp_load_module()
494 dlsym(mp->dl_handle, "fstyp_mod_ident"); in fstyp_load_module()
496 dlsym(mp->dl_handle, "fstyp_mod_get_attr"); in fstyp_load_module()
498 dlsym(mp->dl_handle, "fstyp_mod_dump"); in fstyp_load_module()
525 if (mp->dl_handle != NULL) { in fstyp_unload_module()
526 (void) dlclose(mp->dl_handle); in fstyp_unload_module()
527 mp->dl_handle = NULL; in fstyp_unload_module()