Lines Matching defs:share
57 * mount/unmount and share/unshare all datasets within pool:
89 * The share protocols table must be in the same order as the zfs_share_prot_t
681 * wrapper around sa_find_share to find a share path in the
693 * zfs_sa_enable_share(share, proto)
695 * Wrapper for sa_enable_share which enables a share for a specified
699 zfs_sa_enable_share(sa_share_t share, char *proto)
702 return (_sa_enable_share(share, proto));
707 * zfs_sa_disable_share(share, proto)
709 * Wrapper for sa_enable_share which disables a share for a specified
713 zfs_sa_disable_share(sa_share_t share, char *proto)
716 return (_sa_disable_share(share, proto));
742 * Return success if there are no share options.
754 dgettext(TEXT_DOMAIN, "cannot share '%s': %s"),
771 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mountpoint);
772 if (share == NULL) {
788 dgettext(TEXT_DOMAIN, "cannot share '%s'"),
793 share = zfs_sa_find_share(hdl->libzfs_sharehdl,
796 if (share != NULL) {
798 err = zfs_sa_enable_share(share,
803 dgettext(TEXT_DOMAIN, "cannot share '%s'"),
810 fprintf(stderr, "Unsupported share protocol: %d.\n",
824 dgettext(TEXT_DOMAIN, "cannot share '%s'"),
860 sa_share_t share;
878 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mntpt);
881 if (share != NULL) {
882 err = zfs_sa_disable_share(share, proto_table[proto].p_name);
1111 * Mount and share all datasets within the given pool. This assumes that no
1116 * and/or share each one.
1160 * Then share all the ones that need to be shared. This needs