Lines Matching refs:lh
518 void *lh;
520 if ((lh = dlopen("/usr/lib/libmeta.so", RTLD_NOW)) == NULL) {
524 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(lh, "metareplicalist");
550 mdl_metasetnosetname = (mdsetname_t *(*)(set_t, md_error_t *))dlsym(lh,
554 int, md_error_t *))dlsym(lh, "meta_get_hotspare_names");
557 md_error_t *))dlsym(lh, "meta_get_raid");
560 int, md_error_t *))dlsym(lh, "meta_get_raid_names");
563 md_error_t *))dlsym(lh, "meta_get_sp");
566 int, md_error_t *))dlsym(lh, "meta_get_sp_names");
569 md_error_t *))dlsym(lh, "meta_get_stripe");
572 int, md_error_t *))dlsym(lh, "meta_get_stripe_names");
575 int, md_error_t *))dlsym(lh, "meta_get_trans_names");
577 mdl_meta_invalidate_name = (void (*)(mdname_t *))dlsym(lh,
580 mdl_sdssc_bind_library = (void (*)())dlsym(lh, "sdssc_bind_library");