Lines Matching refs:libshare
643 void *libshare; in _zfs_init_libshare() local
656 if ((libshare = dlopen(path, RTLD_LAZY | RTLD_GLOBAL)) != NULL) { in _zfs_init_libshare()
657 _sa_init = (sa_handle_t (*)(int))dlsym(libshare, "sa_init"); in _zfs_init_libshare()
658 _sa_init_arg = (sa_handle_t (*)(int, void *))dlsym(libshare, in _zfs_init_libshare()
660 _sa_fini = (void (*)(sa_handle_t))dlsym(libshare, "sa_fini"); in _zfs_init_libshare()
661 _sa_service = (int (*)(sa_handle_t))dlsym(libshare, in _zfs_init_libshare()
664 dlsym(libshare, "sa_find_share"); in _zfs_init_libshare()
665 _sa_enable_share = (int (*)(sa_share_t, char *))dlsym(libshare, in _zfs_init_libshare()
667 _sa_disable_share = (int (*)(sa_share_t, char *))dlsym(libshare, in _zfs_init_libshare()
669 _sa_errorstr = (char *(*)(int))dlsym(libshare, "sa_errorstr"); in _zfs_init_libshare()
671 dlsym(libshare, "sa_parse_legacy_options"); in _zfs_init_libshare()
673 dlsym(libshare, "sa_needs_refresh"); in _zfs_init_libshare()
675 dlsym(libshare, "sa_get_zfs_handle"); in _zfs_init_libshare()
677 zfs_handle_t *)) dlsym(libshare, "sa_get_zfs_share"); in _zfs_init_libshare()
679 dlsym(libshare, "sa_update_sharetab_ts"); in _zfs_init_libshare()
695 (void) dlclose(libshare); in _zfs_init_libshare()